Get scalar-fastapi package from PyPI instead of GitHub
#107
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, in
pyproject.toml, we were telling uv we wanted it 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 not keeping their PyPI project up to date. Now that they are keeping it up to date, we can get new versions of the package from there instead.
That's the change I made on this branch.
I tested the result by visiting
/scalarlocally and confirming the Scalar API docs still appear.