Skip to content

Commit 56948e2

Browse files
authored
feat: uv part 3 (cleanup) (#97627)
1 parent 9e581c4 commit 56948e2

16 files changed

+114
-793
lines changed

.github/workflows/backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ jobs:
223223
- uses: getsentry/action-setup-venv@3a832a9604b3e1a4202ae559248f26867b467cc7 # v2.1.1
224224
with:
225225
python-version: 3.13.1
226-
cache-dependency-path: requirements-dev-frozen.txt
227-
install-cmd: uv pip install -q --constraint requirements-dev-frozen.txt pip-tools
226+
cache-dependency-path: uv.lock
227+
install-cmd: echo
228228

229229
- name: check requirements
230230
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ repos:
6060
name: lint-requirements
6161
entry: python -m tools.lint_requirements
6262
language: python
63-
files: requirements-.*\.txt$
64-
additional_dependencies: [packaging==24.1]
63+
files: (^|/)uv\.lock$
6564
- id: check-mypy-bypass
6665
name: do not bypass the type checker
6766
entry: '(^# *mypy: *ignore-errors|^# *type: *ignore|\bno_type_check\b|ignore\[import-untyped\])'

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ all: develop
44
WEBPACK := pnpm run build-acceptance
55

66
freeze-requirements:
7-
@python3 -S -m tools.freeze_requirements
87
@uv lock
98

109
bootstrap:

config/hooks/post-merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ trap "rm -f $files_changed_upstream" EXIT
1111

1212
git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD >"$files_changed_upstream"
1313

14-
grep_pattern="requirements-dev-frozen.txt|uv.lock|migrations"
14+
grep_pattern="uv.lock|migrations"
1515
if [[ "$SENTRY_DEVENV_SKIP_FRONTEND" != "1" ]]; then
1616
grep_pattern+="|pnpm-lock.yaml"
1717
fi

devenv/config.ini

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,6 @@ linux_x86_64_sha256 = 6dcb28a541868a455aefb2e8d4a1283dd6bf888605a2db710f0530cec8
1313
# used for autoupdate
1414
version = 0.8.2
1515

16-
# will be removed in uv rollout stage 3
17-
[venv.sentry]
18-
python = 3.13.1
19-
path = .venv
20-
requirements = requirements-dev.txt
21-
editable =
22-
.
23-
24-
# will be removed in uv rollout stage 3
25-
[python3.13.1]
26-
darwin_x86_64 = https://github.com/indygreg/python-build-standalone/releases/download/20250106/cpython-3.13.1+20250106-x86_64-apple-darwin-install_only.tar.gz
27-
darwin_x86_64_sha256 = 4c4dafe2d59bb58e8d3ad26af637b7ae9c8141bb79738966752976861bdb103d
28-
darwin_arm64 = https://github.com/indygreg/python-build-standalone/releases/download/20250106/cpython-3.13.1+20250106-aarch64-apple-darwin-install_only.tar.gz
29-
darwin_arm64_sha256 = bbfc96038d0b6922fd783f6eb2c9bf9abb648531d23d236bc1a0c16bdd061944
30-
linux_x86_64 = https://github.com/indygreg/python-build-standalone/releases/download/20250106/cpython-3.13.1+20250106-x86_64-unknown-linux-gnu-install_only.tar.gz
31-
linux_x86_64_sha256 = bb4696825039a2b5dc7fea2c6aeb085c89fd397016b44165ec73b4224ccc83e2
32-
linux_arm64 = https://github.com/indygreg/python-build-standalone/releases/download/20250106/cpython-3.13.1+20250106-aarch64-unknown-linux-gnu-install_only.tar.gz
33-
linux_arm64_sha256 = d37aef7bdf5c27f7d006918f7cedb31f4ba07c88f61baac4ffbe0bee6d4b5248
34-
3516
[node]
3617
# upstream (https://nodejs.org/dist/) is not reliable enough
3718
# ask someone in team-devinfra to upload for you

requirements-base.txt

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)