Skip to content

Commit e9ea56a

Browse files
authored
Merge pull request #9 from openedx/jenkins/add-python312-support-0c7bf51
feat: add python 3.11 support
2 parents 04c52e7 + dea5ed9 commit e9ea56a

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

Diff for: .github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Python CI
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
branches:
9-
- '**'
9+
- '**'
1010

1111
jobs:
1212
run_tests:
@@ -15,9 +15,9 @@ jobs:
1515
strategy:
1616
matrix:
1717
os:
18-
- ubuntu-20.04
19-
python-version: [3.8 ]
20-
toxenv: [django32, django42]
18+
- ubuntu-20.04
19+
python-version: ['3.8', '3.11']
20+
toxenv: [django42]
2121

2222
steps:
2323
- uses: actions/checkout@v3

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
django-require changelog
22
========================
33

4+
2.2.0 - 09/04/2024
5+
-------------------
6+
7+
* Support added for python3.11. Dropped support for django32.
8+
*
49
2.1.0 - 20/07/2023
510
-------------------
611

Diff for: require/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"""
88

99

10-
__version__ = (2, 1, 0)
10+
__version__ = (2, 2, 0)

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
"Development Status :: 5 - Production/Stable",
3232
"Environment :: Web Environment",
3333
"Framework :: Django",
34-
"Framework :: Django :: 3.2",
3534
"Framework :: Django :: 4.2",
3635
"Intended Audience :: Developers",
3736
"License :: OSI Approved :: BSD License",
3837
"Operating System :: OS Independent",
3938
"Programming Language :: Python",
4039
"Programming Language :: Python :: 3.8",
40+
"Programming Language :: Python :: 3.11",
4141
"Topic :: Internet :: WWW/HTTP",
4242
],
4343
)

Diff for: tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py38-django{32, 42}
3+
py{38, 311}-django{42}
44

55
[testenv]
66
changedir = {envtmpdir}
@@ -9,7 +9,6 @@ basepython =
99
commands =
1010
coverage run --rcfile={toxinidir}/.coveragerc {toxinidir}/test_project/manage.py test --settings=test_project.settings require -v 2
1111
deps =
12-
django32: Django>=3.2,<4.0
1312
django42: Django>=4.2,<4.3
1413
tox>=2.0.0
1514
coverage

0 commit comments

Comments
 (0)