Skip to content

Add python 3.14 support#401

Merged
joyvelasquez merged 13 commits into
HinodeXRT:mainfrom
joyvelasquez:add-python-3.14-support
Jul 6, 2026
Merged

Add python 3.14 support#401
joyvelasquez merged 13 commits into
HinodeXRT:mainfrom
joyvelasquez:add-python-3.14-support

Conversation

@joyvelasquez

@joyvelasquez joyvelasquez commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Add 3.14 to supported_python_versions in the noxfile and add a Tests, Python 3.14, Ubuntu job to the CI matrix. All core
dependencies (numpy, scipy, astropy, sunpy, matplotlib, scikit-image) , Closes #342.

joyvelasquez and others added 11 commits April 22, 2026 16:51
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.37.0 → 0.37.1](python-jsonschema/check-jsonschema@0.37.0...0.37.1)
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2)
- [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.4...v0.15.9)
- [github.com/tox-dev/pyproject-fmt: v2.16.2 → v2.21.0](tox-dev/pyproject-fmt@v2.16.2...v2.21.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Joy <74623359+joyvelasquez@users.noreply.github.com>
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.37.1 → 0.37.2](python-jsonschema/check-jsonschema@0.37.1...0.37.2)
- [github.com/astral-sh/ruff-pre-commit: v0.15.9 → v0.15.12](astral-sh/ruff-pre-commit@v0.15.9...v0.15.12)
- [github.com/tox-dev/pyproject-fmt: v2.21.0 → v2.21.1](tox-dev/pyproject-fmt@v2.21.0...v2.21.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.15](astral-sh/ruff-pre-commit@v0.15.12...v0.15.15)
- [github.com/tox-dev/pyproject-fmt: v2.21.1 → v2.23.0](tox-dev/pyproject-fmt@v2.21.1...v2.23.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…26/06/07 (HinodeXRT#395)

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
…260621 (HinodeXRT#397)

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
…les (HinodeXRT#396)

* Update gallery docs for data processing and instrument response examples

* Add missing __init__.py files for gallery subpackages

* Force the Agg backend and fix the coverage target

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Check the Fido.search calls in temperature_from_filter_ratios.py

* Check the Fido.search calls in deconvolving.py

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Update general documentation files

* Revert index.rst and glossary.rst - depend on DEM content not yet in main

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
HinodeXRT#399)

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
* Enable parallel test execution in noxfile

* Ignore sphinx-gallery scripts in pytest

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
@joyvelasquez joyvelasquez self-assigned this Jul 6, 2026
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.35%. Comparing base (1ac0dc1) to head (edb8266).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #401   +/-   ##
=======================================
  Coverage   87.35%   87.35%           
=======================================
  Files          26       26           
  Lines        1819     1819           
  Branches      106      106           
=======================================
  Hits         1589     1589           
  Misses        184      184           
  Partials       46       46           

☔ 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.

@joyvelasquez joyvelasquez added the github_actions Pull requests that update GitHub Actions code label Jul 6, 2026
@joyvelasquez joyvelasquez merged commit 3f213b7 into HinodeXRT:main Jul 6, 2026
10 checks passed
@joyvelasquez

Copy link
Copy Markdown
Contributor Author

@namurphy - this completes the core of #342: Python 3.14 is now in supported_python_versions and runs as a Tests, Python 3.14, Ubuntu CI job, which passed in ~1 minute on the first run with the full suite (all core dependencies — numpy, scipy, astropy, sunpy, matplotlib, scikit-image). Changelog entry included.

The remaining task from the issue - bumping the documentation builds (docpython in the noxfile and the Documentation/Packaging CI jobs) to 3.14- is deliberately left out to keep this PR minimal, per your note about doc-build consistency.

Close #342 .

@joyvelasquez joyvelasquez deleted the add-python-3.14-support branch July 6, 2026 18:03
@joyvelasquez joyvelasquez added this to the 0.6.0 milestone Jul 6, 2026
joyvelasquez added a commit to joyvelasquez/xrtpy that referenced this pull request Jul 6, 2026
* Exclude xrt_dem_iterative from pytest collection until v0.6.0

* [pre-commit.ci] pre-commit autoupdate (HinodeXRT#388)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.37.0 → 0.37.1](python-jsonschema/check-jsonschema@0.37.0...0.37.1)
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2)
- [github.com/astral-sh/ruff-pre-commit: v0.15.4 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.4...v0.15.9)
- [github.com/tox-dev/pyproject-fmt: v2.16.2 → v2.21.0](tox-dev/pyproject-fmt@v2.16.2...v2.21.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Joy <74623359+joyvelasquez@users.noreply.github.com>

* [pre-commit.ci] pre-commit autoupdate (HinodeXRT#391)

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.37.1 → 0.37.2](python-jsonschema/check-jsonschema@0.37.1...0.37.2)
- [github.com/astral-sh/ruff-pre-commit: v0.15.9 → v0.15.12](astral-sh/ruff-pre-commit@v0.15.9...v0.15.12)
- [github.com/tox-dev/pyproject-fmt: v2.21.0 → v2.21.1](tox-dev/pyproject-fmt@v2.21.0...v2.21.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* [pre-commit.ci] pre-commit autoupdate (HinodeXRT#392)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.15](astral-sh/ruff-pre-commit@v0.15.12...v0.15.15)
- [github.com/tox-dev/pyproject-fmt: v2.21.1 → v2.23.0](tox-dev/pyproject-fmt@v2.21.1...v2.23.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update XRT CCD contamination files (geny, sav) - DB covers through 2026/06/07 (HinodeXRT#395)

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>

* Update XRT CCD contamination files (geny, sav) - DB covers through 20260621 (HinodeXRT#397)

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>

* Update gallery docs for data processing and instrument response examples (HinodeXRT#396)

* Update gallery docs for data processing and instrument response examples

* Add missing __init__.py files for gallery subpackages

* Force the Agg backend and fix the coverage target

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Check the Fido.search calls in temperature_from_filter_ratios.py

* Check the Fido.search calls in deconvolving.py

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update general documentation files (HinodeXRT#398)

* Update general documentation files

* Revert index.rst and glossary.rst - depend on DEM content not yet in main

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update conftest, pyproject, and response __init__ with cleanup changes (HinodeXRT#399)

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>

* Enable parallel test execution in noxfile (HinodeXRT#400)

* Enable parallel test execution in noxfile

* Ignore sphinx-gallery scripts in pytest

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>

* Add Python 3.14 to the test matrix

* Add changelog entry for Python 3.14 support

---------

Co-authored-by: joyvelasquez <joy.velasquez@cfa.harvard>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Python 3.14 in October 2025

1 participant