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

fix: lock all extra markers in dependencies if package is required by multiple extras #9700

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

dimbleby
Copy link
Contributor

fixes #9636

could do with a testcase really but I doubt that I will have the energy for it. Maybe you will consider this "obviously correct" and low enough risk to merge anyway, maybe it will have to wait for someone who is more motivated to write that testcase

either way I figured this was more useful as a pull request than not

Copy link
Member

@radoering radoering left a comment

Choose a reason for hiding this comment

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

We should add a test for that. In case you do not want to write one, I will take a look next week.

@dimbleby
Copy link
Contributor Author

I have been sitting on this for ages without writing a testcase, apologies for leaving the job half done but I think it is unlikely to happen

@radoering radoering changed the title fix #9636 fix: lock all extra markers in dependencies if package is required by multiple extras Sep 29, 2024
@radoering radoering merged commit cfe41d6 into python-poetry:main Sep 29, 2024
75 checks passed
@dimbleby dimbleby deleted the fix-9636 branch September 29, 2024 15:27
Secrus pushed a commit to Secrus/poetry that referenced this pull request Oct 27, 2024
… multiple extras (python-poetry#9700)

Co-authored-by: Randy Döring <30527984+radoering@users.noreply.github.com>
Copy link

This pull request 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 Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poetry does not install a non-optional package from lock file
2 participants