Skip to content

Test pipelines on 3.14t#940

Draft
Secrus wants to merge 1 commit into
python-pendulum:masterfrom
Secrus:test-3.14t
Draft

Test pipelines on 3.14t#940
Secrus wants to merge 1 commit into
python-pendulum:masterfrom
Secrus:test-3.14t

Conversation

@Secrus

@Secrus Secrus commented Feb 6, 2026

Copy link
Copy Markdown
Collaborator

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.
@codspeed-hq

codspeed-hq Bot commented Feb 6, 2026

Copy link
Copy Markdown

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing Secrus:test-3.14t (bc665c3) with master (02f87ce)

Summary

✅ 1 untouched benchmark

@Gaganraj2002

Gaganraj2002 commented Mar 22, 2026

Copy link
Copy Markdown

Hey! I saw this draft and I've been working on free-threading support for a few packages lately. Went ahead and opened #952 that builds on top of this with the remaining pieces:

  • gil_used = false on the pymodule (PyO3 0.27 defaults to true)
  • Free-threaded wheel builds in the release workflow (3.13t/3.14t)
  • Skipping mypy for free-threaded builds since it's not compatible yet
  • Thread safety tests

Let me know if anything needs adjusting!

Gaganraj2002 added a commit to Gaganraj2002/pendulum that referenced this pull request Mar 22, 2026
Builds on python-pendulum#940 — completes the remaining work for free-threaded support.

Rust:
- Add `gil_used = false` to `#[pymodule]` (PyO3 0.27 defaults to true)
- Codebase has zero global state, zero unsafe — all functions are pure

CI (tests.yml):
- Add 3.13t and 3.14t to test matrix
- Skip mypy/typing deps for free-threaded builds (not yet compatible)

CI (release.yml):
- Add free-threaded wheel build step (3.13t/3.14t) in the build job
- Skipped for PyPy matrix entries

Tests:
- Add concurrent thread-safety tests for parse, now, duration, diff, format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants