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

special case union of single marker with inverse #255

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

dimbleby
Copy link
Contributor

To avoid ending up with constraints like:

bar==7.8.9; platform_system != 'Windows' or platform_system == 'Windows'

Resolves: python-poetry#

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

Per comment at python-poetry/poetry#4824 (comment).

I have verified that this has the desired effect in the testcase added at python-poetry/poetry#4686

@dimbleby
Copy link
Contributor Author

Is "Poetry Downstream Tests" new? The first failure I think is a consequence of af08f1c; and the second failure is of course the point of this fix.

@neersighted
Copy link
Member

The Downstream tests are not new per-se. I think what we should do is 1. PR a fix for the _pretty_constraint fix, and 2. merge the exporter plugin, then merge this fix (making any needed changes to the plugin tests after).

To avoid ending up with constraints like:

bar==7.8.9; platform_system != 'Windows' or platform_system == 'Windows'
@sonarcloud
Copy link

sonarcloud bot commented Nov 30, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jan 25, 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 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants