Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand api version constraint to 1.xx #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ilyanekhay-uta
Copy link

Hi folks!

I tried using serverless-pypi 0.0.6 yesterday and discovered it doesn't support the current PyPI as an upstream since it's now returning api-version="1.3" instead of "1.0" as expected by the current code.

I just tested expanding the constraint to "1.xx" via a regex as can be seen in this PR, and that seems to be working correctly.

While testing, I had also discovered that new versions of Pydantic and FastAPI are incompatible with serverless-pypi=0.0.6, so I added some version constraints that seem to be the least restrictive while getting the code to work:

I'd really appreciate y'all merging this and publishing a new version, and thanks a lot for this useful project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant