Commit Graph
14 Commits
Author SHA1 Message Date
Alex Waygood 1b93171700 [ty] Add NumPy to ecosystem runs (#30572) 2026-11-19 13:18:13 +00:00
David Peter fca4b6eb67 [ty] Pick up the schema_salad ecosystem setup fix (#30136)
Update Ruff's locked `ecosystem-analyzer` revision to pick up the
`schema_salad` setup fix. Align the setup script's `mypy-primer` lock
with the analyzer. [ecosystem-analyzer
#246](https://github.com/astral-sh/ecosystem-analyzer/pull/246) ·
[mypy_primer #275](https://github.com/hauntsaninja/mypy_primer/pull/275)

The lock checks passed, and the setup script installed `schema_salad` at
`0fd6c25fb0` with the dependency cutoff from the failing ecosystem run.
`uv pip check` passed.
2026-11-06 15:24:47 +00:00
Zanie Blueandzaniebot c79af46103 Require hashes for build dependencies (#29336)
Enable `require-build-hashes` for the Python projects and inline scripts
so isolated builds require declared hashes for their build dependencies.
Pin the build backends and their dependencies with hashes.

---------

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-15 20:15:23 +01:00
Alex Waygood 8ecfc92734 Check script lockfiles in CI (#29021) 2026-10-02 14:28:56 +01:00
Alex Waygood f7446a5970 [ty] Update ecosystem pins and refresh script lockfiles (#29017) 2026-09-30 10:38:07 +00:00
William Woodruff f96c18b8ae Use cargo insta, cargo nextest, cargo codspeed from toolchain (#28210)
Signed-off-by: William Woodruff <william@yossarian.net>
2026-09-01 14:52:34 +00:00
William WoodruffandAlex Waygood 91a07f5e2d Lift cargo-fuzz into astral-dev-toolchain (#28200)
## Summary

Continues #28197 by lifting `cargo-fuzz` into the dev toolchain.

<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan

NFC, internal only. I confirmed that `./init-fuzzer.sh` still runs as
expected. I'm less positive about the CI changes.

<!-- How was it tested? -->

---------

Signed-off-by: William Woodruff <william@yossarian.net>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2026-08-31 20:34:06 +00:00
William Woodruff da9e283158 Swap cargo shear and hyperfine to the Astral toolchain (#28197)
Signed-off-by: William Woodruff <william@yossarian.net>
2026-08-31 14:19:43 -04:00
Alex Waygood 974d3cbc04 Upgrade ecosystem-analyzer and mypy_primer to the latest upstream pins (#27932) 2026-08-20 13:56:26 +00:00
zaniebotandzaniebot 6dd1fa88eb Require wheels for Python tooling dependencies (#27861)
Python tooling can currently build third-party source distributions. Set
`no-build` in the maintained Python projects and PEP 723 scripts,
retaining named exceptions for Git-pinned tooling and the local
ecosystem runner. Pin the isolated build dependencies for those
exceptions, including their transitive requirements.

Follows merged astral-sh/ruff#27856, which gives the legacy `ruff-lsp`
suite a dedicated, locked Python 3.12 test environment.

Follow-up to astral-sh/ruff#27843. Replaces astral-sh/ruff#27840, which
closed when the merged docs branch was deleted.

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-08-19 14:31:32 +00:00
Alex Waygood d130926f9a [ty] Update ecosystem-analyzer and mypy-primer pins (#27811) 2026-08-17 19:19:19 +01:00
Micha Reiser 4f758843ae [ty] Install primer dependencies for memory reports (#27500) 2026-08-05 12:06:54 +00:00
Alex Waygood 6cbd59b511 Set exclude-newer = "7 days" in our PEP-723 scripts (#25285)
## Summary

This helps reduce spurious changes to the lockfile if you run these
scripts on a machine that has a global `exclude-newer` value set in a
`~/.config/uv.toml` file or similar. It also seems good more generally
to set an `exclude-newer` value for these scripts: dependency cooldowns
are better for security.

Note that if the machine, hypothetically, also set `UV_DEFAULT_INDEX` as
an environment variable to something other than `pypi.org/simple`, there
would still be changes to the lockfile, so this change may be necessary
but not sufficient for lockfile stability on _certain_ corporate
machines.

## Test Plan

I ensured that the `UV_DEFAULT_INDEX` environment variable was set to
`pypi.org/simple` on my machine and then ran `mdtest.py` using `uv run`.
I didn't run `setup_primer_project.py`, but I did lock it using `uv lock
--script`.
2026-05-21 11:18:48 +00:00
David Peter 7f275f431b [ty] Pin mypy_primer in setup_primer_project.py (#24020)
## Summary

Pin mypy_primer (reference:
https://github.com/astral-sh/ruff/pull/24016#discussion_r2947047615)
2026-03-17 21:26:10 +01:00