-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
extra depdency not included in lock file if platform being set #9467
Labels
Comments
trim21
added
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
labels
Jun 3, 2024
probably another variation on #5506 |
after reading the code of poetry, a possible solution would be swapping these 2 dict: uvicorn = [
{ version = "^0.30.0", platform = 'win32' },
{ version = "^0.30.0", platform = 'linux', extras = ['standard'] },
] |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Description
uvicorn has a depdency:
If I config poetry with this:
then uvloop disappear in lockfile:
it generate correct lock file with
uvicorn = { version = "^0.30.0", platform = 'linux', extras = ['standard'] }
, but I need uvicorn for developing on windows.Workarounds
add uvloop manully
Poetry Installation Method
pipx
Operating System
win32
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
doesn't matter
Python Sysconfig
Example pyproject.toml
No response
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: