From f92cf1a7d890e4e6b1001358000343f05ca5add5 Mon Sep 17 00:00:00 2001 From: arthurmccray Date: Fri, 18 Sep 2026 00:00:28 -0700 Subject: [PATCH] decreasing python version floor to 3.11 --- .github/workflows/build.yml | 2 +- pyproject.toml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9dada5..9266066 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index a97a633..53fc7b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "emdatabase" version = "0.4.0" description = "A database for electron microscopy data using pooch to download and manage files." readme = "README.md" -requires-python = ">=3.12" +requires-python = ">=3.11" license = "MIT" license-files = ["LICENSE"] authors = [ @@ -25,6 +25,7 @@ classifiers = [ "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Physics", @@ -67,12 +68,12 @@ select = ["E4", "E7", "E9", "F", "I"] typeCheckingMode = "standard" include = ["emdatabase"] exclude = ["**/__pycache__", "docs", "build"] -pythonVersion = "3.12" +pythonVersion = "3.11" [tool.pytest.ini_options] # `slow` tests pull down the large datasets. They are deselected by default so # CI checks that every source URL resolves without moving hundreds of megabytes -# on each of the six matrix legs. Run them with `pytest -m slow`. +# on each of the nine matrix legs. Run them with `pytest -m slow`. addopts = "-m 'not slow and not network'" markers = [ "slow: downloads a large dataset; deselected by default",