Skip to content

Commit cab001e

Browse files
authored
Disable uv preview for releases and pre-commit hooks (#27939)
Summary -- This partially reverts #27935 as an alternative to enabling preview everywhere. Preview was initially enabled ~2 years ago (#11496), and we probably want to be more selective about preview features now. Test Plan -- Today's release, previous errors: - https://github.com/astral-sh/ruff/actions/runs/32390111175/job/96493893174?pr=27937 - https://github.com/astral-sh/ruff/actions/runs/32390111175/job/96493998150?pr=27937
1 parent f8d575f commit cab001e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ repos:
117117
hooks:
118118
- id: uv-lock
119119
priority: 0
120-
args: [--preview, --default-index=https://pypi.org/simple]
120+
args: [--default-index=https://pypi.org/simple]
121121

122122
- repo: https://github.com/astral-sh/ruff-pre-commit
123123
rev: 65dbdb59d2f2d9c3bdc343c566821ad3319ddaa3 # frozen: v0.16.3

‎scripts/release.sh‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# All additional options are passed to `rooster release`
55
set -eu
66

7-
export UV_PREVIEW=1
87
export UV_DEFAULT_INDEX='https://pypi.org/simple'
98

109
script_root="$(realpath "$(dirname "$0")")"

0 commit comments

Comments
 (0)