From 3027d4badb274f5619c110a387ba02f62d957268 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Mon, 5 Jan 2026 12:43:58 -0500 Subject: [PATCH] [SCSB-225] migrate `[tool.pytest.ini_options]` to native TOML --- .github/workflows/python_testing.yml | 1 - pyproject.toml | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python_testing.yml b/.github/workflows/python_testing.yml index b6a6359..e41a66f 100644 --- a/.github/workflows/python_testing.yml +++ b/.github/workflows/python_testing.yml @@ -29,7 +29,6 @@ jobs: TEST_BIGDATA: https://bytesalad.stsci.edu/artifactory lref: /grp/hst/cdbs/lref/ envs: | - - linux: py39-xdist - linux: py310-xdist - linux: py311-xdist - linux: py312-xdist diff --git a/pyproject.toml b/pyproject.toml index c28b813..047fbbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "calcos" description = "Calibration software for COS (Cosmic Origins Spectrograph)" -requires-python = ">=3.9" +requires-python = ">=3.10" authors = [ { name = "Phil Hodge", email = "help@stsci.edu" }, { name = "Robert Jedrzejewski" }, @@ -26,7 +26,7 @@ calcos = "calcos:main" [project.optional-dependencies] docs = ["sphinx<7"] -test = ["ci-watson", "pytest", "pytest-cov"] +test = ["ci-watson", "pytest>=9.0", "pytest-cov"] [build-system] requires = [ @@ -48,8 +48,8 @@ calcos = ["pars/*", "*.help"] [tool.setuptools_scm] version_file = "calcos/version.py" -[tool.pytest.ini_options] -minversion = "3.0" +[tool.pytest] +minversion = "9.0" norecursedirs = ["build", "doc/build", "src"] junit_family = "xunit2"