Title: `usethis tool requirements.txt` with uv and pre-commit should use URI repo · Issue #1130 · usethis-python/usethis-python · GitHub
Open Graph Title: `usethis tool requirements.txt` with uv and pre-commit should use URI repo · Issue #1130 · usethis-python/usethis-python
X Title: `usethis tool requirements.txt` with uv and pre-commit should use URI repo · Issue #1130 · usethis-python/usethis-python
Description: Currently the command adds something like this - id: uv-export name: uv-export files: ^uv\.lock$ entry: uv export --frozen --offline --quiet -o=requirements.txt language: system pass_filenames: false require_serial: true But we can do be...
Open Graph Description: Currently the command adds something like this - id: uv-export name: uv-export files: ^uv\.lock$ entry: uv export --frozen --offline --quiet -o=requirements.txt language: system pass_filenames: fal...
X Description: Currently the command adds something like this - id: uv-export name: uv-export files: ^uv\.lock$ entry: uv export --frozen --offline --quiet -o=requirements.txt language: system pass_filenames: fal...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1130
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`usethis tool requirements.txt` with uv and pre-commit should use URI repo","articleBody":"Currently the command adds something like this\n\n```\n - id: uv-export\n name: uv-export\n files: ^uv\\.lock$\n entry: uv export --frozen --offline --quiet -o=requirements.txt\n language: system\n pass_filenames: false\n require_serial: true\n```\n\nBut we can do better by:\n\n- Declaring `uv` as the name of its own dependency group, with `uv` as the dependency in the group\n- Not including this `uv` group as a declared default group so it doesn't get installed\n- Using the URI config:\n\n```\n - repo: https://github.com/astral-sh/uv-pre-commit\n rev: 0.9.8\n hooks:\n - id: uv-export\n```\nWhere 0.9.8 is just whatever the fallback version is\n\n- Ensuring it gets synced by using the config in #1015, namely\n```\n[tool.sync-with-uv.repo-to-package]\n\"https://github.com/astral-sh/uv-pre-commit\" = \"uv\"\n```","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-11-08T23:33:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1130/usethis-python/issues/1130"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d1ab1810-c607-486f-eebe-2cbfc87c7d81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C7E:E69AB:AA6CA8:EDB32F:6A4C9F16 |
| html-safe-nonce | 5530e9479e180c022d09c6b0006163f44dfd06c09684d4dd017117837199d5e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzdFOkU2OUFCOkFBNkNBODpFREIzMkY6NkE0QzlGMTYiLCJ2aXNpdG9yX2lkIjoiNjIyMzE3NDY4MDQzMTA3NTA5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 380008d9250652e6c3f990790408ddfe645927b1d4977e73b7323d8df341bc3d |
| hovercard-subject-tag | issue:3604182903 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/usethis-python/usethis-python/1130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2169083861ebff77fb8a94d0353e7e92894e88eb1be321ec4270f36af3760220/usethis-python/usethis-python/issues/1130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2169083861ebff77fb8a94d0353e7e92894e88eb1be321ec4270f36af3760220/usethis-python/usethis-python/issues/1130 |
| og:image:alt | Currently the command adds something like this - id: uv-export name: uv-export files: ^uv\.lock$ entry: uv export --frozen --offline --quiet -o=requirements.txt language: system pass_filenames: fal... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width