From 31d65c09e98e19a1f4bb407314dcb235531cc828 Mon Sep 17 00:00:00 2001 From: salman2013 Date: Fri, 29 Mar 2024 11:52:31 +0500 Subject: [PATCH 1/3] chore: Add python 3.11 support --- .github/workflows/ci.yml | 2 +- setup.py | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1ffd0527..0c4100dc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] # Add macos-latest later? - python-version: ['3.8','3.12'] + python-version: ['3.8', ,'3.11, '3.12'] toxenv: ["django42", "package", "quality"] # We're only testing against MySQL 8 right now because 5.7 is # incompatible with Djagno 4.2. We'd have to make the tox.ini file more diff --git a/setup.py b/setup.py index cf0959535..78efb73d5 100755 --- a/setup.py +++ b/setup.py @@ -91,6 +91,7 @@ def is_requirement(line): 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ], ) diff --git a/tox.ini b/tox.ini index 7e6dda94a..c10677f41 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,312}-django{42}, quality, docs, pii_check, lint-imports +envlist = py{38,311,312}-django{42}, quality, docs, pii_check, lint-imports [doc8] ; D001 = Line too long From f5407a9ec054155dd2693cfe465cbd5985cc6a0c Mon Sep 17 00:00:00 2001 From: salman2013 Date: Fri, 29 Mar 2024 11:56:22 +0500 Subject: [PATCH 2/3] chore: fix lint error --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c4100dc1..6e63d8918 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] # Add macos-latest later? - python-version: ['3.8', ,'3.11, '3.12'] + python-version: ['3.8', ,'3.11', '3.12'] toxenv: ["django42", "package", "quality"] # We're only testing against MySQL 8 right now because 5.7 is # incompatible with Djagno 4.2. We'd have to make the tox.ini file more From 821fcfeb21767efd4fa1a0352da32e7925f6697e Mon Sep 17 00:00:00 2001 From: salman2013 Date: Mon, 1 Apr 2024 16:08:42 +0500 Subject: [PATCH 3/3] chore: add python 3.11 support --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e63d8918..685839611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] # Add macos-latest later? - python-version: ['3.8', ,'3.11', '3.12'] + python-version: ['3.8', '3.11', '3.12'] toxenv: ["django42", "package", "quality"] # We're only testing against MySQL 8 right now because 5.7 is # incompatible with Djagno 4.2. We'd have to make the tox.ini file more