Skip to content

Commit 8d9f865

Browse files
authored
Merge pull request #278 from huniafatima-arbi/huniafatima/add-support-for-python3.12
feat!: Upgraded to Python 3.12
2 parents da76df7 + cb45b30 commit 8d9f865

16 files changed

+198
-192
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18-
python-version: ['3.11']
18+
python-version: ['3.12']
1919
toxenv: [quality, docs, pii_check, django42]
2020

2121
steps:
@@ -37,7 +37,7 @@ jobs:
3737
run: tox
3838

3939
- name: Run coverage
40-
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
40+
if: matrix.python-version == '3.12' && matrix.toxenv == 'django42'
4141
uses: codecov/codecov-action@v4
4242
with:
4343
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/pypi-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: setup python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.11
18+
python-version: 3.12
1919

2020
- name: Install pip
2121
run: pip install -r requirements/pip.txt

CHANGELOG.rst

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ Change Log
1414
Unreleased
1515
**********
1616

17+
[6.0.0] - 2024-08-24
18+
********************
19+
Added
20+
=======
21+
* Added support for python3.12
22+
23+
Removed
24+
=======
25+
* Removed the support for python3.8
26+
1727
[5.8.1] - 2024-08-02
1828
********************
1929
Changed

edx_event_bus_kafka/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
from edx_event_bus_kafka.internal.consumer import KafkaEventConsumer
1010
from edx_event_bus_kafka.internal.producer import KafkaEventProducer, create_producer
1111

12-
__version__ = '5.8.1'
12+
__version__ = '6.0.0'

pylintrc

+6-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# SERIOUSLY.
6565
#
6666
# ------------------------------
67-
# Generated by edx-lint version: 5.3.1
67+
# Generated by edx-lint version: 5.4.0
6868
# ------------------------------
6969
[MASTER]
7070
ignore = migrations
@@ -291,6 +291,9 @@ disable =
291291
django-not-configured,
292292
consider-using-with,
293293
bad-option-value,
294+
broad-exception-caught,
295+
import-error,
296+
too-many-positional-arguments
294297

295298
[REPORTS]
296299
output-format = text
@@ -385,6 +388,6 @@ ext-import-graph =
385388
int-import-graph =
386389

387390
[EXCEPTIONS]
388-
overgeneral-exceptions = Exception
391+
overgeneral-exceptions = builtins.Exception
389392

390-
# e2e15bd7aac117677679a6d0e18619f34292e8db
393+
# ede89753f5f1c1b60f1013ef33ed9541bdf23550

pylintrc_tweaks

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ disable+=
99
django-not-configured,
1010
consider-using-with,
1111
bad-option-value,
12+
broad-exception-caught,
13+
import-error,
14+
too-many-positional-arguments

requirements/base.txt

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -8,15 +8,15 @@ asgiref==3.8.1
88
# via django
99
attrs==24.2.0
1010
# via openedx-events
11-
cffi==1.17.0
11+
cffi==1.17.1
1212
# via pynacl
1313
click==8.1.7
1414
# via
1515
# code-annotations
1616
# edx-django-utils
1717
code-annotations==1.8.0
1818
# via edx-toggles
19-
django==4.2.15
19+
django==4.2.16
2020
# via
2121
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
2222
# -r requirements/base.in
@@ -33,38 +33,38 @@ django-waffle==4.1.0
3333
# via
3434
# edx-django-utils
3535
# edx-toggles
36-
dnspython==2.6.1
36+
dnspython==2.7.0
3737
# via pymongo
3838
edx-ccx-keys==1.3.0
3939
# via openedx-events
40-
edx-django-utils==5.15.0
40+
edx-django-utils==7.0.0
4141
# via
4242
# -r requirements/base.in
4343
# edx-toggles
4444
# openedx-events
45-
edx-opaque-keys[django]==2.10.0
45+
edx-opaque-keys[django]==2.11.0
4646
# via
4747
# edx-ccx-keys
4848
# openedx-events
4949
edx-toggles==5.2.0
5050
# via -r requirements/base.in
51-
fastavro==1.9.5
51+
fastavro==1.9.7
5252
# via openedx-events
5353
jinja2==3.1.4
5454
# via code-annotations
55-
markupsafe==2.1.5
55+
markupsafe==3.0.2
5656
# via jinja2
57-
newrelic==9.13.0
57+
newrelic==10.2.0
5858
# via edx-django-utils
59-
openedx-events==9.12.0
59+
openedx-events==9.15.0
6060
# via -r requirements/base.in
61-
pbr==6.0.0
61+
pbr==6.1.0
6262
# via stevedore
63-
psutil==6.0.0
63+
psutil==6.1.0
6464
# via edx-django-utils
6565
pycparser==2.22
6666
# via cffi
67-
pymongo==4.8.0
67+
pymongo==4.10.1
6868
# via edx-opaque-keys
6969
pynacl==1.5.0
7070
# via edx-django-utils

requirements/ci.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -10,25 +10,25 @@ chardet==5.2.0
1010
# via tox
1111
colorama==0.4.6
1212
# via tox
13-
distlib==0.3.8
13+
distlib==0.3.9
1414
# via virtualenv
15-
filelock==3.15.4
15+
filelock==3.16.1
1616
# via
1717
# tox
1818
# virtualenv
1919
packaging==24.1
2020
# via
2121
# pyproject-api
2222
# tox
23-
platformdirs==4.2.2
23+
platformdirs==4.3.6
2424
# via
2525
# tox
2626
# virtualenv
2727
pluggy==1.5.0
2828
# via tox
29-
pyproject-api==1.7.1
29+
pyproject-api==1.8.0
3030
# via tox
31-
tox==4.18.0
31+
tox==4.23.0
3232
# via -r requirements/ci.in
33-
virtualenv==20.26.3
33+
virtualenv==20.27.0
3434
# via tox

0 commit comments

Comments
 (0)