Skip to content

Commit

Permalink
Remove 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Jan 18, 2024
1 parent 6528f8a commit 258a470
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ classifiers = [
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development',
Expand All @@ -42,7 +40,6 @@ include = [
python = "^3.8"
chardet = "^4"
click = "^8"
importlib-metadata = { version = "^1.6.0", python = "~3.7" }
PyYAML = "^6"
"ruamel.yaml" = "^0.17"

Expand Down
15 changes: 9 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[tox]
min_version = 4.0
isolated_build = True
envlist = py{38,39,310,311,312}, docs, black
# python 3.11 and 3.12 test ok on Linux but fail on Windows due to Pillow
# Currently used Pillow 9.0.1 only supports Python 3.10 according to
# https://pillow.readthedocs.io/en/latest/installation.html#python-support
envlist = py{38,39,310}, docs, black

[testenv]
allowlist_externals = poetry
Expand All @@ -13,22 +16,22 @@ commands=
py.test -n auto --tb=long

# Generate coverage report only for Python3.9
[testenv:py11]
[testenv:py10]
commands=
poetry install
py.test -n auto --tb=long --cov=libpdf

[testenv:docs]
envdir = {toxworkdir}/py311
basepython = python3.11
envdir = {toxworkdir}/py310
basepython = python3.10
changedir = docs
commands =
poetry install
sphinx-build -W -b html . _build/html

[testenv:black]
envdir = {toxworkdir}/py311
basepython = python3.11
envdir = {toxworkdir}/py310
basepython = python3.10
commands=
poetry install --no-root
black --check examples libpdf tests
Expand Down

0 comments on commit 258a470

Please sign in to comment.