Skip to content

Commit

Permalink
chore: update python version from 3.11 to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
huniafatima-arbi committed Nov 4, 2024
1 parent 77d0b9a commit 7e0af7d
Show file tree
Hide file tree
Showing 13 changed files with 144 additions and 150 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
toxenv: [quality, docs, 'py311']
python-version: ['3.12']
toxenv: [quality, docs, 'py312']
env:
RUNJSHINT: true
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
TOXENV: ${{ matrix.toxenv }}
run: tox
- name: Run Coverage
if: matrix.toxenv == 'py311'
if: matrix.toxenv == 'py312'
uses: codecov/codecov-action@v3
with:
flags: unittests
Expand Down
13 changes: 8 additions & 5 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ** DO NOT EDIT THIS FILE **
# ***************************
#
# This file was generated by edx-lint: https://github.com/edx/edx-lint
# This file was generated by edx-lint: https://github.com/openedx/edx-lint
#
# If you want to change this file, you have two choices, depending on whether
# you want to make a local change that applies only to this repo, or whether
Expand All @@ -28,7 +28,7 @@
# CENTRAL CHANGE:
#
# 1. Edit the pylintrc file in the edx-lint repo at
# https://github.com/edx/edx-lint/blob/master/edx_lint/files/pylintrc
# https://github.com/openedx/edx-lint/blob/master/edx_lint/files/pylintrc
#
# 2. install the updated version of edx-lint (in edx-lint):
#
Expand Down Expand Up @@ -64,7 +64,7 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.2.4
# Generated by edx-lint version: 5.4.1
# ------------------------------
[MASTER]
ignore = migrations
Expand Down Expand Up @@ -259,6 +259,7 @@ enable =
useless-suppression,
disable =
bad-indentation,
broad-exception-raised,
consider-using-f-string,
duplicate-code,
file-ignored,
Expand Down Expand Up @@ -286,8 +287,10 @@ disable =
illegal-waffle-usage,

logging-fstring-interpolation,
broad-exception-caught,
consider-using-with,
bad-option-value,
too-many-positional-arguments

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

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

# d6bc12479acb6afea1e73ae451442ce6695cb05b
# c361d0e1560dd583e9500aeb19e05008d92d4349
2 changes: 2 additions & 0 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ load-plugins = edx_lint.pylint,pylint_celery

[MESSAGES CONTROL]
disable+ =
broad-exception-caught,
consider-using-with,
bad-option-value,
too-many-positional-arguments
20 changes: 10 additions & 10 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,13 +8,13 @@ asgiref==3.8.1
# via django
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via pynacl
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via edx-django-utils
django==4.2.15
django==4.2.16
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# django-crum
Expand All @@ -24,25 +24,25 @@ django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
# via edx-django-utils
edx-django-utils==5.15.0
edx-django-utils==7.0.0
# via -r requirements/base.in
idna==3.8
idna==3.10
# via requests
newrelic==9.13.0
newrelic==10.2.0
# via edx-django-utils
oauthlib==3.2.2
# via
# -r requirements/base.in
# requests-oauthlib
pbr==6.1.0
# via stevedore
psutil==6.0.0
psutil==6.1.0
# via edx-django-utils
pycparser==2.22
# via cffi
pynacl==1.5.0
# via edx-django-utils
pytz==2024.1
pytz==2024.2
# via -r requirements/base.in
requests==2.32.3
# via requests-oauthlib
Expand All @@ -52,5 +52,5 @@ sqlparse==0.5.1
# via django
stevedore==5.3.0
# via edx-django-utils
urllib3==2.2.2
urllib3==2.2.3
# via requests
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.2
# via -r requirements/ci.in
virtualenv==20.26.3
virtualenv==20.27.1
# via tox
Loading

0 comments on commit 7e0af7d

Please sign in to comment.