Skip to content

Commit 7bb3232

Browse files
committed
v0.1.9: PdfMerger deprecation fix
1 parent 323d5a9 commit 7bb3232

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ cache:
1111
- master
1212

1313
before_install:
14-
if ! [ -f ./src/GRCh37.tar.gz ]; then
15-
wget ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz -P ./src/;
16-
fi
14+
- pip install --upgrade pip setuptools packaging
15+
- if ! [ -f ./src/GRCh37.tar.gz ]; then wget ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz -P ./src/; fi
1716

1817
install:
1918
- pip install .[tests]

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [0.1.9] - 2024-11-12
10+
11+
### Changed
12+
- Replaced `PdfMerger` with `PdfWriter` due to deprecation in `pypdf >= 5.0.0`.
13+
14+
### Fixed
15+
- Addressed deprecation issues with `PdfMerger`, ensuring compatibility with recent `pypdf` versions.
16+
917
## [0.1.8] - 2024-08-20
1018

1119
### Added

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if os.path.exists("dist"):
77
shutil.rmtree("dist")
88

9-
VERSION = "0.1.8"
9+
VERSION = "0.1.9"
1010

1111

1212
def write_version_py(filename="SigProfilerAssignment/version.py"):
@@ -15,7 +15,7 @@ def write_version_py(filename="SigProfilerAssignment/version.py"):
1515
# THIS FILE IS GENERATED FROM SigProfilerAssignment SETUP.PY
1616
short_version = '%(version)s'
1717
version = '%(version)s'
18-
Update = 'v0.1.8: Add Dockerfile and remove uncessary dependencies'
18+
Update = 'v0.1.9: Replace PdfMerger with PdfReader and PdfWriter for pypdf 5.0.0'
1919
2020
2121
"""

0 commit comments

Comments
 (0)