From eeac40f89e1685a77927ecc719d3c9412defbbea Mon Sep 17 00:00:00 2001 From: Chintan Joshi Date: Mon, 8 Apr 2024 18:27:25 +0300 Subject: [PATCH] build: add 3.12 support --- .github/workflows/ci.yml | 2 +- requirements/pip.txt | 4 ++-- requirements/pip_tools.txt | 4 ++-- requirements/test.txt | 18 ++++++++++++++++-- setup.py | 1 + tox.ini | 3 ++- 6 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ab106d..2c6685c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: os: - ubuntu-20.04 - python-version: ['3.8', '3.11'] + python-version: ['3.8', '3.11', '3.12'] steps: - uses: actions/checkout@v2 - name: setup python diff --git a/requirements/pip.txt b/requirements/pip.txt index 36d791b..cf44902 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # make upgrade # diff --git a/requirements/pip_tools.txt b/requirements/pip_tools.txt index 5be4fc9..e64299a 100644 --- a/requirements/pip_tools.txt +++ b/requirements/pip_tools.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # make upgrade # diff --git a/requirements/test.txt b/requirements/test.txt index 4fb9f37..5c25f41 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -4,18 +4,24 @@ # # make upgrade # +backports-tarfile==1.0.0 + # via jaraco-context bump2version==1.0.1 # via bumpversion bumpversion==0.6.0 # via -r requirements/test.in certifi==2024.2.2 # via requests +cffi==1.16.0 + # via cryptography charset-normalizer==3.3.2 # via requests click==8.1.7 # via -r requirements/base.txt coverage==7.4.4 # via -r requirements/test.in +cryptography==42.0.5 + # via secretstorage docutils==0.20.1 # via readme-renderer exceptiongroup==1.2.0 @@ -35,10 +41,14 @@ iniconfig==2.0.0 # via pytest jaraco-classes==3.4.0 # via keyring -jaraco-context==5.1.0 +jaraco-context==5.3.0 # via keyring jaraco-functools==4.0.0 # via keyring +jeepney==0.8.0 + # via + # keyring + # secretstorage keyring==25.1.0 # via twine markdown-it-py==3.0.0 @@ -61,6 +71,8 @@ pluggy==1.4.0 # via pytest pycodestyle==2.11.1 # via flake8 +pycparser==2.22 + # via cffi pyflakes==3.2.0 # via flake8 pygments==2.17.2 @@ -83,11 +95,13 @@ rfc3986==2.0.0 # via twine rich==13.7.1 # via twine +secretstorage==3.3.3 + # via keyring tomli==2.0.1 # via pytest twine==5.0.0 # via -r requirements/test.in -typing-extensions==4.10.0 +typing-extensions==4.11.0 # via rich urllib3==2.2.1 # via diff --git a/setup.py b/setup.py index 8d89e2e..87baf63 100644 --- a/setup.py +++ b/setup.py @@ -70,6 +70,7 @@ def get_version(*file_paths): 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], description="User utilities for the Open edX platform", entry_points={ diff --git a/tox.ini b/tox.ini index 2d33273..374d7ba 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38, 311}-django{42},quality +envlist = py{38, 311, 312}-django{42},quality [ci] python = @@ -15,6 +15,7 @@ commands = flake8 user_util setenv = PYTHONPATH = {toxinidir} deps = + setuptools -r requirements/test.txt commands = pip install -U pip