From d7b1215b664666927c0c07b2844e8e16b612d41b Mon Sep 17 00:00:00 2001 From: Meysam Azad Date: Sat, 24 Aug 2024 10:37:35 +0700 Subject: [PATCH 1/8] feat: add support for python3.12 --- .github/workflows/test-and-deploy.yml | 2 +- Makefile | 6 ++---- setup.py | 1 + test/requirements.txt | 1 + tox.ini | 7 ++++++- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 4db532e3d..b92b30ec1 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] env: DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }} steps: diff --git a/Makefile b/Makefile index fb61004ce..96161106d 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,11 @@ venv: clean virtualenv --python=python venv install: venv + . venv/bin/activate; pip install -r test/requirements.txt . venv/bin/activate; python setup.py install . venv/bin/activate; pip install -r requirements.txt -test-install: install - . venv/bin/activate; pip install -r test/requirements.txt - -test: test-install +test: install . venv/bin/activate; coverage run -m unittest discover -s test/unit test-integ: test diff --git a/setup.py b/setup.py index 41f11e589..92ce72e5f 100644 --- a/setup.py +++ b/setup.py @@ -41,5 +41,6 @@ def getRequires(): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ] ) diff --git a/test/requirements.txt b/test/requirements.txt index 859c2456d..40552deba 100644 --- a/test/requirements.txt +++ b/test/requirements.txt @@ -5,3 +5,4 @@ coverage mock itsdangerous==1.1.0 markupsafe==1.1.1 +setuptools diff --git a/tox.ini b/tox.ini index 926a3c9dd..7350290bf 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py27, py34, py35, py36, py37 +envlist = py27, py34, py35, py36, py37, py312 [testenv] commands = coverage erase @@ -39,3 +39,8 @@ basepython = python3.6 commands = {[testenv]commands} deps = {[testenv]deps} basepython = python3.7 + +[testenv:py312] +commands = {[testenv]commands} +deps = {[testenv]deps} +basepython = python3.12 From cdf71ee70df62854101b3a64cb284b7946108018 Mon Sep 17 00:00:00 2001 From: Meysam Date: Fri, 11 Apr 2025 18:21:24 +0700 Subject: [PATCH 2/8] Update Makefile --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 96161106d..b1a57d462 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,6 @@ venv: clean virtualenv --python=python venv install: venv - . venv/bin/activate; pip install -r test/requirements.txt . venv/bin/activate; python setup.py install . venv/bin/activate; pip install -r requirements.txt From b969181214107bbc61b3774cd1e15762920e6283 Mon Sep 17 00:00:00 2001 From: Shubham Date: Sat, 12 Apr 2025 14:49:09 +0530 Subject: [PATCH 3/8] chore: add python3.13 --- .github/workflows/test-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 36408594a..ba8b69905 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' , '3.13'] env: DOCKER_LOGIN: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_AUTH_TOKEN }} steps: From 6dc30374f718857df66cb5e6ee7bb7e069225979 Mon Sep 17 00:00:00 2001 From: Shubham Date: Sat, 12 Apr 2025 14:50:14 +0530 Subject: [PATCH 4/8] Update Makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1a57d462..fb61004ce 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,10 @@ install: venv . venv/bin/activate; python setup.py install . venv/bin/activate; pip install -r requirements.txt -test: install +test-install: install + . venv/bin/activate; pip install -r test/requirements.txt + +test: test-install . venv/bin/activate; coverage run -m unittest discover -s test/unit test-integ: test From 8077ef339cf0460bd79b7a72d913bf0b9fa5f83b Mon Sep 17 00:00:00 2001 From: Shubham Date: Sat, 12 Apr 2025 14:51:40 +0530 Subject: [PATCH 5/8] chore: add python 3.13 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 92ce72e5f..7c797ae67 100644 --- a/setup.py +++ b/setup.py @@ -42,5 +42,6 @@ def getRequires(): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', ] ) From 2653f18bec28ff806c5f57794bb7b2bdfd68e859 Mon Sep 17 00:00:00 2001 From: Shubham Date: Sat, 12 Apr 2025 14:53:18 +0530 Subject: [PATCH 6/8] chore: add python 3.13 --- tox.ini | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7350290bf..8f4f2db9a 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py27, py34, py35, py36, py37, py312 +envlist = py27, py34, py35, py36, py37, py38, py39, py310, py311, py312, py313 [testenv] commands = coverage erase @@ -40,7 +40,32 @@ commands = {[testenv]commands} deps = {[testenv]deps} basepython = python3.7 +[testenv:py38] +commands = {[testenv]commands} +deps = {[testenv]deps} +basepython = python3.8 + +[testenv:py39] +commands = {[testenv]commands} +deps = {[testenv]deps} +basepython = python3.9 + +[testenv:py310] +commands = {[testenv]commands} +deps = {[testenv]deps} +basepython = python3.10 + +[testenv:py311] +commands = {[testenv]commands} +deps = {[testenv]deps} +basepython = python3.11 + [testenv:py312] commands = {[testenv]commands} deps = {[testenv]deps} basepython = python3.12 + +[testenv:py313] +commands = {[testenv]commands} +deps = {[testenv]deps} +basepython = python3.13 From 9398696377eb1613b390bf0e5d40fd51a583bf91 Mon Sep 17 00:00:00 2001 From: Shubham Date: Tue, 15 Apr 2025 20:29:33 +0530 Subject: [PATCH 7/8] chore: Update Makefile --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index fb61004ce..2d7b84431 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,11 @@ venv: clean virtualenv --python=python venv install: venv + . venv/bin/activate; pip install -r test/requirements.txt . venv/bin/activate; python setup.py install . venv/bin/activate; pip install -r requirements.txt -test-install: install - . venv/bin/activate; pip install -r test/requirements.txt - -test: test-install +test: install . venv/bin/activate; coverage run -m unittest discover -s test/unit test-integ: test From cacca87ea373a7b40e3067729a1742d83fcca02a Mon Sep 17 00:00:00 2001 From: Shubham Date: Tue, 15 Apr 2025 20:30:59 +0530 Subject: [PATCH 8/8] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d7b84431..96161106d 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ venv: clean virtualenv --python=python venv install: venv - . venv/bin/activate; pip install -r test/requirements.txt + . venv/bin/activate; pip install -r test/requirements.txt . venv/bin/activate; python setup.py install . venv/bin/activate; pip install -r requirements.txt