Skip to content

Hashes#466

Merged
radoering merged 3 commits intopython-poetry:mainfrom
dimbleby:hashes
Sep 6, 2022
Merged

Hashes#466
radoering merged 3 commits intopython-poetry:mainfrom
dimbleby:hashes

Conversation

@dimbleby
Copy link
Copy Markdown
Contributor

@dimbleby dimbleby commented Sep 6, 2022

Fixes python-poetry/poetry#6423 and presumably also python-poetry/poetry-plugin-export#112

I also tidied up a couple of things that I encountered on the way

  • implementation of union and multi marker hashes, which I intended to copy, was surprisingly bogus
  • equality for the multiconstraint was more complex than it needs to be / disturbingly different from the unionconstraint

Accumulating bits for every marker in a multi or union marker is not
sensible, xor rather than or was surely intended
Now essentially the same implementation as on the union constraint
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Sep 6, 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
No Duplication information No Duplication information

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.

Dependency add bug: unhashable type: UnionConstraint

2 participants