Skip to content

Commit 2616f6a

Browse files
authored
Merge pull request #130 from oslokommune/python3.13
Add support for Python 3.13
2 parents a726394 + ba914ae commit 2616f6a

File tree

8 files changed

+49
-33
lines changed

8 files changed

+49
-33
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
30+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3131

3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@bad341350a2f5616f9e048e51360cedc49181ce8 # v2.15.1
33+
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v2.19.2
3434
with:
3535
languages: ${{ matrix.language }}
3636
queries: +security-and-quality
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@bad341350a2f5616f9e048e51360cedc49181ce8 # v2.15.1
39+
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v2.19.2

.github/workflows/continous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
14+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
1515
steps:
16-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
16+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
1717
- name: Set up Python ${{ matrix.python }}
18-
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
18+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1919
with:
2020
python-version: ${{ matrix.python }}
2121
- name: Install dependencies

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## ?.?.? - Unreleased
2+
3+
* Added support for Python 3.13.
4+
* Dropped support for Python 3.8 which has reached end of life. Python 3.9+ is
5+
now required.
6+
17
## 3.2.0 - 2024-10-03
28

39
* New methods `Dataset.delete_version`, `Dataset.delete_edition`, and

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Setup
66
```
77
git clone [email protected]:oslokommune/okdata-sdk-python.git
88
cd okdata-sdk-python
9-
python3.8 -m venv .venv
9+
python3 -m venv .venv
1010
source .venv/bin/activate
1111
make init
1212
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.black]
2-
py38 = true
2+
target-version = ["py39", "py310", "py311", "py312"]
33
# Keep exclude in sync with flake8 config in tox.ini
44
exclude = '''
55
/(

requirements.txt

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,55 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile
66
#
7-
attrs==21.4.0
8-
# via jsonschema
9-
certifi==2024.7.4
7+
attrs==24.2.0
8+
# via
9+
# jsonschema
10+
# referencing
11+
certifi==2024.8.30
1012
# via requests
11-
cffi==1.16.0
13+
cffi==1.17.1
1214
# via cryptography
13-
charset-normalizer==2.0.12
15+
charset-normalizer==3.4.0
1416
# via requests
15-
cryptography==43.0.1
17+
cryptography==43.0.3
1618
# via jwcrypto
1719
deprecation==2.1.0
1820
# via python-keycloak
19-
idna==3.7
21+
idna==3.10
2022
# via requests
21-
jsonschema==4.4.0
23+
jsonschema==4.23.0
2224
# via okdata-sdk (setup.py)
25+
jsonschema-specifications==2024.10.1
26+
# via jsonschema
2327
jwcrypto==1.5.6
2428
# via python-keycloak
25-
packaging==24.0
29+
packaging==24.1
2630
# via deprecation
2731
pycparser==2.22
2832
# via cffi
29-
pyrsistent==0.18.1
30-
# via jsonschema
31-
python-keycloak==3.11.1
33+
python-keycloak==3.12.0
3234
# via okdata-sdk (setup.py)
33-
requests==2.32.0
35+
referencing==0.35.1
36+
# via
37+
# jsonschema
38+
# jsonschema-specifications
39+
requests==2.32.3
3440
# via
3541
# okdata-sdk (setup.py)
3642
# python-keycloak
3743
# requests-toolbelt
3844
requests-toolbelt==1.0.0
3945
# via python-keycloak
40-
typing-extensions==4.11.0
46+
rpds-py==0.20.0
47+
# via
48+
# jsonschema
49+
# referencing
50+
typing-extensions==4.12.2
4151
# via jwcrypto
42-
urllib3==1.26.19
52+
urllib3==1.26.20
4353
# via
4454
# okdata-sdk (setup.py)
4555
# requests

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
include_package_data=True,
4040
classifiers=[
4141
"Development Status :: 5 - Production/Stable",
42-
"Programming Language :: Python :: 3.8",
4342
"Programming Language :: Python :: 3.9",
4443
"Programming Language :: Python :: 3.10",
4544
"Programming Language :: Python :: 3.11",
4645
"Programming Language :: Python :: 3.12",
46+
"Programming Language :: Python :: 3.13",
4747
"License :: OSI Approved :: MIT License",
4848
"Operating System :: OS Independent",
4949
],
50-
python_requires=">=3.8",
50+
python_requires=">=3.9",
5151
zip_safe=False,
5252
)

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
2-
envlist = py38,py39,py310,py311,py312,flake8,black,mypy
2+
envlist = py39,py310,py311,py312,py313,flake8,black,mypy
33

44
[testenv]
55
deps=
6-
freezegun==0.3.12
7-
PyJWT==2.8.0
8-
pytest-mock==1.12.1
9-
pytest==6.2.5
10-
python-dateutil==2.8.0
11-
requests-mock==1.6.0
6+
freezegun
7+
PyJWT
8+
pytest
9+
pytest-mock
10+
python-dateutil
11+
requests-mock
1212
-rrequirements.txt
1313
commands=
1414
pytest {posargs}

0 commit comments

Comments
 (0)