Skip to content

Commit

Permalink
Remove support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed May 21, 2024
1 parent 111b781 commit 9e250b4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
RESOLWE_REDIS_PORT: 56380
strategy:
matrix:
toxenv: ["py310", "py311", "py312"]
toxenv: ["py311", "py312"]

services:
postgres:
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Changed
- **BACKWARD INCOMPATIBLE:** Require Resolwe 40.x
- **BACKWARD INCOMPATIBLE:** Use the updated xengsort version
in processes ``xengsort-index`` and ``xengsort-classify``
- **BACKWARD INCOMPATIBLE:** Remove support for ``Python 3.10``

Fixed
-----
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"tools/*.sh",
]
},
python_requires=">=3.10, <3.13",
python_requires=">=3.11, <3.13",
install_requires=(
"Django~=4.2",
"djangorestframework~=3.14.0",
Expand Down Expand Up @@ -86,7 +86,6 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
Expand Down
15 changes: 7 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py3{10,11,12}{,-partial},
py3{11,12}{,-partial},
docs,
linters,
packaging,
Expand Down Expand Up @@ -30,7 +30,6 @@ basepython =
docs,linters,packaging,extra,migrations: python3.12
py312: python3.12
py311: python3.11
py310: python3.10
extras =
packaging: package
docs: docs
Expand All @@ -41,7 +40,7 @@ setenv =
linters: PYTHONPATH = {toxinidir}/resolwe_bio/tools
passenv =
# Pass environment variables controlling project's tests.
py3{10,11,12},migrations: RESOLWE_*,RESOLWEBIO_*,DOCKER_*,DJANGO_TEST_PROCESSES
py3{11,12},migrations: RESOLWE_*,RESOLWEBIO_*,DOCKER_*,DJANGO_TEST_PROCESSES
allowlist_externals =
migrations: bash
migrations: psql
Expand All @@ -65,13 +64,13 @@ commands_pre =
commands =
# General tests commands:
# Run tests.
py3{10,11,12}: python tests/manage.py test {env:TEST_SUITE:resolwe_bio} --noinput \
py3{11,12}: python tests/manage.py test {env:TEST_SUITE:resolwe_bio} --noinput \
# Only test changes against a given Git commit reference for *-partial
# testing environments (default to "master" branch).
py3{10,11,12}-partial: --only-changes-to \
py3{10,11,12}-partial: {env:RESOLWE_TEST_ONLY_CHANGES_TO:master} \
py3{10,11,12}-partial: --changes-file-types .resolwebio-filetypes.yml \
py3{10,11,12}: --verbosity 2 --parallel
py3{11,12}-partial: --only-changes-to \
py3{11,12}-partial: {env:RESOLWE_TEST_ONLY_CHANGES_TO:master} \
py3{11,12}-partial: --changes-file-types .resolwebio-filetypes.yml \
py3{11,12}: --verbosity 2 --parallel

# Check types.
mypy: python -m mypy resolwe_bio
Expand Down

0 comments on commit 9e250b4

Please sign in to comment.