Skip to content

Commit 5b1562d

Browse files
chore(platform): update target python versions to 3.9 minimum up to 3.13
1 parent 55f2706 commit 5b1562d

6 files changed

Lines changed: 16 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ on:
99
jobs:
1010
build:
1111
name: Compile and Test 🔨
12+
strategy:
13+
matrix:
14+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1215
runs-on: ubuntu-latest
1316
steps:
1417
- name: Clone Repository
1518
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6
16-
- name: Setup Python 3.9
19+
- name: Setup Python
1720
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # 5.1.0
1821
with:
19-
python-version: '3.9'
22+
python-version: ${{ matrix.python-version }}
2023
- name: Install dependencies
2124
run: make install
2225
- name: Run tests

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ repos:
33
rev: stable
44
hooks:
55
- id: black
6-
language_version: python3.6
6+
language_version: python3.9

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ install:
2626

2727
lint: install
2828
${ISORT} --diff staxapp/*.py
29-
${BLACK} -t py37 --check --diff staxapp/
29+
${BLACK} -t py39 --check --diff staxapp/
3030

3131
format:
3232
${ISORT} --apply staxapp/*.py
33-
${BLACK} -t py37 staxapp/*.py
34-
${BLACK} -t py37 staxapp/data/*.json
33+
${BLACK} -t py39 staxapp/*.py
34+
${BLACK} -t py39 staxapp/data/*.json
3535

3636
download-schema:
3737
curl --fail --compressed -s -o staxapp/data/schema.json https://api.au1.staxapp.cloud/20190206/public/api-document

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 88
3-
target-version = ['py36', 'py37']
3+
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
44
include = '\.pyi?$'
55
exclude = '''
66
/(

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get_version():
3535
include_package_data=True,
3636
package_data={"staxapp": ["data/*.json"]},
3737
zip_safe=False,
38-
python_requires=">=3.6",
38+
python_requires=">=3.9",
3939
project_urls={"GitHub": "https://github.com/stax-labs/lib-stax-python-sdk"},
4040
classifiers=[
4141
'Development Status :: 4 - Beta',
@@ -44,9 +44,10 @@ def get_version():
4444
'License :: OSI Approved :: Apache Software License',
4545
'Programming Language :: Python',
4646
'Programming Language :: Python :: 3',
47-
'Programming Language :: Python :: 3.6',
48-
'Programming Language :: Python :: 3.7',
49-
'Programming Language :: Python :: 3.8',
5047
'Programming Language :: Python :: 3.9',
48+
'Programming Language :: Python :: 3.10',
49+
'Programming Language :: Python :: 3.11',
50+
'Programming Language :: Python :: 3.12',
51+
'Programming Language :: Python :: 3.13',
5152
],
5253
)

staxapp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.3.1"
1+
__version__ = "1.3.2"

0 commit comments

Comments
 (0)