Skip to content

Update poetry url to new location#485

Closed
rliessum wants to merge 2 commits intofastapi:masterfrom
rliessum:update_poetry_url
Closed

Update poetry url to new location#485
rliessum wants to merge 2 commits intofastapi:masterfrom
rliessum:update_poetry_url

Conversation

@rliessum
Copy link

@rliessum rliessum commented Oct 27, 2022

This PR updates the poetry installer URL for the backend & celery container.
It's currently using a poetry installer URL that is deprecated, and scheduled for removal from the Poetry repository on or after January 1, 2023.

See python-poetry/poetry#6377 for details.

Copy link
Contributor

@PhilippWu PhilippWu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed problem for me

@rcholic
Copy link

rcholic commented Dec 12, 2022

this fix works for me. Thank you

@bennett39
Copy link

Confirmed this works & is needed. @tiangolo this seems like a pretty easy PR to merge?

@adimircolen
Copy link

fix works for me. too

@zdrummond
Copy link

Does not work for me. I get 36.40 Installing Poetry (1.6.1): An error occurred. Removing partial environment.

@fsalum
Copy link

fsalum commented Aug 28, 2023

Looks like no poetry compatible with python 3.7 that is the current image being used in the dockerfile

# cat /app/poetry-installer-error-si3r91q0.log
ERROR: Ignored the following versions that require a different python version: 1.6.0 Requires-Python >=3.8,<4.0; 1.6.1 Requires-Python >=3.8,<4.0
ERROR: Could not find a version that satisfies the requirement poetry==1.6.1 (from versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.0.post1, 0.4.1, 0.4.2, 0.5.0b1, 0.5.0b2, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3b1, 0.6.3b2, 0.6.3b3, 0.6.3b4, 0.6.3b5, 0.6.3b6, 0.6.3b7, 0.6.3, 0.6.4b1, 0.6.4, 0.6.5, 0.7.0b1, 0.7.0b2, 0.7.0b3, 0.7.0b4, 0.7.0, 0.7.1, 0.8.0a0, 0.8.0a1, 0.8.0a2, 0.8.0a3, 0.8.0a4, 0.8.0, 0.8.1a0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5a0, 0.8.5, 0.8.6, 0.9.0a0, 0.9.0a1, 0.9.0a2, 0.9.0a3, 0.9.0, 0.9.1, 0.10.0a0, 0.10.0a1, 0.10.0a2, 0.10.0a3, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.11.0a0, 0.11.0a1, 0.11.0a2, 0.11.0a3, 0.11.0a4, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.12.0a0, 0.12.0a1, 0.12.0a2, 0.12.0a3, 0.12.0a4, 0.12.0a5, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5, 0.12.6, 0.12.7, 0.12.8, 0.12.9, 0.12.10, 0.12.11, 0.12.12, 0.12.13, 0.12.14, 0.12.15, 0.12.16, 0.12.17, 1.0.0a0, 1.0.0a1, 1.0.0a2, 1.0.0a3, 1.0.0a4, 1.0.0a5, 1.0.0b1, 1.0.0b2, 1.0.0b3, 1.0.0b4, 1.0.0b5, 1.0.0b6, 1.0.0b7, 1.0.0b8, 1.0.0b9, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.1.0a1, 1.1.0a2, 1.1.0a3, 1.1.0b1, 1.1.0b2, 1.1.0b3, 1.1.0b4, 1.1.0rc1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10, 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.2.0a1, 1.2.0a2, 1.2.0b1, 1.2.0b2, 1.2.0b3, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1)
ERROR: No matching distribution found for poetry==1.6.1

Updating to this fixed it:

FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11

@mldurga
Copy link

mldurga commented Sep 22, 2023

yes updating to 3.11 fixed the error

@tiangolo
Copy link
Member

Thanks! This was solved in #480 🎉

Given that, I'll close this one, but thanks for the effort! ☕

@tiangolo tiangolo closed this Nov 14, 2023
@rliessum rliessum deleted the update_poetry_url branch November 15, 2023 17:05
alejsdev pushed a commit that referenced this pull request Dec 19, 2024
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.