Skip to content

Expand api version constraint to 1.xx#5

Open
ilyanekhay-uta wants to merge 3 commits into
QuiNovas:mainfrom
ilyanekhay-uta:expand-api-version
Open

Expand api version constraint to 1.xx#5
ilyanekhay-uta wants to merge 3 commits into
QuiNovas:mainfrom
ilyanekhay-uta:expand-api-version

Conversation

@ilyanekhay-uta
Copy link
Copy Markdown

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