Skip to content

Commit

Permalink
build: Drop building with python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Sep 10, 2024
1 parent 999a55a commit ac76ba1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version:
- '3.8'
- '3.11'
- '3.12'
toxenv: [django42, quality, csslint, eslint]

steps:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def is_requirement(line):
'Operating System :: OS Independent',
'Programming Language :: JavaScript',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Education',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django',
Expand Down
36 changes: 18 additions & 18 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
[tox]
envlist = csslint,eslint,py{38, 311}-django{42},quality
envlist = csslint,eslint,py{311,312}-django{42},quality

[testenv]
deps =
deps =
django42: Django>=4.2,<4.3
-rrequirements/test.txt
commands =
commands =
coverage run manage.py test
coverage report
coverage html

[testenv:clean]
commands =
commands =
coverage erase
deps =
deps =
-rrequirements/test.txt
skip_install = True

[testenv:csslint]
allowlist_externals =
allowlist_externals =
make
{toxinidir}/node_modules/csslint/dist/cli.js
passenv =
passenv =
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
commands =
commands =
make requirements_js
{toxinidir}/node_modules/csslint/dist/cli.js imagemodal/public/
deps =
deps =
skip_install = True

[testenv:eslint]
allowlist_externals =
allowlist_externals =
make
{toxinidir}/node_modules/eslint/bin/eslint.js
passenv =
passenv =
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
commands =
commands =
make requirements_js
{toxinidir}/node_modules/eslint/bin/eslint.js --fix imagemodal/public/view.js
deps =
deps =
skip_install = True

[testenv:quality]
passenv =
passenv =
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
deps =
deps =
-rrequirements/quality.txt
commands =
commands =
pycodestyle imagemodal/ --max-line-length=120
pylint imagemodal/

[testenv:transifex]
deps =
deps =
transifex-client
commands =
commands =
tx push -s

0 comments on commit ac76ba1

Please sign in to comment.