Skip to content

Commit

Permalink
Merge pull request #9 from openedx/jenkins/add-python312-support-0c7bf51
Browse files Browse the repository at this point in the history
feat: add python 3.11 support
  • Loading branch information
feanil authored Dec 2, 2024
2 parents 04c52e7 + dea5ed9 commit e9ea56a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Python CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- '**'
- '**'

jobs:
run_tests:
Expand All @@ -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.11']
toxenv: [django42]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
-------------------

Expand Down
2 changes: 1 addition & 1 deletion require/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"""


__version__ = (2, 1, 0)
__version__ = (2, 2, 0)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py38-django{32, 42}
py{38, 311}-django{42}

[testenv]
changedir = {envtmpdir}
Expand All @@ -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
Expand Down

0 comments on commit e9ea56a

Please sign in to comment.