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

Ignore dependency if not needed #1789

Merged
merged 1 commit into from
Dec 26, 2019

Conversation

frostming
Copy link
Contributor

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

  • Added tests for changed code.
  • Updated documentation for changed code.

Closes #1782
This bug affects the basic dev flow and bites me often. When a dependency is marked as required on older Python versions, it should be ignored if the parent constraint has no overlap with it.

@frostming
Copy link
Contributor Author

As a quick view of the bug, you can undo the changes and rerun the newly added case.

Copy link
Member

@sdispater sdispater left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@sdispater sdispater merged commit 9d749a4 into python-poetry:master Dec 26, 2019
@sdispater
Copy link
Member

Thanks!

@frostming frostming deleted the bugfix/1782 branch December 27, 2019 00:58
shenek pushed a commit to shenek/poetry that referenced this pull request Dec 31, 2019
Copy link

github-actions bot commented Mar 1, 2024

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 Mar 1, 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.

Could not parse version constraint: <empty>
2 participants