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: Let PdfMerger._create_stream raise NotImplemented if arg is none of str/Path/stream/PdfReader #1251

Merged
merged 4 commits into from Aug 20, 2022

Conversation

MartinThoma
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@52463ea). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1251   +/-   ##
=======================================
  Coverage        ?   94.75%           
=======================================
  Files           ?       30           
  Lines           ?     4973           
  Branches        ?     1023           
=======================================
  Hits            ?     4712           
  Misses          ?      147           
  Partials        ?      114           
Impacted Files Coverage Δ
PyPDF2/_merger.py 95.66% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MartinThoma MartinThoma changed the title TST: PdfMerger.merge with BytesIO MAINT: Let PdfMerger._create_stream raise NotImplemented if arg is none of str/Path/stream/PdfReader Aug 19, 2022
@MartinThoma MartinThoma merged commit 0983fe4 into main Aug 20, 2022
@MartinThoma MartinThoma deleted the tst-merger-bytestream branch August 20, 2022 17:16
MartinThoma added a commit that referenced this pull request Aug 21, 2022
Robustness (ROB):
-  Decrypt returns empty bytestring (#1258)

Documentation (DOC):
-  Adding WevertonGomes as a Contributor

Developer Experience (DEV):
-  Modify CI to better verify built package contents (#1244)

Maintenance (MAINT):
-  Remove unused sign function in _extract_text (#1262)
-  Remove \'mine\' as PdfMerger always creates the stream (#1261)
-  Let PdfMerger._create_stream raise NotImplemented (#1251)
-  password param of _security._alg32(...) is only a string, not bytes (#1259)
-  Remove unreachable code in read_block_backwards (#1250)

Testing (TST):
-  Delete annotations (#1263)
-  Close PdfMerger in tests (#1260)
-  PdfReader.xmp_metadata workflow (#1257)
-  Various PdfWriter (Layout, Bookmark deprecation) (#1249)

Full Changelog: 2.10.2...2.10.3
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.

None yet

1 participant