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

Upgrading Python to version 3.12 #184

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

amendelzon
Copy link
Collaborator

  • Updated docker images to use a Debian Bookworm based Python 3.12 base image
  • Updated hidapi repository reference to a version compatible with the latest Cython
  • Updated Python libraries
  • Unified dependencies in requirements.txt (except for hidapi, which is manually installed)
  • Added one-round keccak256 wrapper that uses pycryptodome, and corresponding unit tests
  • Replaced uses of pysha3 with new keccak256 wrapper
  • Removed pysha3 from Python libraries
  • Fixed existing unit tests
  • Replaced TCPSigner use of deprecated secp256k1_ec_privkey_tweak_add with the newer secp256k1_ec_seckey_tweak_add
  • Fixed new Python linting findings
  • Updated integration tests tag

- Updated docker images to use a Debian Bookworm based Python 3.12 base image
- Updated hidapi repository reference to a version compatible with the later Cython
- Updated Python libraries
- Unified dependencies in requirements.txt (except for hidapi)
- Added one-round keccak256 wrapper that uses pycryptodome, and corresponding unit tests
- Replaced uses of pysha3 with new keccak256 wrapper
- Removed pysha3 from Python libraries
- Fixed existing unit tests
- Replaced TCPSigner use of deprecated secp256k1_ec_privkey_tweak_add with the newer secp256k1_ec_seckey_tweak_add
- Fixed new Python linting findings
- Updated integration tests tag
@amendelzon amendelzon requested a review from italo-sampaio June 27, 2024 14:28
Copy link
Collaborator

@italo-sampaio italo-sampaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, looks good!

@amendelzon amendelzon merged commit 3d93933 into master Jun 27, 2024
6 checks passed
@amendelzon amendelzon deleted the improvement/upgrade-python branch June 27, 2024 15:26
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.

2 participants