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

recalculate python markers on dependency more often #284

Merged

Conversation

dimbleby
Copy link
Contributor

@dimbleby dimbleby commented Feb 5, 2022

Updating a marker in a way that removes python version constraints fails to remove the python version constraint

Not for merging, until there's a fix! This is a demonstration of "bug 2" per python-poetry/poetry#5154

@dimbleby dimbleby force-pushed the test-for-bad-python-version branch 2 times, most recently from f3596c5 to 9ac4ebe Compare February 5, 2022 18:15
@dimbleby dimbleby changed the title Testcase demonstrating bug recalculate python markers on dependency more often Feb 5, 2022
@dimbleby
Copy link
Contributor Author

dimbleby commented Feb 5, 2022

now including a proposed fix

radoering
radoering previously approved these changes Feb 6, 2022
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.

Looks good to me. I wonder if it may break some code that exploited the current behavior (as in the case of the pretty_constraint fix). Nevertheless, seems to be correct anyway and since all tests are passing, I think it could be merged.

@dimbleby dimbleby mentioned this pull request Feb 9, 2022
Updating a marker in a way that removes python version constraints fails
to remove the python version constraint
@dimbleby
Copy link
Contributor Author

(rebased to resolve conflicts after other MRs were merged)

@sonarcloud
Copy link

sonarcloud bot commented Feb 26, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.4% 0.4% Duplication

@neersighted neersighted merged commit db3865a into python-poetry:master Feb 28, 2022
@dimbleby dimbleby deleted the test-for-bad-python-version branch February 28, 2022 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants