Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
artifact-path: |
results.xml
envs: |
- linux: py311-oldestdeps-xdist-cov
- linux: py311-oldestdeps-xdist
pytest-results-summary: true
- linux: py311-xdist
posargs: -vv
Expand Down
13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ classifiers = [
dependencies = [
"asdf>=4.2,<6",
"astropy>=6.1",
"BayesicFitting>=3.2.2",
"crds>=12.0.3",
"BayesicFitting>=3.2.3",
"crds>=12.0.4",
"drizzle>=2.2.0,<2.3.0",
"gwcs>=1.0.1,<2",
"numpy>=1.25",
Expand Down Expand Up @@ -87,7 +87,7 @@ docs = [
"sphinxcontrib-jquery",
"sphinx-automodapi",
"sphinx-rtd-theme",
"pytest-doctestplus>=0.11",
"pytest-doctestplus>=1.7",
]
sdp = [
"jplephem>=2.9",
Expand All @@ -96,9 +96,8 @@ sdp = [
test = [
"ci-watson>=0.10",
"pysiaf>=0.13.0",
"pytest>=6.0.0",
"pytest-cov>=2.9.0",
"pytest-doctestplus>=0.10.0",
"pytest>=9.0.0",
"pytest-doctestplus>=1.7",
"requests_mock>=1.0",
]
contrib = [
Expand Down Expand Up @@ -203,7 +202,7 @@ upload-dir = "docs/_build/html"
show-response = 1

[tool.pytest.ini_options]
minversion = "6.0"
minversion = "9.0"
norecursedirs = [
"docs/_build",
"docs/exts",
Expand Down
13 changes: 8 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
envlist =
check-{dependencies,docs-links}
py3{,11,12,13,14}{,-oldestdeps,-stdevdeps,-devdeps}{,-cov}{,-xdist}
requires =
tox_uv

[testenv:check-dependencies]
description = verify that install_requires in setup.cfg has correct dependencies
Expand Down Expand Up @@ -42,14 +44,15 @@ pass_env =
extras =
test
deps =
xdist: pytest-xdist
oldestdeps: minimum_dependencies
cov: pytest-cov>=7.0
xdist: pytest-xdist>=3.0
uv_resolution =
oldestdeps: lowest-direct
!oldestdeps: highest
commands_pre =
oldestdeps: minimum_dependencies jwst --filename {toxinidir}/requirements-min.txt
oldestdeps: pip install -r {toxinidir}/requirements-min.txt
stdevdeps: pip install -r {toxinidir}/requirements-dev-st.txt -U --upgrade-strategy eager
devdeps: pip install -r {toxinidir}/requirements-dev-thirdparty.txt -U --upgrade-strategy eager
pip freeze
{list_dependencies_command}
commands =
pytest {toxinidir}/docs --pyargs jwst \
cov: --cov jwst --cov-config={toxinidir}/pyproject.toml --cov-report xml:{toxinidir}/coverage.xml --cov-report term-missing \
Expand Down
Loading