Skip to content

Conversation

@MuellerSeb
Copy link
Member

@MuellerSeb MuellerSeb commented Dec 26, 2025

  • add support for Python 3.14 (incl. free threaded support)
  • move pypy version to 3.11
  • add win arm64 wheels (without Python 3.10, since there are no numpy wheels prior to 3.11)
  • remove support for Python 3.9 (EOL)
  • fix bug in error message in variogram.pyx (undetected by cython<3.1)
  • update pyproject.toml and use setuptools>=77
  • increased coverage

@MuellerSeb MuellerSeb requested a review from Copilot December 26, 2025 13:38
@MuellerSeb MuellerSeb self-assigned this Dec 26, 2025
@MuellerSeb MuellerSeb added this to the v1.2 milestone Dec 26, 2025
@MuellerSeb MuellerSeb added bug Something isn't working enhancement New feature or request labels Dec 26, 2025
@MuellerSeb MuellerSeb linked an issue Dec 26, 2025 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the Python version support by adding Python 3.14 (including free-threaded support), removing Python 3.9 (EOL), and updating build infrastructure. It also fixes a bug in error messages in the Cython code that was previously undetected by Cython versions < 3.1.

Key Changes:

  • Added Python 3.14 support and removed Python 3.9
  • Fixed malformed f-strings in variogram.pyx error messages
  • Updated build dependencies to use setuptools>=77, numpy>=2, and Cython>=3
  • Added Windows ARM64 wheel builds and updated CI runner configuration

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/gstools_cython/variogram.pyx Fixed malformed f-string syntax in two error messages by adding missing closing braces
pyproject.toml Updated Python version support (3.9→3.10 minimum, added 3.14), modernized license field format, updated build dependencies, and adjusted cibuildwheel skip configuration
.github/workflows/main.yml Updated CI matrix to include new OS runners (windows-11-arm, macos-15-intel), upgraded cibuildwheel to v3.3.0, and updated Python/numpy version testing matrix
docs/source/conf.py Improved latex_elements formatting by using parentheses for multi-line string concatenation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MuellerSeb MuellerSeb merged commit 445af61 into main Dec 26, 2025
34 checks passed
@MuellerSeb MuellerSeb deleted the add_py314 branch December 26, 2025 16:45
@MuellerSeb MuellerSeb linked an issue Dec 26, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

More checks for the variogram submodule Free-threaded mode support

2 participants