mirror of
https://github.com/hansjone/netx.git
synced 2026-10-08 23:33:21 +08:00
fix: declare httpx dependency for netx API
ap_client uses httpx; missing from requirements caused ModuleNotFoundError when using -SkipInstall. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0e0d6141e0
commit
45463027df
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
fastapi>=0.115.0
|
fastapi>=0.115.0
|
||||||
uvicorn>=0.30.0
|
uvicorn>=0.30.0
|
||||||
|
httpx>=0.27.0
|
||||||
sqlalchemy>=2.0.0
|
sqlalchemy>=2.0.0
|
||||||
psycopg[binary]>=3.2.0
|
psycopg[binary]>=3.2.0
|
||||||
pandas>=2.0.0
|
pandas>=2.0.0
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ if (-not $SkipInstall) {
|
||||||
Write-Host "==> Installing dependencies"
|
Write-Host "==> Installing dependencies"
|
||||||
& $pythonExe -m pip install -r (Join-Path $projectRoot "requirements.txt")
|
& $pythonExe -m pip install -r (Join-Path $projectRoot "requirements.txt")
|
||||||
} else {
|
} else {
|
||||||
Write-Host "==> Skip dependency install"
|
Write-Host "==> Skip dependency install (if API fails with ModuleNotFoundError, run once without -SkipInstall)"
|
||||||
}
|
}
|
||||||
|
|
||||||
$env:NETX_HOST = $BindHost
|
$env:NETX_HOST = $BindHost
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue