Skip to content

build: Enable building with python3.14t#604

Closed
ewuerger wants to merge 1 commit into
masterfrom
enable-building-with-py314t
Closed

build: Enable building with python3.14t#604
ewuerger wants to merge 1 commit into
masterfrom
enable-building-with-py314t

Conversation

@ewuerger

@ewuerger ewuerger commented Nov 5, 2025

Copy link
Copy Markdown
Collaborator

This one is used in capella-polarion #177.

@Wuestengecko Wuestengecko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's keep this PR on draft for now, until we actually can answer all open questions.

Comment thread Cargo.toml

[dependencies]
pyo3 = { version = "0.27.1", features = ["abi3-py310", "extension-module"] }
pyo3 = { version = "0.27.1", features = ["extension-module"] }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change globally disables abi3 wheel builds for non-t variants too. We either need to keep this feature flag (and conditionally disable it during t builds) or change the CI to build one wheel each for the full matrix of {Linux,Mac,Windows}_{x86_64,arm64}_py3.{10,11,12,13,13t,14,14t}.

Comment thread pyproject.toml
"awesomeversion>=25.5.0",
"diskcache>=5.6.3",
"lxml>=6.0.0,<7",
"lxml>=6.0.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just so we don't lose track of this: We should keep the supported upper bound, and watch how LXML releases their free-threaded update (whether they stay on 6.x after all, or we need to bump to allow 7.x). That's something for when the LXML PR leaves alpha state :)

Comment thread pyproject.toml
Comment on lines -219 to -220
[tool.distutils.bdist_wheel]
py_limited_api = "cp310"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same comment as on the feature flag in Cargo.toml (although I'm not sure if we really still need this for abi3 wheels to work).

@Wuestengecko Wuestengecko marked this pull request as draft November 5, 2025 16:26
@Wuestengecko Wuestengecko force-pushed the enable-building-with-py314t branch from eb74bb1 to f277ee2 Compare November 28, 2025 08:48
@Wuestengecko

Copy link
Copy Markdown
Member

Superseded by #607.

@Wuestengecko Wuestengecko deleted the enable-building-with-py314t branch December 9, 2025 09:38
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