TST: use Python 3.14t for free-threaded tests by mwtoews · Pull Request #2462 · shapely/shapely · GitHub
Skip to content

TST: use Python 3.14t for free-threaded tests#2462

Merged
mwtoews merged 1 commit into
shapely:mainfrom
mwtoews:cp314t
Jul 2, 2026
Merged

TST: use Python 3.14t for free-threaded tests#2462
mwtoews merged 1 commit into
shapely:mainfrom
mwtoews:cp314t

Conversation

@mwtoews

@mwtoews mwtoews commented Jun 30, 2026

Copy link
Copy Markdown
Member

This changes testing free-threaded Python from 3.13t (which was regarded as experimental) to 3.14t. This fixes an issue where the latest numpy does not have the experimental 3.13t wheels anymore; cibuildwheel v4.0 builds cp314t onwards.

Two other minor changes are put here for convenience (of not creating more PRs):

  • Ignore *.lock files, e.g., uv, pixi, Pipfile
  • Rename dependency group "test" to "tests", to align with the "tests" directory name (in "shapely")

Comment thread pyproject.toml

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.

This is sort-of a breaking change. Not sure how many people are actually installing with [test], but its in the README, so people might actually do this.

What's the reason for changing it?

@mwtoews mwtoews Jun 30, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's not exactly breaking, as I removed the "test" extra last week and re-labelled it as a PEP 735 dependency group e10c6da . It's just a renaming of the group name. There isn't anything in the README, but docs/installation.rst now suggests using --group dev to get a few other development dependencies.

@mwtoews mwtoews merged commit 02978dd into shapely:main Jul 2, 2026
57 of 58 checks passed
@mwtoews mwtoews deleted the cp314t branch July 2, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants