Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ When you change devenv's internal Python pin or its Colima or Lima versions, smo

## Invariants

- Python is pinned to 3.13.16 (`requires-python` in `pyproject.toml`, `.python-version`).
- devenv's own Python is pinned to 3.13.16 in `.python-version` and `install-devenv.sh`.
- `requires-python` in `pyproject.toml` stays a range (`>=3.13`). Repos such as sentry install devenv into their own venvs, and internal pypi must build it for every supported 3.13+. An exact pin makes the release uninstallable there.
- Use `constants.DARWIN` and `constants.LINUX` for platform checks.
- macOS gets the global tools (brew, docker CLI, colima, lima). Linux means apt-based (`dpkg` on PATH). On Linux, devenv installs no global tools, and `devenv bootstrap` exits if docker engine is missing.

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ authors = [
]
description = "Utilities for setting up a Sentry development environment"
readme = "README.md"
requires-python = "==3.13.16"
# a range, not the exact pin, so repos like sentry can install devenv into
# their own 3.13 venvs and internal pypi can build it.
# .python-version pins devenv's own interpreter.
requires-python = ">=3.13"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
Expand Down
Loading
Loading