Skip to content

dynamically test with all supported Python versions using new fill: parameter#10428

Open
zacharyburnett wants to merge 1 commit into
spacetelescope:mainfrom
zacharyburnett:test/all_supported_pythons
Open

dynamically test with all supported Python versions using new fill: parameter#10428
zacharyburnett wants to merge 1 commit into
spacetelescope:mainfrom
zacharyburnett:test/all_supported_pythons

Conversation

@zacharyburnett
Copy link
Copy Markdown
Collaborator

@zacharyburnett zacharyburnett commented Apr 7, 2026

uses fill: to fill in toxenvs py311-xdist, py312-xdist, py313-xdist, py314-xdist (reading requires-python: from pyproject.toml)

analogous to spacetelescope/romancal#2256

Tasks

  • If you have a specific reviewer in mind, tag them.
  • add a build milestone, i.e. Build 12.0 (use the latest build if not sure)
  • Does this PR change user-facing code / API? (if not, label with no-changelog-entry-needed)
    • write news fragment(s) in changes/: echo "changed something" > changes/<PR#>.<changetype>.rst (see changelog readme for instructions)
      • if your change breaks step-level or public API (as defined in the docs), also add a changes/<PR#>.breaking.rst news fragment
    • update or add relevant tests
    • update relevant docstrings and / or docs/ page
    • start a regression test and include a link to the running job (click here for instructions)
      • Do truth files need to be updated ("okified")?
        • after the reviewer has approved these changes, run okify_regtests to update the truth files
  • if a JIRA ticket exists, make sure it is resolved properly

@github-actions github-actions Bot added the automation Continuous Integration (CI) and testing automation tools label Apr 7, 2026
@zacharyburnett zacharyburnett force-pushed the test/all_supported_pythons branch from 9957461 to 2b1d4e0 Compare April 7, 2026 15:34
@zacharyburnett zacharyburnett marked this pull request as ready for review April 7, 2026 15:37
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.76%. Comparing base (167ed25) to head (455ae2d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10428   +/-   ##
=======================================
  Coverage   85.76%   85.76%           
=======================================
  Files         372      372           
  Lines       40032    40032           
=======================================
  Hits        34334    34334           
  Misses       5698     5698           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/tests.yml Outdated
Comment thread .github/workflows/tests.yml
@pllim

This comment was marked as resolved.

@zacharyburnett zacharyburnett force-pushed the test/all_supported_pythons branch from 2b1d4e0 to 455ae2d Compare April 8, 2026 13:12
Comment on lines +64 to +65
# `tox` does not currently respect `requires-python` versions when creating testing environments;
# if this breaks, add an upper pin to `requires-python` and revert this py3 to the latest working version
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs a decision from @tapastro on cost/benefit

Comment on lines +66 to +69
- linux: py3-stdevdeps-xdist
- linux: py3-devdeps-xdist
- macos: py3-stdevdeps-xdist
- macos: py3-devdeps-xdist
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these run devdeps tests on the latest available Python version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation Continuous Integration (CI) and testing automation tools no-changelog-entry-needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants