Skip to content

Comments

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

Merged
radoering merged 2 commits intopython-poetry:mainfrom
dimbleby:fix-9636
Sep 29, 2024
Merged

fix: lock all extra markers in dependencies if package is required by multiple extras#9700
radoering merged 2 commits intopython-poetry:mainfrom
dimbleby:fix-9636

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
@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
@github-actions
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