From f753dff5eafb991748b0e77160f9698e23e9dd9f Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:32 -0500 Subject: [PATCH 1/2] feat: add python 3.12 support --- .github/workflows/ci.yml | 10 +++++----- tox.ini | 3 +-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46beed3..c5d9214 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Python CI on: push: branches: - - master + - master pull_request: branches: - - '**' + - '**' jobs: run_tests: @@ -15,9 +15,9 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 - python-version: [3.8 ] - toxenv: [django32, django42] + - ubuntu-20.04 + python-version: [3.8, '3.8', '3.12'] + toxenv: [django42] steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index 28d9bbf..8021945 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py38-django{32, 42} + py{38, 312}-django{42} [testenv] changedir = {envtmpdir} @@ -9,7 +9,6 @@ basepython = commands = coverage run --rcfile={toxinidir}/.coveragerc {toxinidir}/test_project/manage.py test --settings=test_project.settings require -v 2 deps = - django32: Django>=3.2,<4.0 django42: Django>=4.2,<4.3 tox>=2.0.0 coverage From dea5ed9312179e7e7f34de74edef9b6aee3eef55 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Tue, 9 Apr 2024 17:32:33 +0500 Subject: [PATCH 2/2] feat: Adding python3.11 support. --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 5 +++++ require/__init__.py | 2 +- setup.py | 2 +- tox.ini | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5d9214..e52a4bf 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.8', '3.12'] + python-version: ['3.8', '3.11'] toxenv: [django42] steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index f7660d5..47afe57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ django-require changelog ======================== +2.2.0 - 09/04/2024 +------------------- + +* Support added for python3.11. Dropped support for django32. +* 2.1.0 - 20/07/2023 ------------------- diff --git a/require/__init__.py b/require/__init__.py index 013a1a4..eb23235 100644 --- a/require/__init__.py +++ b/require/__init__.py @@ -7,4 +7,4 @@ """ -__version__ = (2, 1, 0) +__version__ = (2, 2, 0) diff --git a/setup.py b/setup.py index f2eddd4..be4cee8 100644 --- a/setup.py +++ b/setup.py @@ -31,13 +31,13 @@ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.11", "Topic :: Internet :: WWW/HTTP", ], ) diff --git a/tox.ini b/tox.ini index 8021945..04f0264 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38, 312}-django{42} + py{38, 311}-django{42} [testenv] changedir = {envtmpdir}