Visitar URL original
Edit noxfile.py for unreleased Python tests by namurphy · Pull Request #3220 · PlasmaPy/PlasmaPy · GitHub
Skip to content

Edit noxfile.py for unreleased Python tests - #3220

Open
namurphy wants to merge 1 commit into
PlasmaPy:mainfrom
namurphy:test-unreleased-pythons
Open

namurphy wants to merge 1 commit into
PlasmaPy:mainfrom
namurphy:test-unreleased-pythons

Conversation

@namurphy

@namurphy namurphy commented Feb 21, 2026 •

Copy link
Copy Markdown
Member

Description

Enable tests against unreleased versions of Python.

Tasks

  • Update noxfile.py to get the minimum version of Python from project.requires-python in pyproject.toml.
  • Use current year to define the maximum version of Python to be tested so that unreleased Python versions get defined in
  • Override the settings in tool.uv.no-build-package to enable all packages to be built, since it's likely that many packages will not do builds for versions of Python before they are released.
  • Add a new session in noxfile.py (test_python_prereleases) that does something like session.notify('test-3.15(all)'), so that the GitHub workflow need not be updated. (Skip it between November and January since ?)
  • Add a GitHub workflow when we get the tests to pass. (This might be blocked by upstream packages.)

Context

Closes #3175.

@github-actions github-actions Bot added python Pull requests that update Python code nox Related to the nox automation software run comprehensive tests Add this label to run comprehensive tests in CI labels Feb 21, 2026
@codecov

codecov Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.59%. Comparing base (f363f1a) to head (9e58744).
⚠️ Report is 133 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3220   +/-   ##
=======================================
  Coverage   94.59%   94.59%           
=======================================
  Files         108      108           
  Lines        9872     9872           
  Branches     1501     1501           
=======================================
  Hits         9338     9338           
  Misses        332      332           
  Partials      202      202           

☔ View full report in Codecov by Harness.
📢 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.

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

Labels

nox Related to the nox automation software python Pull requests that update Python code run comprehensive tests Add this label to run comprehensive tests in CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant