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

MAINT: Deal with cryptography>=43 moving ARC4 #2765

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

MartinThoma
Copy link
Member

See #2764 - ci failed due to

cryptography.utils.CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from this module in 48.0.0.

@MartinThoma MartinThoma mentioned this pull request Jul 21, 2024
@stefan6419846 stefan6419846 merged commit 926fa7f into main Jul 21, 2024
14 checks passed
@stefan6419846 stefan6419846 deleted the cryptography-upgrade branch July 21, 2024 13:40
stefan6419846 pushed a commit that referenced this pull request Jul 21, 2024
## What's new

### Bug Fixes (BUG)
- Cope with Matrix entry in field annotations (#2736) by @pubpub-zz

### Robustness (ROB)
- Cope with fields with upside down box/rectangle (#2729) by @pubpub-zz

### Documentation (DOC)
- Update Link Documentation Example (#2759) by @jparris
- Make table consistent with pdf-version-support.md (#2758) by @j-t-1
- Add feature support by pypdf (#2738) by @j-t-1
- Move JavaScript example (#2746) by @j-t-1
- Added example for downloading a PDF from Google Cloud Storage  (#2745) by @prodeveloper
- Miscellaneous tiny changes (#2744) by @j-t-1
- Amend comment with rectangle duplication (#2733) by @j-t-1
- Use enumerate in extract example (#2727) by @j-t-1
- Tiny changes (#2723) by @j-t-1

### Maintenance (MAINT)
- Remove redundant pass statement (#2739) by @j-t-1
- Update Python version support documentation (#2740) by @j-t-1
- Remove redundant super() (#2734) by @j-t-1
- Add deprecate_with_replacement to StreamObject.initializeFromDictionary (#2728) by @j-t-1
- Deal with cryptography>=43 moving ARC4 (#2765) by @MartinThoma

### Code Style (STY)
- Change argument type (#2741) by @j-t-1
- Use endswith instead of logical equals (#2732) by @j-t-1

[Full Changelog](4.3.0...4.3.1)
Copy link

codecov bot commented Oct 19, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.12%. Comparing base (4a41c53) to head (fda4e80).
Report is 77 commits behind head on main.

Files with missing lines Patch % Lines
pypdf/_crypt_providers/_cryptography.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2765      +/-   ##
==========================================
- Coverage   95.14%   95.12%   -0.03%     
==========================================
  Files          51       51              
  Lines        8551     8555       +4     
  Branches     1706     1706              
==========================================
+ Hits         8136     8138       +2     
- Misses        261      263       +2     
  Partials      154      154              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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