In pyproject.toml, we currently tell uv to get the scalar-fastapi package from GitHub.
|
# Note: We use `scalar-fastapi` to integrate Scalar API documentation with FastAPI. |
|
# Note: We use a Git URL to install the `scalar-fastapi` package, because the Scalar |
|
# maintainers have not published recent versions of the package to PyPI yet. |
|
# Reference: https://github.com/scalar/scalar/issues/5337#issuecomment-2781011096 |
|
"scalar-fastapi @ git+https://github.com/scalar/scalar/#subdirectory=integrations/fastapi", |
We did that at a time when the Scalar maintainers were behind on updating the version of the package hosted on PyPI. Since then, the Scalar maintainers have begun keeping the version of the package hosted on PyPI up to date. This ticket represents the task of updating our pyproject.toml file to tell uv to download the package from PyPI (as shown below).
# Note: We use `scalar-fastapi` to integrate Scalar API documentation with FastAPI.
- # Note: We use a Git URL to install the `scalar-fastapi` package, because the Scalar
- # maintainers have not published recent versions of the package to PyPI yet.
- # Reference: https://github.com/scalar/scalar/issues/5337#issuecomment-2781011096
- "scalar-fastapi @ git+https://github.com/scalar/scalar/#subdirectory=integrations/fastapi",
+ "scalar-fastapi >= 1.4.0",
In
pyproject.toml, we currently tell uv to get thescalar-fastapipackage from GitHub.bertron/pyproject.toml
Lines 48 to 52 in 2c7eb87
We did that at a time when the Scalar maintainers were behind on updating the version of the package hosted on PyPI. Since then, the Scalar maintainers have begun keeping the version of the package hosted on PyPI up to date. This ticket represents the task of updating our
pyproject.tomlfile to tell uv to download the package from PyPI (as shown below).