Skip to content

Commit

Permalink
Merge pull request #278 from huniafatima-arbi/huniafatima/add-support…
Browse files Browse the repository at this point in the history
…-for-python3.12

feat!: Upgraded to Python 3.12
  • Loading branch information
UsamaSadiq authored Oct 25, 2024
2 parents da76df7 + cb45b30 commit 8d9f865
Show file tree
Hide file tree
Showing 16 changed files with 198 additions and 192 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.11']
python-version: ['3.12']
toxenv: [quality, docs, pii_check, django42]

steps:
Expand All @@ -37,7 +37,7 @@ jobs:
run: tox

- name: Run coverage
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
if: matrix.python-version == '3.12' && matrix.toxenv == 'django42'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ Change Log
Unreleased
**********

[6.0.0] - 2024-08-24
********************
Added
=======
* Added support for python3.12

Removed
=======
* Removed the support for python3.8

[5.8.1] - 2024-08-02
********************
Changed
Expand Down
2 changes: 1 addition & 1 deletion edx_event_bus_kafka/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
from edx_event_bus_kafka.internal.consumer import KafkaEventConsumer
from edx_event_bus_kafka.internal.producer import KafkaEventProducer, create_producer

__version__ = '5.8.1'
__version__ = '6.0.0'
9 changes: 6 additions & 3 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.3.1
# Generated by edx-lint version: 5.4.0
# ------------------------------
[MASTER]
ignore = migrations
Expand Down Expand Up @@ -291,6 +291,9 @@ disable =
django-not-configured,
consider-using-with,
bad-option-value,
broad-exception-caught,
import-error,
too-many-positional-arguments

[REPORTS]
output-format = text
Expand Down Expand Up @@ -385,6 +388,6 @@ ext-import-graph =
int-import-graph =

[EXCEPTIONS]
overgeneral-exceptions = Exception
overgeneral-exceptions = builtins.Exception

# e2e15bd7aac117677679a6d0e18619f34292e8db
# ede89753f5f1c1b60f1013ef33ed9541bdf23550
3 changes: 3 additions & 0 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ disable+=
django-not-configured,
consider-using-with,
bad-option-value,
broad-exception-caught,
import-error,
too-many-positional-arguments
26 changes: 13 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand All @@ -8,15 +8,15 @@ asgiref==3.8.1
# via django
attrs==24.2.0
# via openedx-events
cffi==1.17.0
cffi==1.17.1
# via pynacl
click==8.1.7
# via
# code-annotations
# edx-django-utils
code-annotations==1.8.0
# via edx-toggles
django==4.2.15
django==4.2.16
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
Expand All @@ -33,38 +33,38 @@ django-waffle==4.1.0
# via
# edx-django-utils
# edx-toggles
dnspython==2.6.1
dnspython==2.7.0
# via pymongo
edx-ccx-keys==1.3.0
# via openedx-events
edx-django-utils==5.15.0
edx-django-utils==7.0.0
# via
# -r requirements/base.in
# edx-toggles
# openedx-events
edx-opaque-keys[django]==2.10.0
edx-opaque-keys[django]==2.11.0
# via
# edx-ccx-keys
# openedx-events
edx-toggles==5.2.0
# via -r requirements/base.in
fastavro==1.9.5
fastavro==1.9.7
# via openedx-events
jinja2==3.1.4
# via code-annotations
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
newrelic==9.13.0
newrelic==10.2.0
# via edx-django-utils
openedx-events==9.12.0
openedx-events==9.15.0
# via -r requirements/base.in
pbr==6.0.0
pbr==6.1.0
# via stevedore
psutil==6.0.0
psutil==6.1.0
# via edx-django-utils
pycparser==2.22
# via cffi
pymongo==4.8.0
pymongo==4.10.1
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand Down
14 changes: 7 additions & 7 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand All @@ -10,25 +10,25 @@ chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
distlib==0.3.9
# via virtualenv
filelock==3.15.4
filelock==3.16.1
# via
# tox
# virtualenv
packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.2.2
platformdirs==4.3.6
# via
# tox
# virtualenv
pluggy==1.5.0
# via tox
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
tox==4.18.0
tox==4.23.0
# via -r requirements/ci.in
virtualenv==20.26.3
virtualenv==20.27.0
# via tox
Loading

0 comments on commit 8d9f865

Please sign in to comment.