Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ extend-ignore =
F403
F405
exclude =
build
dist
doc
env
venv
example
tmp
_*
build,
dist,
doc,
env,
venv,
example,
tmp,
_*,
.tox,
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.9", "3.11"]
runs-on: ${{ matrix.platform }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ sphinx:
configuration: doc/conf.py
fail_on_warning: true

build:
os: "ubuntu-22.04"
tools:
python: "3.9"

python:
version: 3.8
install:
- method: pip
path: .
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def absolute_links(txt):
return txt


# Python version check. We need >= 3.6 due to e.g. f-strings
if sys.version_info < (3, 8, 0):
sys.exit("PEtab requires at least Python version 3.8")
# Python version check
if sys.version_info < (3, 9, 0):
sys.exit("PEtab requires at least Python version 3.9")

# read version from file
__version__ = ""
Expand Down Expand Up @@ -67,7 +67,7 @@ def absolute_links(txt):
"jsonschema",
],
include_package_data=True,
python_requires=">=3.8.0",
python_requires=">=3.9.0",
entry_points=ENTRY_POINTS,
extras_require={
"tests": [
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[tox]
envlist = quality,unit
isolated_build = True

[testenv]

Expand All @@ -12,7 +14,7 @@ description =
[testenv:unit]
extras = tests,reports,combine,vis
commands =
pytest --cov=petab --cov-report=xml --cov-append \
python -m pytest --cov=petab --cov-report=xml --cov-append \
tests
description =
Basic tests