Commit graph

3 commits

Author SHA1 Message Date
Ernad Husremovic
f0ee375081 vanilla 16.0 2025-10-16 16:41:06 +02:00
Ernad Husremovic
33b8eb73c9 Fix PyPDF2 3.0+ compatibility issues in snailmail
Add compatibility wrapper classes for PdfFileWriter/PdfFileReader
to support both PyPDF2 2.x and 3.x versions.

Changes:
- Add PyPDF2 compatibility classes in snailmail/models/snailmail_letter.py
- Create comprehensive documentation in doc/PATCH_PDFWRITER.md
- Support for addPage, appendPagesFromReader, and getPage methods

Resolves PyPDF2.errors.DeprecationError: PdfFileWriter is deprecated
and was removed in PyPDF2 3.0.0.

🤖 assisted by claude
2025-09-02 18:54:39 +02:00
Ernad Husremovic
12c29a983b Initial commit: Core packages 2025-08-29 15:20:45 +02:00