Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (38 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
39 lines (38 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# uv workspace root, nothing more: no [project] table, so this is a
# virtual root that is never built or installed. It exists so the four
# Python trees share ONE uv.lock (beside this file). With per-directory
# locks, bench, hedgerow and millrace each embedded pyhoglake's
# requires-dist and dev group, Dependabot locked every directory on its
# own, and every bump of a pin pyhoglake carries left the dependents'
# locks stale and `uv sync --locked` red (#332).
#
# One lock means one version of every package across the members, and
# one requires-python: the intersection of the members' (>=3.12, which
# millrace's PEP 695 syntax needs). Each member keeps its own
# dependencies, dev group, pins and tool config ([tool.ruff],
# [tool.mypy], pytest markers); `uv sync` / `uv run` inside a member
# directory selects that member and finds this root on its own.
#
# The per-member ruff/mypy pins stay duplicated on purpose: a dev group
# here is not installed by a member's `uv sync`, and the lock already
# guarantees the duplicates resolve to one version.
#
# pyhoglake-variant-codec is the fifth, a Rust crate maturin builds: its
# static metadata locks without a build, and only a sync that asks for it
# (pyhoglake's `variant-codec` group) needs Rust.
[tool.uv.workspace]
members = ["pyhoglake", "hedgerow", "bench", "millrace", "pyhoglake-variant-codec"]
# The [project] table below does NOT make the root a package: with no
# [build-system] uv treats it as a virtual project (locked as
# `source = { virtual = "." }`, never built or installed), so the sync
# behaviour above is unchanged. It exists so that Sampo (.sampo/config.toml)
# has a manifest for `hoglake`, the release train: the one version of the
# server, trino harness, webui, OpenAPI spec, pyhoglake and hedgerow.
# `sampo release` bumps THIS version and writes CHANGELOG.md beside it;
# ci/release_versions.py then copies it into the other nine strings. Edit
# it only through a changeset (CONTRIBUTING.md § Adding a changeset).
[project]
name = "hoglake"
version = "1.4.12"
requires-python = ">=3.12"
classifiers = ["Private :: Do Not Upload"]