Skip to content

Commit

Permalink
parent e8883bd
Browse files Browse the repository at this point in the history
author awais qureshi <awais.qureshi@arbisoft.com> 1711529508 +0500
committer awais qureshi <awais.qureshi@arbisoft.com> 1712570123 +0500

parent e8883bd
author awais qureshi <awais.qureshi@arbisoft.com> 1711529508 +0500
committer awais qureshi <awais.qureshi@arbisoft.com> 1712570114 +0500

parent e8883bd
author awais qureshi <awais.qureshi@arbisoft.com> 1711529508 +0500
committer awais qureshi <awais.qureshi@arbisoft.com> 1712570094 +0500

feat: Adding python3.12 support.
  • Loading branch information
awais786 committed Apr 8, 2024
1 parent e8883bd commit 22493ec
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8"]
python-version: ["3.8", "3.12"]
toxenv: [django42, quality, pii_check, check_keywords]
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ upgrade: $(COMMON_CONSTRAINTS_TXT) ## update the requirements/*.txt files with t
pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in
pip install -qr requirements/pip.txt
pip install -qr requirements/pip-tools.txt
pip-compile --upgrade -o requirements/base.txt requirements/base.in
pip-compile --upgrade -o requirements/test.txt requirements/test.in
pip-compile --upgrade --allow-unsafe --rebuild -o requirements/base.txt requirements/base.in
pip-compile --upgrade --allow-unsafe --rebuild -o requirements/test.txt requirements/test.in
pip-compile --upgrade -o requirements/doc.txt requirements/doc.in
pip-compile --upgrade -o requirements/quality.txt requirements/quality.in
pip-compile --upgrade -o requirements/dev.txt requirements/dev.in
Expand Down
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ mock
inflect
social-auth-core
boto3
setuptools
4 changes: 4 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ edx_rest_api_client==4.0.1 # versions>4.0.1 have backward incompatible chan

# Django5 release is inline. So better to add constraint.
Django<4.3


# Temporary to Support the python 3.11 Upgrade
backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library
3 changes: 3 additions & 0 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -580,3 +580,6 @@ zipp==3.18.1
# via
# -r requirements/test.txt
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
3 changes: 3 additions & 0 deletions requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -536,3 +536,6 @@ zipp==3.18.1
# via
# -r requirements/test.txt
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
1 change: 1 addition & 0 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ mock
pytest
pytest-cov
pytest-django
setuptools
tox
6 changes: 6 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -488,3 +488,9 @@ zipp==3.18.1
# via
# -r requirements/base.txt
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
setuptools==69.2.0
# via
# -r requirements/base.txt
# -r requirements/test.in
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{42}
envlist = py{38,312}-django{42}
skipsdist = true

[pytest]
Expand All @@ -25,6 +25,7 @@ commands =
allowlist_externals =
make
deps =
setuptools
-r{toxinidir}/requirements/dev.txt
commands =
make pii_check
Expand All @@ -33,6 +34,7 @@ commands =
allowlist_externals =
make
deps =
setuptools
-r{toxinidir}/requirements/dev.txt
commands =
make check_keywords

0 comments on commit 22493ec

Please sign in to comment.