Skip to content

Commit

Permalink
⬆️ upgrade support for python 3.12 (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee committed Nov 14, 2023
1 parent 6737620 commit 01a48fc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-code-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
python-version:
- "3.7"
- "3.11"
- "3.12"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
- "windows-latest"
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 23.10.0
hooks:
- id: black

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tool.black]
line-length = 88
target-version = [
'py37',
'py38',
'py39',
'py310',
'py311',
'py312',
]
include = '\.pyi?$'

Expand Down
29 changes: 0 additions & 29 deletions requirements.txt

This file was deleted.

8 changes: 5 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ classifiers=
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: OS Independent
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Expand All @@ -30,7 +32,8 @@ packages = find:
include_package_data = True
python_requires = >=3.7
install_requires =
pikepdf~=6.2
pikepdf~=8.6;python_version>="3.8"
pikepdf==6.2.9;python_version<"3.8"
pytz>=2023.3
requests~=2.31

Expand All @@ -45,9 +48,8 @@ mindee =

[options.extras_require]
dev =
black==23.1.0
black==23.10.0
mypy==1.4.1
pip-tools~=6.14
pylint==2.17.1
setuptools==51.3.3
isort==5.11.5
Expand Down

0 comments on commit 01a48fc

Please sign in to comment.