René's URL Explorer Experiment


Title: Run CI on this branch and on a free-threaded interpreter, and fix the collection error that exposes by espressolee · Pull Request #236 · python-rapidjson/python-rapidjson · GitHub

Open Graph Title: Run CI on this branch and on a free-threaded interpreter, and fix the collection error that exposes by espressolee · Pull Request #236 · python-rapidjson/python-rapidjson

X Title: Run CI on this branch and on a free-threaded interpreter, and fix the collection error that exposes by espressolee · Pull Request #236 · python-rapidjson/python-rapidjson

Description: Follows up on #235, where you wrote: On the CI: yes, I think it should be added, especially because I do not have (yet?) use cases requiring the FT interpreter. Two commits, and the second one is there because the first one made it visible. 1. Run CI on this branch, on a free-threaded interpreter The workflow triggers on master only: on: push: branches: [ master ] pull_request: branches: [ master ] so nothing on free-threaded — including pull requests into it — has ever been exercised by CI. And no job runs a free-threaded interpreter, so the branch that exists in order to be free-threaded is not tested as one. This adds free-threaded to both filters and one job running the suite on 3.14t. The job asserts sys._is_gil_enabled() is False before installing anything. Without that, the job can go green while proving nothing: if the runner ever resolves 3.14t to a GIL-enabled interpreter, every test still passes and the tick would mean "the default build works", which the existing job already covers. Deliberately minimal — build and pytest only. Doctests and stubtest are left to the existing job rather than duplicated. 2. Guard the free-threading skips so they import on Python < 3.13 Turning CI on immediately produced three red jobs from one cause. Both skip conditions call sys._is_gil_enabled() at module scope, and that attribute only exists on 3.13+: ERROR collecting tests/test_circular.py not sys._is_gil_enabled(), E AttributeError: module 'sys' has no attribute '_is_gil_enabled' pytest aborts during collection, so not a single test runs. This branch's CI pins 3.11, and cibuildwheel runs the suite against every wheel it builds, so the same error took out the test job, the debug job and the macOS wheel job. getattr(sys, "_is_gil_enabled", lambda: True)() keeps the behaviour identical on 3.13+ and treats older interpreters as GIL-enabled, which they are. Verified before sending Both commits were pushed to my fork's free-threaded branch so the workflow actually ran, rather than reasoning about it. Before the second commit — run: the new free-threaded job passed, and All tests (3.11), Memory leak tests (3.11) and Build wheels arm64/macos-14 all failed with the collection error above. After — run: every job that had failed is green. job before after Tests on the free-threaded interpreter (3.14t) did not exist success All tests, on current Python (3.11) failure success Memory leak tests, debug build (3.11) failure success Build wheels, arm64 / macos-13 / windows / ubuntu failure / cancelled success At the time of writing, the two QEMU-emulated wheel builds (aarch64, ppc64le) were still running — they are slow and CIBW_TEST_SKIP excludes the suite on emulated hardware, so they do not exercise the change. No job has failed. Not in scope No change to the fix in #235, and no opinion here on the truncation vs. raise question still open there. (As on #235: developed with AI assistance. The CI runs linked above are real runs on my fork, and the before/after table is read off them.)

Open Graph Description: Follows up on #235, where you wrote: On the CI: yes, I think it should be added, especially because I do not have (yet?) use cases requiring the FT interpreter. Two commits, and the second one is...

X Description: Follows up on #235, where you wrote: On the CI: yes, I think it should be added, especially because I do not have (yet?) use cases requiring the FT interpreter. Two commits, and the second one is...

Opengraph URL: https://github.com/python-rapidjson/python-rapidjson/pull/236

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e722e543-47f7-f7da-60fc-b1581d1bad8f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC3F6:19058B:592402:7D73B0:6AF85B26
html-safe-nonce6fb9327ff7da885e8d75495b262bd98d2db1fb721cde4d9d097948cceb28afa4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Y2OjE5MDU4Qjo1OTI0MDI6N0Q3M0IwOjZBRjg1QjI2IiwidmlzaXRvcl9pZCI6IjYyMjY4NTg3NDAxODAwODE0NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3e2bacd1d522eb57ce30c397acf8402f004b16c8bf2901bdd7d926a653499e22
hovercard-subject-tagpull_request:4234818902
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-rapidjson/python-rapidjson/pull/236/files
twitter:imagehttps://avatars.githubusercontent.com/u/70549809?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/70549809?s=400&v=4
og:image:altFollows up on #235, where you wrote: On the CI: yes, I think it should be added, especially because I do not have (yet?) use cases requiring the FT interpreter. Two commits, and the second one is...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-rapidjson/python-rapidjson git https://github.com/python-rapidjson/python-rapidjson.git
octolytics-dimension-user_id25253642
octolytics-dimension-user_loginpython-rapidjson
octolytics-dimension-repository_id42155092
octolytics-dimension-repository_nwopython-rapidjson/python-rapidjson
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id42155092
octolytics-dimension-repository_network_root_nwopython-rapidjson/python-rapidjson
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-rapidjson/python-rapidjson/pull/236/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-rapidjson%2Fpython-rapidjson%2Fpull%2F236%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-rapidjson%2Fpython-rapidjson%2Fpull%2F236%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-rapidjson%2Fpython-rapidjson
Reloadhttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
Reloadhttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
Reloadhttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
python-rapidjsonhttps://github.com/python-rapidjson
python-rapidjsonhttps://github.com/python-rapidjson/python-rapidjson
Codehttps://github.com/python-rapidjson/python-rapidjson
Issues12 (12)https://github.com/python-rapidjson/python-rapidjson/issues
Pull requests7 (7)https://github.com/python-rapidjson/python-rapidjson/pulls
Actionshttps://github.com/python-rapidjson/python-rapidjson/actions
Projectshttps://github.com/python-rapidjson/python-rapidjson/projects
Wikihttps://github.com/python-rapidjson/python-rapidjson/wiki
Security and qualityhttps://github.com/python-rapidjson/python-rapidjson/security
Insightshttps://github.com/python-rapidjson/python-rapidjson/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-rapidjson%2Fpython-rapidjson%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-rapidjson%2Fpython-rapidjson%2Fissues%2Fnew%2Fchoose
lelithttps://github.com/lelit
python-rapidjson:free-threadedhttps://github.com/python-rapidjson/python-rapidjson/tree/free-threaded
espressolee:ft-cihttps://github.com/espressolee/python-rapidjson/tree/ft-ci
Conversation 1 https://github.com/python-rapidjson/python-rapidjson/pull/236
Commits 2 https://github.com/python-rapidjson/python-rapidjson/pull/236/commits
Checks 10 https://github.com/python-rapidjson/python-rapidjson/pull/236/checks
Files changed https://github.com/python-rapidjson/python-rapidjson/pull/236/files
Please reload this pagehttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
Run CI on this branch and on a free-threaded interpreter, and fix the collection error that exposes https://github.com/python-rapidjson/python-rapidjson/pull/236/files#top
Show all changes 2 commits https://github.com/python-rapidjson/python-rapidjson/pull/236/files
e5f3e0d Run CI on the free-threaded branch, and on a free-threaded interpreter espressolee Aug 8, 2026 https://github.com/python-rapidjson/python-rapidjson/pull/236/commits/e5f3e0d54b57afeca146a0fc9efbb1acd5bf8cbd
851369b Guard the free-threading skips so they import on Python < 3.13 espressolee Aug 8, 2026 https://github.com/python-rapidjson/python-rapidjson/pull/236/commits/851369b658a7ddc3dbf01c21eb9c9a8ace1d4404
Clear filters https://github.com/python-rapidjson/python-rapidjson/pull/236/files
Please reload this pagehttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
Please reload this pagehttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
main.yml https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
test_circular.py https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-01d6dcfdec603174fab1ce61b93893f82bc485444afec495e50d418b858a63bf
test_memory_leaks.py https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-ef77f95be4e339db03cde0c5ac1be163088cc94b62af6c7549237324ffb14485
.github/workflows/main.ymlhttps://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
View file https://github.com/espressolee/python-rapidjson/blob/851369b658a7ddc3dbf01c21eb9c9a8ace1d4404/.github/workflows/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-rapidjson/python-rapidjson/pull/236/{{ revealButtonHref }}
https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3
tests/test_circular.pyhttps://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-01d6dcfdec603174fab1ce61b93893f82bc485444afec495e50d418b858a63bf
View file https://github.com/espressolee/python-rapidjson/blob/851369b658a7ddc3dbf01c21eb9c9a8ace1d4404/tests/test_circular.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-rapidjson/python-rapidjson/pull/236/{{ revealButtonHref }}
https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-01d6dcfdec603174fab1ce61b93893f82bc485444afec495e50d418b858a63bf
https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-01d6dcfdec603174fab1ce61b93893f82bc485444afec495e50d418b858a63bf
tests/test_memory_leaks.pyhttps://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-ef77f95be4e339db03cde0c5ac1be163088cc94b62af6c7549237324ffb14485
View file https://github.com/espressolee/python-rapidjson/blob/851369b658a7ddc3dbf01c21eb9c9a8ace1d4404/tests/test_memory_leaks.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-rapidjson/python-rapidjson/pull/236/{{ revealButtonHref }}
https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-ef77f95be4e339db03cde0c5ac1be163088cc94b62af6c7549237324ffb14485
https://github.com/python-rapidjson/python-rapidjson/pull/236/files#diff-ef77f95be4e339db03cde0c5ac1be163088cc94b62af6c7549237324ffb14485
Please reload this pagehttps://github.com/python-rapidjson/python-rapidjson/pull/236/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.