René's URL Explorer Experiment


Title: Fix `_uv_init_dir` fixture to use current Python version for `requires-python` by Copilot · Pull Request #1862 · usethis-python/usethis-python · GitHub

Open Graph Title: Fix `_uv_init_dir` fixture to use current Python version for `requires-python` by Copilot · Pull Request #1862 · usethis-python/usethis-python

X Title: Fix `_uv_init_dir` fixture to use current Python version for `requires-python` by Copilot · Pull Request #1862 · usethis-python/usethis-python

Description: Identify root cause: _uv_init_dir fixture hardcodes --python 3.13, causing requires-python = ">=3.13" mismatch with CI Python 3.10 Add test_uv_init_dir_requires_python_compatible to tests/test_suite.py as a guard test Fix _uv_init_dir fixture in conftest.py to use the current Python version Add skipif(sys.version_info < (3, 11)) to test_config and test_pre_commit_integration (they assume no tomli is added, which is only true on Python >= 3.11) Add test_config_with_tomli and test_pre_commit_integration_with_tomli that skip on Python >= 3.11 and verify the tomli-inclusive output on Python 3.10 Add is_uv_python_available(version) to src/_test.py: queries uv python list --only-installed to check if a Python version is available via uv, independent of the current interpreter Fix test_file_doesnt_exist skip condition: add sys.version_info > (3, 13) — Python 3.13 may be installed in uv but uv python pin 3.13 fails when requires-python = ">=3.14" (Python 3.14 runner). Follow-up: #1872 Add tests for is_uv_python_available in tests/test__test.py (7 tests covering: current Python available, nonsense version, uv not found, version matched/unmatched from mocked output, empty output, partial version non-match) All static checks pass (prek + basedpyright)

Open Graph Description: Identify root cause: _uv_init_dir fixture hardcodes --python 3.13, causing requires-python = ">=3.13" mismatch with CI Python 3.10 Add test_uv_init_dir_requires_python_compatible to t...

X Description: Identify root cause: _uv_init_dir fixture hardcodes --python 3.13, causing requires-python = &quot;&gt;=3.13&quot; mismatch with CI Python 3.10 Add test_uv_init_dir_requires_python_com...

Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1862

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4ec7f69d-16f2-eecc-f9f0-c2771efcffa7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6B8:5105D:1394574:1B216D0:6A4EA2F8
html-safe-noncef5c71ec557dc011b81f1303170de604bb7ec0d674f60ba142d220d5b98c76a11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkI4OjUxMDVEOjEzOTQ1NzQ6MUIyMTZEMDo2QTRFQTJGOCIsInZpc2l0b3JfaWQiOiIyMDM4MTM0MjA3NjI5MTQwNzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf8273a76d46562f64e6ca8c47568a03d37d7af042b8ee91a25c1bccaf8d94cb0
hovercard-subject-tagpull_request:3497502930
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/usethis-python/usethis-python/pull/1862/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:altIdentify root cause: _uv_init_dir fixture hardcodes --python 3.13, causing requires-python = ">=3.13" mismatch with CI Python 3.10 Add test_uv_init_dir_requires_python_compatible to t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git
octolytics-dimension-user_id216362695
octolytics-dimension-user_loginusethis-python
octolytics-dimension-repository_id842189705
octolytics-dimension-repository_nwousethis-python/usethis-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id842189705
octolytics-dimension-repository_network_root_nwousethis-python/usethis-python
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/usethis-python/usethis-python/pull/1862/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1862%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1862%2Ffiles
Sign up https://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=usethis-python%2Fusethis-python
Reloadhttps://github.com/usethis-python/usethis-python/pull/1862/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1862/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1862/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1862/files
usethis-python https://github.com/usethis-python
usethis-pythonhttps://github.com/usethis-python/usethis-python
Notifications https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Fork 5 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Star 19 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Code https://github.com/usethis-python/usethis-python
Issues 163 https://github.com/usethis-python/usethis-python/issues
Pull requests 4 https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality 0 https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Code https://github.com/usethis-python/usethis-python
Issues https://github.com/usethis-python/usethis-python/issues
Pull requests https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
nathanjmcdougallhttps://github.com/nathanjmcdougall
mainhttps://github.com/usethis-python/usethis-python/tree/main
copilot/check-requires-python-versionhttps://github.com/usethis-python/usethis-python/tree/copilot/check-requires-python-version
Conversation 10 https://github.com/usethis-python/usethis-python/pull/1862
Commits 6 https://github.com/usethis-python/usethis-python/pull/1862/commits
Checks 20 https://github.com/usethis-python/usethis-python/pull/1862/checks
Files changed https://github.com/usethis-python/usethis-python/pull/1862/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1862/files
Fix _uv_init_dir fixture to use current Python version for requires-python https://github.com/usethis-python/usethis-python/pull/1862/files#top
Show all changes 6 commits https://github.com/usethis-python/usethis-python/pull/1862/files
d4780f7 Initial plan Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1862/commits/d4780f7ac0cba76c5ef8968c6907af80a28ef502
bde7fbe Fix _uv_init_dir fixture to use current Python version and add test f… Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1862/commits/bde7fbe473b52468c3618cead13cf2eb55b255de
28d5bd7 Add skipif markers to codespell tests for Python version-dependent to… Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1862/commits/28d5bd71ce5fb7feeddab80382ed83530c785b5e
8fb1a84 Add is_uv_python_available() to _test.py and skip 3.13-only sonarqube… Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1862/commits/8fb1a84f17bdde3608d9a8f70f05a489001f6efc
38f88e0 Add tests for is_uv_python_available in tests/test__test.py Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1862/commits/38f88e09f43eefb3ae879feca86f4dbb79d17826
21d4bc6 Fix skipif for test_file_doesnt_exist: also skip when current Python … Copilot Apr 7, 2026 https://github.com/usethis-python/usethis-python/pull/1862/commits/21d4bc6d5af92e7d94edd8947924655b78ef4d4f
Clear filters https://github.com/usethis-python/usethis-python/pull/1862/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1862/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1862/files
_test.py https://github.com/usethis-python/usethis-python/pull/1862/files#diff-a393bec90e317fd862dcc37d7567e416888c618051c4e7ff0da34741a541f380
conftest.py https://github.com/usethis-python/usethis-python/pull/1862/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
test__test.py https://github.com/usethis-python/usethis-python/pull/1862/files#diff-a6ab2759cc72d50d0e4069a7e9cd1d02b5566bc16397b3c73e49b7fa56f7e162
test_suite.py https://github.com/usethis-python/usethis-python/pull/1862/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
test_core_tool.py https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
test_sonarqube_config.py https://github.com/usethis-python/usethis-python/pull/1862/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
src/_test.pyhttps://github.com/usethis-python/usethis-python/pull/1862/files#diff-a393bec90e317fd862dcc37d7567e416888c618051c4e7ff0da34741a541f380
View file https://github.com/usethis-python/usethis-python/blob/21d4bc6d5af92e7d94edd8947924655b78ef4d4f/src/_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1862/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-a393bec90e317fd862dcc37d7567e416888c618051c4e7ff0da34741a541f380
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-a393bec90e317fd862dcc37d7567e416888c618051c4e7ff0da34741a541f380
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-a393bec90e317fd862dcc37d7567e416888c618051c4e7ff0da34741a541f380
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-a393bec90e317fd862dcc37d7567e416888c618051c4e7ff0da34741a541f380
tests/conftest.pyhttps://github.com/usethis-python/usethis-python/pull/1862/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
View file https://github.com/usethis-python/usethis-python/blob/21d4bc6d5af92e7d94edd8947924655b78ef4d4f/tests/conftest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1862/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
tests/test__test.pyhttps://github.com/usethis-python/usethis-python/pull/1862/files#diff-a6ab2759cc72d50d0e4069a7e9cd1d02b5566bc16397b3c73e49b7fa56f7e162
View file https://github.com/usethis-python/usethis-python/blob/21d4bc6d5af92e7d94edd8947924655b78ef4d4f/tests/test__test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1862/{{ revealButtonHref }}
tests/test_suite.pyhttps://github.com/usethis-python/usethis-python/pull/1862/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
View file https://github.com/usethis-python/usethis-python/blob/21d4bc6d5af92e7d94edd8947924655b78ef4d4f/tests/test_suite.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1862/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
tests/usethis/_core/test_core_tool.pyhttps://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
View file https://github.com/usethis-python/usethis-python/blob/21d4bc6d5af92e7d94edd8947924655b78ef4d4f/tests/usethis/_core/test_core_tool.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1862/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7
tests/usethis/_integrations/sonarqube/test_sonarqube_config.pyhttps://github.com/usethis-python/usethis-python/pull/1862/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
View file https://github.com/usethis-python/usethis-python/blob/21d4bc6d5af92e7d94edd8947924655b78ef4d4f/tests/usethis/_integrations/sonarqube/test_sonarqube_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1862/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
https://github.com/usethis-python/usethis-python/pull/1862/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1862/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.