-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (137 loc) · 4.55 KB
/
Copy pathpyproject.toml
File metadata and controls
146 lines (137 loc) · 4.55 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "uv"
version = "0.12.7"
description = "An extremely fast Python package and project manager, written in Rust."
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
requires-python = ">=3.8"
keywords = [
"uv", "requirements", "packaging"
]
license="MIT OR Apache-2.0"
license-files = ["LICENSE-APACHE", "LICENSE-MIT"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Rust",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries",
]
readme = "README.md"
[project.urls]
Repository = "https://github.com/astral-sh/uv"
Documentation = "https://docs.astral.sh/uv"
Changelog = "https://github.com/astral-sh/uv/blob/main/CHANGELOG.md"
Releases = "https://github.com/astral-sh/uv/releases"
Discord = "https://discord.gg/astral-sh"
[tool.maturin]
bindings = "bin"
editable-profile = "dev"
manifest-path = "crates/uv/Cargo.toml"
module-name = "uv"
python-source = "python"
strip = true
include = [
{ path = "rust-toolchain.toml", format = "sdist" },
# this one isn't discovered by maturin because it's behind a feature flag
{ path = "crates/uv-performance-memory-allocator/**/*", format = "sdist" },
{ path = "crates/uv-trampoline-builder/trampolines/*", format = "sdist" },
# https://github.com/rust-lang/cargo/issues/5933
{ path = "LICENSE-APACHE", format = "sdist" },
{ path = "LICENSE-MIT", format = "sdist" },
]
[tool.rooster]
changelog-contributors = false # We exclude contributors from the CHANGELOG file
major-labels = [] # We do not use the major version number yet
minor-labels = ["breaking"]
ignore-labels = ["internal", "ci", "testing", "automations"]
version_files = [
"README.md",
"pyproject.toml",
"crates/uv/Cargo.toml",
"crates/uv-version/Cargo.toml",
"crates/uv-build/Cargo.toml",
"crates/uv-build/pyproject.toml",
{ target = "crates/uv-static/src/env_vars.rs", replace = "next release" },
"docs/getting-started/installation.md",
"docs/guides/integration/docker.md",
"docs/guides/integration/pre-commit.md",
"docs/guides/integration/github.md",
"docs/guides/integration/gitlab.md",
"docs/guides/integration/aws-lambda.md",
"docs/guides/projects.md",
"docs/concepts/build-backend.md",
"docs/concepts/projects/init.md",
"docs/concepts/projects/workspaces.md",
{ target = "docs/reference/environment.md", replace = "next release" },
]
[tool.rooster.section-labels]
"Breaking changes" = ["breaking"]
"Enhancements" = ["enhancement", "compatibility", "error messages"]
"Preview features" = ["preview"]
"Configuration" = ["configuration"]
"Performance" = ["performance"]
"Bug fixes" = ["bug"]
"Rust API" = ["rustlib"]
"Documentation" = ["documentation"]
"Other changes" = ["__unknown__"]
[dependency-groups]
docs = [
"black>=23.10.0",
"mkdocs>=1.5.0",
"mkdocs-material>=9.1.18",
"mkdocs-redirects>=1.2.2",
"mkdocs-git-revision-date-localized-plugin>=1.3.0",
"mkdocs-llmstxt>=0.2.0",
"mdformat>=0.7.17",
"mdformat-mkdocs>=2.0.4",
"mdformat-admon>=2.0.2",
]
docker = [
# `cargo-zigbuild` 0.23 filters Rust 1.98's Cortex-A53 mitigation flag, which Zig rejects.
# See:
# - https://github.com/rust-lang/rust/pull/155453
# - https://github.com/rust-cross/cargo-zigbuild/issues/451
"cargo-zigbuild>=0.23.0",
]
release = [
"rooster==0.1.1",
]
check = [
"astral-dev-toolchain-cargo-shear>=1.13.4",
"ruff>=0.16.2",
"ty>=0.0.69",
"typos>=1.49.0",
"validate-pyproject[all,store]>=0.25",
]
[tool.uv]
no-build = true
cache-keys = [
{ file = "pyproject.toml" },
{ file = "Cargo.toml" },
{ file = "Cargo.lock" },
{ file = "crates/**/*.rs" },
{ file = "crates/**/Cargo.toml" },
]
exclude-newer = "P7D"
[tool.uv.exclude-newer-package]
astral-dev-toolchain-cargo-shear = "2026-08-27T04:00:00Z"
[tool.uv.dependency-groups]
docs = { requires-python = ">=3.12" }
docker = { requires-python = ">=3.12" }
release = { requires-python = ">=3.12" }