-
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
Poetry export platform markers broken on Linux in >=1.1.12
#6134
Comments
I'm also affected, if I run:
If I have this in the
I will have in the
But sometimes the 2 lines int the |
As I understand it there's no plan for any more 1.1 releases, so if this is all working fine at 1.2 then there's nothing to do here. |
I have the same issue. If you find any hack around this I would be interested |
The 1.2 release is imminent, you just have to wait for that - or use poetry 1.2.0rc1. (And this issue should be closed) |
Awesome thank you! |
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. |
-vvv
option).python:3.10-slim
docker image)1.1.14
Issue
When using
poetry export
in Poetry1.1.12
and above on Linux platform markers are not properly added. Not quite sure why, but I'm guessing it's related to this commit/PR.This does not seem to be an issue on macOS or Windows, only Linux. Testet primarily with the
python3.10-slim
image, but the same issue was present on the-alpine
image.The issue is not present in the Poetry
1.2.0b3
beta. Feel free to close this issue if you think having the fix in the new version is enough, but if possible, a backport fix to the1.1.x
branch would be great if the release of1.2.0
is a ways away.Encountered this issue when having
azure-identity
as a dependency, aspywin32
is a subdependency.Heres a few examples of
pywin32
related output frompoetry export
:macOS
12.5
, Python3.10.5
Poetry1.1.14
:Debian
11.4
, Python3.10.6
, Poetry1.1.14
:Debian
11.4
, Python3.10.6
, Poetry1.1.12
:Debian
11.4
, Python3.10.6
, Poetry1.1.11
:Debian
11.4
, Python3.10.6
, Poetry1.2.0b3
:Full export outputs and generated lockfiles can be seen here: https://github.com/ingvaldlorentzen/poetry-pywin-bug
When attempting an install with the generated
requirements.txt
file on a non-Windows platform it will fail for the versions where the output is simplypywin32=304
aspip
will attempt to install a package not compatible with non-Windows platforms.The text was updated successfully, but these errors were encountered: