Skip to content

Commit 01a48fc

Browse files
⬆️ upgrade support for python 3.12 (#196)
1 parent 6737620 commit 01a48fc

File tree

7 files changed

+11
-39
lines changed

7 files changed

+11
-39
lines changed

.github/workflows/test-code-samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
python-version:
1919
- "3.7"
20-
- "3.11"
20+
- "3.12"
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v3

.github/workflows/test-regression.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ jobs:
2424
- "windows-latest"
2525
python-version:
2626
- "3.7"
27-
- "3.8"
28-
- "3.9"
29-
- "3.10"
30-
- "3.11"
27+
- "3.12"
3128
runs-on: ${{ matrix.os }}
3229
steps:
3330
- uses: actions/checkout@v3

.github/workflows/unit-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- "3.9"
2222
- "3.10"
2323
- "3.11"
24+
- "3.12"
2425
runs-on: ${{ matrix.os }}
2526
steps:
2627
- uses: actions/checkout@v3

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/ambv/black
3-
rev: 23.1.0
3+
rev: 23.10.0
44
hooks:
55
- id: black
66

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[tool.black]
22
line-length = 88
33
target-version = [
4-
'py37',
54
'py38',
65
'py39',
76
'py310',
7+
'py311',
8+
'py312',
89
]
910
include = '\.pyi?$'
1011

requirements.txt

Lines changed: 0 additions & 29 deletions
This file was deleted.

setup.cfg

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ classifiers=
1111
Programming Language :: Python :: 3.8
1212
Programming Language :: Python :: 3.9
1313
Programming Language :: Python :: 3.10
14+
Programming Language :: Python :: 3.11
15+
Programming Language :: Python :: 3.12
1416
Operating System :: OS Independent
1517
Development Status :: 5 - Production/Stable
1618
Intended Audience :: Developers
@@ -30,7 +32,8 @@ packages = find:
3032
include_package_data = True
3133
python_requires = >=3.7
3234
install_requires =
33-
pikepdf~=6.2
35+
pikepdf~=8.6;python_version>="3.8"
36+
pikepdf==6.2.9;python_version<"3.8"
3437
pytz>=2023.3
3538
requests~=2.31
3639

@@ -45,9 +48,8 @@ mindee =
4548

4649
[options.extras_require]
4750
dev =
48-
black==23.1.0
51+
black==23.10.0
4952
mypy==1.4.1
50-
pip-tools~=6.14
5153
pylint==2.17.1
5254
setuptools==51.3.3
5355
isort==5.11.5

0 commit comments

Comments
 (0)