Skip to content

Comments

markers: improve recognition of empty marker in a complex intersections#529

Closed
radoering wants to merge 1 commit intopython-poetry:mainfrom
radoering:complex-empty-intersection-alternative
Closed

markers: improve recognition of empty marker in a complex intersections#529
radoering wants to merge 1 commit intopython-poetry:mainfrom
radoering:complex-empty-intersection-alternative

Conversation

@radoering
Copy link
Member

Resolves: python-poetry/poetry-plugin-export#163
Closes: #528

Alternative approach to #528. Includes some minor cleanup to make MultiMarker.of and MarkerUnion.of more symmetrical (as far as that is possible). The relevant change is the handling of MultiMarker in _of_marker_union_and_single_marker.

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

@sonarqubecloud
Copy link

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.7% 0.7% Duplication

@dimbleby
Copy link
Contributor

I added a testcase for an even-more-complex intersection in my MR #528, I leave it with you to consider whether you want to continue down this path to try and make that one work too

@radoering
Copy link
Member Author

Probably not worth it since DNF is a more general approach.

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.

Duplicated entries in poetry.lock that cause export to requirements.txt to fail

2 participants