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

Incorrect requirements.txt formatting in poetry export #4575

Closed
alexifm opened this issue Sep 30, 2021 · 3 comments · Fixed by #4733
Closed

Incorrect requirements.txt formatting in poetry export #4575

alexifm opened this issue Sep 30, 2021 · 3 comments · Fixed by #4733
Labels
kind/bug Something isn't working as expected

Comments

@alexifm
Copy link

alexifm commented Sep 30, 2021

The requirements.txt format needs to put a space in front of the semicolon that specifies the package and the pyversion and platform constraints. Right now, without the space, the semicolon will be interpreted as part of a URL. See this issue in packaging:
pypa/packaging#456

@alexifm alexifm added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 30, 2021
@pmav99
Copy link
Contributor

pmav99 commented Sep 30, 2021

@alexifm which poetry version do you use? In poetry 1.2 this will probably need to get fixed in https://github.com/python-poetry/poetry-export-plugin

I will open a ticket there.

@alexifm
Copy link
Author

alexifm commented Sep 30, 2021

─❯ poetry -V
Poetry version 1.1.10

neersighted pushed a commit to python-poetry/poetry-plugin-export that referenced this issue Nov 14, 2021
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
3 participants