GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: add free-threaded Python to CI by henryiii · Pull Request #1098 · pypa/packaging

Conversation

@henryiii

@henryiii henryiii commented Feb 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Adding free-threaded Python. Adding a little to the test printout to make it easier to ensure the correct Python is being used.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@henryiii
henryiii marked this pull request as ready for review February 23, 2026 22:43
brettcannon
brettcannon approved these changes Feb 23, 2026
View reviewed changes
@henryiii

henryiii commented Feb 23, 2026

Copy link
Copy Markdown
Contributor Author

Actually, since we are testing now, let's add the trove classifier, too. Will add in a second.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@henryiii

henryiii commented Feb 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

I added the classifier. I did do a quick stress test:

+@nox.session(python=["3.13t", "3.14t"])
+def testsft(session: nox.Session) -> None:
+    """
+    Run the tests multiple times in threads, stress test.
+    """
+    session.install(*nox.project.dependency_groups(PYPROJECT, "test"), "pytest-run-parallel")
+    session.install("-e.")
+
+    session.run(
+        "python",
+        "-m",
+        "pytest",
+        "--parallel-threads=2",
+        "--iterations=2",
+        *session.posargs,
+        env={"PYTEST_RUN_PARALLEL_VERBOSE": "1"},
+    )
+
+

That doesn't run quite a few tests due to monkeypatch not being threadsafe, and it fails on the musllinux tests, even though those have a monkey patch, so I guess it's running them in sequence (?), and due to caching, that causes an expected call to fail. So only test-related issues, packaging itself seems fine.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

henryiii added 2 commits February 23, 2026 18:37
@henryiii
ci: add free-threaded Python to CI
129ebab
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii
chore: add classifier for free-threaded
c68d362
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii
henryiii force-pushed the henryiii/ci/ft branch from c99976c to c68d362 Compare February 23, 2026 23:37
notatallshaw
notatallshaw approved these changes Feb 24, 2026
View reviewed changes
@henryiii
henryiii merged commit 65ed5e9 into pypa:main Feb 24, 2026
92 of 94 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@henryiii
henryiii deleted the henryiii/ci/ft branch February 24, 2026 03:08
@ngoldbaum

ngoldbaum commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Thanks for handling this Henry!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ngoldbaum pushed a commit to ngoldbaum/packaging that referenced this pull request Apr 1, 2026
@henryiii @ngoldbaum
ci: add free-threaded Python to CI (pypa#1098)
b10ce14
* ci: add free-threaded Python to CI

Signed-off-by: Henry Schreiner <[email protected]>

* chore: add classifier for free-threaded

Signed-off-by: Henry Schreiner <[email protected]>

---------

Signed-off-by: Henry Schreiner <[email protected]>
This was referenced Apr 13, 2026
26.1 release plans #1149
Closed
docs: update changelog for 26.1 #1156
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@brettcannon brettcannon brettcannon approved these changes
@notatallshaw notatallshaw notatallshaw approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@henryiii @ngoldbaum @brettcannon @notatallshaw
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.