Skip to content

Commit

Permalink
feat: adding python 3.11 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Mar 30, 2024
1 parent 21ac698 commit fedcdc1
Show file tree
Hide file tree
Showing 13 changed files with 149 additions and 140 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Change Log

.. There should always be an "Unreleased" section for changes pending release.
[2.6.0] - 2024-03-30
~~~~~~~~~~~~~~~~~~~~

* Adding python3.11 and 3.12 support.


[2.5.1] - 2023-09-22
~~~~~~~~~~~~~~~~~~~~

Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ extract_translations: ## extract strings to be translated, outputting .mo files

fake_translations: extract_translations dummy_translations compile_translations ## generate and compile dummy translation files

COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt
.PHONY: $(COMMON_CONSTRAINTS_TXT)
$(COMMON_CONSTRAINTS_TXT):
wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt || touch "$(@)"

upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
upgrade: $(COMMON_CONSTRAINTS_TXT) # update the requirements/*.txt files with the latest packages satisfying requirements/*.in
pip install -r requirements/pip-tools.txt
pip-compile --upgrade --allow-unsafe --rebuild -o requirements/pip.txt requirements/pip.in
pip-compile --no-emit-trusted-host --no-emit-index-url --rebuild --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in
Expand Down
2 changes: 1 addition & 1 deletion config_models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Configuration models for Django allowing config management with auditing.
"""

__version__ = '2.5.1'
__version__ = '2.6.0'
26 changes: 13 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
#
# make upgrade
#
asgiref==3.7.2
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
cffi==1.16.0
# via pynacl
click==8.1.7
# via edx-django-utils
django==3.2.24
django==4.2.11
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
# django-crum
# django-waffle
Expand All @@ -22,27 +26,23 @@ django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
# via edx-django-utils
djangorestframework==3.14.0
djangorestframework==3.15.1
# via -r requirements/base.in
edx-django-utils==5.10.1
edx-django-utils==5.12.0
# via -r requirements/base.in
newrelic==9.6.0
newrelic==9.8.0
# via edx-django-utils
pbr==6.0.0
# via stevedore
psutil==5.9.8
# via edx-django-utils
pycparser==2.21
pycparser==2.22
# via cffi
pynacl==1.5.0
# via edx-django-utils
pytz==2024.1
# via
# django
# djangorestframework
sqlparse==0.4.4
# via django
stevedore==5.1.0
stevedore==5.2.0
# via edx-django-utils
typing-extensions==4.9.0
typing-extensions==4.10.0
# via asgiref
6 changes: 3 additions & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#
distlib==0.3.8
# via virtualenv
filelock==3.13.1
filelock==3.13.3
# via
# tox
# virtualenv
packaging==23.2
packaging==24.0
# via
# pyproject-api
# tox
Expand All @@ -34,5 +34,5 @@ tox==3.28.0
# tox-travis
tox-travis==0.13
# via -r requirements/ci.in
virtualenv==20.25.0
virtualenv==20.25.1
# via tox
Empty file.
4 changes: 2 additions & 2 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# pin when possible. Writing an issue against the offending project and
# linking to it here is good.

# Common constraints for edx repos
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# This file contains all common constraints for edx-repos
-c common_constraints.txt

# Temporary to Support the python 3.11 Upgrade
backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library
64 changes: 32 additions & 32 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,22 @@
#
# make upgrade
#
asgiref==3.7.2
asgiref==3.8.1
# via
# -r requirements/quality.txt
# django
astroid==3.0.3
astroid==3.1.0
# via
# -r requirements/quality.txt
# pylint
# pylint-celery
build==1.0.3
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/quality.txt
# django
# djangorestframework
build==1.2.1
# via
# -r requirements/pip-tools.txt
# pip-tools
Expand All @@ -34,15 +40,15 @@ click-log==0.4.0
# via
# -r requirements/quality.txt
# edx-lint
code-annotations==1.6.0
code-annotations==1.7.0
# via
# -r requirements/quality.txt
# edx-lint
coverage[toml]==7.4.1
coverage[toml]==7.4.4
# via
# -r requirements/quality.txt
# pytest-cov
ddt==1.7.1
ddt==1.7.2
# via -r requirements/quality.txt
dill==0.3.8
# via
Expand All @@ -52,9 +58,8 @@ distlib==0.3.8
# via
# -r requirements/ci.txt
# virtualenv
django==3.2.24
django==4.2.11
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/quality.txt
# django-crum
# django-waffle
Expand All @@ -70,11 +75,11 @@ django-waffle==4.1.0
# via
# -r requirements/quality.txt
# edx-django-utils
djangorestframework==3.14.0
djangorestframework==3.15.1
# via -r requirements/quality.txt
edx-django-release-util==1.3.0
# via -r requirements/quality.txt
edx-django-utils==5.10.1
edx-django-utils==5.12.0
# via -r requirements/quality.txt
edx-i18n-tools==1.3.0
# via -r requirements/dev.in
Expand All @@ -84,14 +89,14 @@ exceptiongroup==1.2.0
# via
# -r requirements/quality.txt
# pytest
filelock==3.13.1
filelock==3.13.3
# via
# -r requirements/ci.txt
# tox
# virtualenv
freezegun==1.4.0
# via -r requirements/quality.txt
importlib-metadata==7.0.1
importlib-metadata==7.1.0
# via
# -r requirements/pip-tools.txt
# build
Expand All @@ -107,7 +112,7 @@ jinja2==3.1.3
# via
# -r requirements/quality.txt
# code-annotations
lxml==5.1.0
lxml==5.1.1
# via edx-i18n-tools
markupsafe==2.1.5
# via
Expand All @@ -117,11 +122,11 @@ mccabe==0.7.0
# via
# -r requirements/quality.txt
# pylint
newrelic==9.6.0
newrelic==9.8.0
# via
# -r requirements/quality.txt
# edx-django-utils
packaging==23.2
packaging==24.0
# via
# -r requirements/ci.txt
# -r requirements/pip-tools.txt
Expand All @@ -135,7 +140,7 @@ pbr==6.0.0
# via
# -r requirements/quality.txt
# stevedore
pip-tools==7.4.0
pip-tools==7.4.1
# via -r requirements/pip-tools.txt
platformdirs==4.2.0
# via
Expand All @@ -161,13 +166,13 @@ py==1.11.0
# tox
pycodestyle==2.11.1
# via -r requirements/quality.txt
pycparser==2.21
pycparser==2.22
# via
# -r requirements/quality.txt
# cffi
pydocstyle==6.3.0
# via -r requirements/quality.txt
pylint==3.0.3
pylint==3.1.0
# via
# -r requirements/quality.txt
# edx-lint
Expand Down Expand Up @@ -196,28 +201,23 @@ pyproject-hooks==1.0.0
# -r requirements/pip-tools.txt
# build
# pip-tools
pytest==8.0.1
pytest==8.1.1
# via
# -r requirements/quality.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
pytest-cov==5.0.0
# via -r requirements/quality.txt
pytest-django==4.8.0
# via -r requirements/quality.txt
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# -r requirements/quality.txt
# freezegun
python-slugify==8.0.4
# via
# -r requirements/quality.txt
# code-annotations
pytz==2024.1
# via
# -r requirements/quality.txt
# django
# djangorestframework
pyyaml==6.0.1
# via
# -r requirements/quality.txt
Expand All @@ -240,7 +240,7 @@ sqlparse==0.4.4
# via
# -r requirements/quality.txt
# django
stevedore==5.1.0
stevedore==5.2.0
# via
# -r requirements/quality.txt
# code-annotations
Expand All @@ -261,7 +261,7 @@ tomli==2.0.1
# pyproject-hooks
# pytest
# tox
tomlkit==0.12.3
tomlkit==0.12.4
# via
# -r requirements/quality.txt
# pylint
Expand All @@ -271,21 +271,21 @@ tox==3.28.0
# tox-travis
tox-travis==0.13
# via -r requirements/ci.txt
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/quality.txt
# asgiref
# astroid
# pylint
virtualenv==20.25.0
virtualenv==20.25.1
# via
# -r requirements/ci.txt
# tox
wheel==0.42.0
wheel==0.43.0
# via
# -r requirements/pip-tools.txt
# pip-tools
zipp==3.17.0
zipp==3.18.1
# via
# -r requirements/pip-tools.txt
# importlib-metadata
Expand Down
Loading

0 comments on commit fedcdc1

Please sign in to comment.