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

Support most of the guaranteed hashes #207

Merged
merged 2 commits into from
Sep 20, 2021

Conversation

awilkins
Copy link

Works toward resolution of python-poetry/poetry#4523
Also needs client changes

  • Added tests for changed code
  • Added documentation for changed code

Documentation is at least equivalent to the existing stuff.

  • Implement most of the "guaranteed" hashes as per PEP 503
  • Leave out shake, because they're variable length
    • Feel it's unlikely anyone's repo manager is using these

No offence to @hydra-zim who has produced pretty much the same PR @ #206 : this one has tests, and also targets the current mainline release branch instead of the future. The future is great, I would prefer this was fixed sooner.

Works toward resolution of python-poetry/poetry#4523

- [X] Added tests for changed code
- [X] Added documentation for changed code

Documentation is at least equivalent to the existing stuff.

- Implement most of the "guaranteed" hashes as per PEP 503
- Leave out shake, because they're variable length
  - Feel it's unlikely anyone's repo manager is using these
@qbedard
Copy link

qbedard commented Sep 20, 2021

@sdispater python-poetry/poetry#4523 introduces some pretty critical breakage for anyone using private package repositories, and in a situation where version pins are not common (pinning a subdependency of a build tool). Do you or another maintainer have the bandwidth to review this and aim for a 1.0.6 release ASAP?

@sdispater
Copy link
Member

@awilkins Thanks for the PR!

You will need to fix the linting issues before I can merge this.

Also, it seems that some of the hash types are not available on Python 2.7 and 3.5.

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