René's URL Explorer Experiment


Title: Python 3.15: fix the help formatter, default to 3.15 by tony · Pull Request #1095 · tmux-python/tmuxp · GitHub

Open Graph Title: Python 3.15: fix the help formatter, default to 3.15 by tony · Pull Request #1095 · tmux-python/tmuxp

X Title: Python 3.15: fix the help formatter, default to 3.15 by tony · Pull Request #1095 · tmux-python/tmuxp

Description: Summary tmuxp runs on Python 3.15, which becomes the default interpreter and the version CI tests. On 3.15 every command, --version included, failed while building the parser: TmuxpHelpFormatter bound its theme to _theme, a name argparse 3.15 turned into a read-only property it reads for every help string. On 3.14 that binding was already overwritten after construction, so examples there were drawn in argparse's palette. Changes TmuxpHelpFormatter keeps tmuxp's theme on _help_theme and never writes _theme; the generated subclass binds it as a class attribute instead of overriding __init__. _example_theme() colors examples with argparse's theme on 3.14+ and tmuxp's bound theme below 3.14. --help output (colored, NO_COLOR, piped) is byte-identical to before on 3.10 and 3.14, and 3.15 matches 3.14. Tests pin the theme for the _fill_text unit tests and check which side decides example color on each Python. CHANGES: a Fixes entry. .tool-versions: python 3.15 3.14 3.13 3.12 3.11 3.10; .python-version: 3.15; the test matrix runs 3.15 in place of 3.14. Dependabot: drop the unused pillow from the dev and docs groups (41 alerts; the fixed 13.0.0 needs Python 3.11, and the docs build gives byte-identical HTML without it), certifi 2026.7.22 to 2026.10.19, and override katex to ^0.18.2 in the docs workspace (GHSA-238p-pmpm-9mq7) until mermaid-cli 12. Fixes #1094 Testing $ uv run py.test 908 passed, 2 skipped on Python 3.10.19, 3.14.6, 3.15.0 and 3.15.1. On 3.15.0 without the fix the formatter tests fail (13 of 17).

Open Graph Description: Summary tmuxp runs on Python 3.15, which becomes the default interpreter and the version CI tests. On 3.15 every command, --version included, failed while building the parser: TmuxpHelpFormatter bo...

X Description: Summary tmuxp runs on Python 3.15, which becomes the default interpreter and the version CI tests. On 3.15 every command, --version included, failed while building the parser: TmuxpHelpFormatter bo...

Opengraph URL: https://github.com/tmux-python/tmuxp/pull/1095

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4baab66d-4cc4-cb99-e069-a70fe974054a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE240:2E3FEE:42AB25F:54505C2:6B0222B0
html-safe-nonce736870948ad79052cb606a6e56eaaeda8556dc1c1a7572c794fe4688cdf52072
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjQwOjJFM0ZFRTo0MkFCMjVGOjU0NTA1QzI6NkIwMjIyQjAiLCJ2aXNpdG9yX2lkIjoiNTkyOTczNjgwNjc2ODcxNDQxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfe086cb8d5b9571ec14a0e9632d174a27a08e0c74a4cd421e9fe9f2722f45a4a
hovercard-subject-tagpull_request:4901881379
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/tmux-python/tmuxp/pull/1095/files
twitter:imagehttps://avatars.githubusercontent.com/u/26336?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/26336?s=400&v=4
og:image:altSummary tmuxp runs on Python 3.15, which becomes the default interpreter and the version CI tests. On 3.15 every command, --version included, failed while building the parser: TmuxpHelpFormatter bo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/tmux-python/tmuxp git https://github.com/tmux-python/tmuxp.git
octolytics-dimension-user_id37234308
octolytics-dimension-user_logintmux-python
octolytics-dimension-repository_id12398170
octolytics-dimension-repository_nwotmux-python/tmuxp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id12398170
octolytics-dimension-repository_network_root_nwotmux-python/tmuxp
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/tmux-python/tmuxp/pull/1095/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftmux-python%2Ftmuxp%2Fpull%2F1095%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%2Ftmux-python%2Ftmuxp%2Fpull%2F1095%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=tmux-python%2Ftmuxp
Reloadhttps://github.com/tmux-python/tmuxp/pull/1095/files
Reloadhttps://github.com/tmux-python/tmuxp/pull/1095/files
Reloadhttps://github.com/tmux-python/tmuxp/pull/1095/files
tmux-pythonhttps://github.com/tmux-python
tmuxphttps://github.com/tmux-python/tmuxp
Codehttps://github.com/tmux-python/tmuxp
Issues113 (113)https://github.com/tmux-python/tmuxp/issues
Pull requests29 (29)https://github.com/tmux-python/tmuxp/pulls
Discussionshttps://github.com/tmux-python/tmuxp/discussions
Actionshttps://github.com/tmux-python/tmuxp/actions
Security and qualityhttps://github.com/tmux-python/tmuxp/security
Insightshttps://github.com/tmux-python/tmuxp/insights
Sign up for GitHub https://github.com/signup?return_to=%2Ftmux-python%2Ftmuxp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftmux-python%2Ftmuxp%2Fissues%2Fnew%2Fchoose
tonyhttps://github.com/tony
masterhttps://github.com/tmux-python/tmuxp/tree/master
python-3.15https://github.com/tmux-python/tmuxp/tree/python-3.15
Conversation 1 https://github.com/tmux-python/tmuxp/pull/1095
Commits 8 https://github.com/tmux-python/tmuxp/pull/1095/commits
Checks 14 https://github.com/tmux-python/tmuxp/pull/1095/checks
Files changed https://github.com/tmux-python/tmuxp/pull/1095/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/1095/files
Python 3.15: fix the help formatter, default to 3.15 https://github.com/tmux-python/tmuxp/pull/1095/files#top
Show all changes 8 commits https://github.com/tmux-python/tmuxp/pull/1095/files
ced6a0e .tool-versions(python) Default to Python 3.15 tony Oct 17, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/ced6a0ecbd72193917cb28ff0c23849a931545a5
f7428be .python-version: 3.14 -> 3.15 tony Oct 17, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/f7428be348ed4aac3ee001c391c0234ca1298840
4b2e688 ci(tests) Bump Python 3.14 -> 3.15 tony Oct 17, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/4b2e688f804f3ac2fa7c80202af714eab00c139e
db727ed cli(fix[formatter]): Leave _theme to argparse tony Oct 24, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/db727ed930461be9767e4a4254717e557db7d3d5
9ad2ca7 docs(CHANGES) Record the Python 3.15 CLI fix tony Oct 24, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/9ad2ca717c8928b65a864429fe0c9e31f0f6631b
a557830 py(deps[dev,docs]) Drop unused pillow tony Oct 24, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/a557830419412dcab156b518bdd0fe7a1dd5c7a7
d1f2e1e py(deps) certifi 2026.7.22 -> 2026.10.19 tony Oct 24, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/d1f2e1e382dae673b00ab9335960ced9474645df
008a8ec js(deps[docs]) katex 0.16.47 -> 0.18.10 tony Oct 24, 2026 https://github.com/tmux-python/tmuxp/pull/1095/commits/008a8ece8ac6fda666845287dd8715d63525844f
Clear filters https://github.com/tmux-python/tmuxp/pull/1095/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/1095/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/1095/files
tests.yml https://github.com/tmux-python/tmuxp/pull/1095/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f
.python-version https://github.com/tmux-python/tmuxp/pull/1095/files#diff-652bad7c1002badcf13f8de3a5096c2724ce54ae36cd68a21ad280547dff8e87
.tool-versions https://github.com/tmux-python/tmuxp/pull/1095/files#diff-751af1a340658c7b8176fe32d7db9fadbe15d1d075daba1919a91df04155bc70
CHANGES https://github.com/tmux-python/tmuxp/pull/1095/files#diff-aac07aefec754086f5c344e2c233862f6a611c739b5647fd456c1b77d3577c79
pnpm-lock.yaml https://github.com/tmux-python/tmuxp/pull/1095/files#diff-a515625c25542655369109674f1312786d3da51433265c528d235dc3340a1bbc
pnpm-workspace.yaml https://github.com/tmux-python/tmuxp/pull/1095/files#diff-5935335ae1225af25f6310214762832bd6b5d14cbe881a42ee09e789d069dae2
pyproject.toml https://github.com/tmux-python/tmuxp/pull/1095/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
_formatter.py https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
test_formatter.py https://github.com/tmux-python/tmuxp/pull/1095/files#diff-80bbfee3a08017b5d8bcfe2de0baa5c4c0fefb5ddd5a5cccaa6e3b58686fffc2
uv.lock https://github.com/tmux-python/tmuxp/pull/1095/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
.github/workflows/tests.ymlhttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/.github/workflows/tests.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957f
.python-versionhttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-652bad7c1002badcf13f8de3a5096c2724ce54ae36cd68a21ad280547dff8e87
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/.python-version
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
.tool-versionshttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-751af1a340658c7b8176fe32d7db9fadbe15d1d075daba1919a91df04155bc70
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/.tool-versions
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
CHANGEShttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-aac07aefec754086f5c344e2c233862f6a611c739b5647fd456c1b77d3577c79
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/CHANGES
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-aac07aefec754086f5c344e2c233862f6a611c739b5647fd456c1b77d3577c79
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-aac07aefec754086f5c344e2c233862f6a611c739b5647fd456c1b77d3577c79
docs/pnpm-lock.yamlhttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-a515625c25542655369109674f1312786d3da51433265c528d235dc3340a1bbc
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/docs/pnpm-lock.yaml
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/1095/files
docs/pnpm-workspace.yamlhttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-5935335ae1225af25f6310214762832bd6b5d14cbe881a42ee09e789d069dae2
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/docs/pnpm-workspace.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-5935335ae1225af25f6310214762832bd6b5d14cbe881a42ee09e789d069dae2
pyproject.tomlhttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/tmuxp/cli/_formatter.pyhttps://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
View file https://github.com/tmux-python/tmuxp/blob/008a8ece8ac6fda666845287dd8715d63525844f/src/tmuxp/cli/_formatter.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tmux-python/tmuxp/pull/1095/{{ revealButtonHref }}
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
https://github.com/tmux-python/tmuxp/pull/1095/files#diff-e981b62f7efd9923cd9f07e9128ab785ada7592580e23f25308b11bf19f481fd
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/1095/files
Please reload this pagehttps://github.com/tmux-python/tmuxp/pull/1095/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.