Skip to content

Commit

Permalink
feat!: Drop python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Nov 22, 2024
1 parent 3ce3bf9 commit 00d47ed
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion edx_proctoring/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""

# Be sure to update the version number in edx_proctoring/package.json
__version__ = '4.18.4'
__version__ = '5.0.0'
42 changes: 21 additions & 21 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
[tox]
envlist =
py{38,311,312}-celery{50}-django{42}-drflatest
envlist =
py{311,312}-celery{50}-django{42}-drflatest
quality,
version_check,
pii_check,
translations-django{42}

[testenv]
deps =
deps =
django42: Django>=4.2,<4.3
drflatest: djangorestframework
celery50: -r{toxinidir}/requirements/celery50.txt
-rrequirements/test.txt
commands =
commands =
python -Wd -m pytest {posargs:-n 3}

[testenv:js_tests]
allowlist_externals =
allowlist_externals =
npm
make
commands =
commands =
npm install -g gulp-cli
npm install
make test-js

[testenv:js_lint]
allowlist_externals =
allowlist_externals =
npm
make
commands =
commands =
npm install -g gulp-cli
npm install
make lint-js

[testenv:rst_validation]
allowlist_externals =
allowlist_externals =
make
deps =
deps =
-r{toxinidir}/requirements/quality.txt
commands =
commands =
make quality-rst

[testenv:quality]
allowlist_externals =
allowlist_externals =
make
rm
touch
deps =
deps =
-r{toxinidir}/requirements/quality.txt
-r{toxinidir}/requirements/test.txt
commands =
commands =
pylint edx_proctoring
pycodestyle edx_proctoring
isort --check-only --diff edx_proctoring manage.py setup.py

[testenv:version_check]
deps =
deps =
-r{toxinidir}/requirements/base.txt
commands =
commands =
python {toxinidir}/edx_proctoring/scripts/version_check.py

[testenv:pii_check]
allowlist_externals =
allowlist_externals =
make
deps =
deps =
-r{toxinidir}/requirements/test.txt
Django>=4.2,<4.3
commands =
commands =
make pii_check

[testenv:translations]
allowlist_externals =
allowlist_externals =
make
deps =
django42: Django>=4.2,<4.3
-rrequirements/test.txt
commands =
commands =
sudo apt-get update
sudo apt-get install --no-install-recommends -y gettext
make validate_translations
Expand Down

0 comments on commit 00d47ed

Please sign in to comment.