Skip to content

Commit bfc342d

Browse files
authored
Bump version to 0.2.15 (#4475)
Releasing 0.2.15 with a few additions over 0.2.14. Motivated by the incorrect tagging of 0.2.14 (#4474). Generated the changelog with a small patch to Rooster allowing me to force the previous commit to be correct. ```diff diff --git a/src/rooster/_cli.py b/src/rooster/_cli.py index 2a4f61b..4ec1299 100644 --- a/src/rooster/_cli.py +++ b/src/rooster/_cli.py @@ -38,6 +38,7 @@ def release( without_sections: list[str] = typer.Option( [], help="Sections to exclude from the changelog" ), + previous_commit: str = None, ): """ Create a new release. @@ -58,7 +59,11 @@ def release( typer.echo("It looks like there are no version tags for this project.") # Get the commits since the last release - changes = list(get_commits_between(config, repo, last_version)) + changes = list( + get_commits_between( + config, repo, last_version, force_first_commit=previous_commit + ) + ) since = "since last release" if last_version else "in the project" typer.echo(f"Found {len(changes)} commits {since}.") diff --git a/src/rooster/_git.py b/src/rooster/_git.py index 597bb88..66bc54e 100644 --- a/src/rooster/_git.py +++ b/src/rooster/_git.py @@ -29,12 +29,13 @@ def get_commits_between( target: Path, first_version: Version | None = None, second_version: Version | None = None, + force_first_commit: str | None = None, ) -> Generator[git.Commit, None, None]: """ Yield all commits between two tags """ repo = git.repository.Repository(target.absolute()) - first_commit = ( + first_commit = force_first_commit or ( repo.lookup_reference( TAG_PREFIX + config.version_tag_prefix + str(first_version) ) ```
1 parent 40f8526 commit bfc342d

File tree

7 files changed

+37
-8
lines changed

7 files changed

+37
-8
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## 0.2.15
4+
5+
### Enhancements
6+
7+
- Add `--emit-build-options` flag to `uv pip compile` interface ([#4463](https://github.com/astral-sh/uv/pull/4463))
8+
- Add `pythonw` support for gui scripts on Windows ([#4409](https://github.com/astral-sh/uv/pull/4409))
9+
- Add `uv pip tree` ([#3859](https://github.com/astral-sh/uv/pull/3859))
10+
11+
### CLI
12+
13+
- Adjust the docs for the pip CLI commands ([#4445](https://github.com/astral-sh/uv/pull/4445))
14+
- Fix casing of `--no-compile` alias ([#4453](https://github.com/astral-sh/uv/pull/4453))
15+
16+
### Bug fixes
17+
18+
- Fix ordering of prefer-system toolchain preference ([#4441](https://github.com/astral-sh/uv/pull/4441))
19+
- Respect index strategy in source distribution builds ([#4468](https://github.com/astral-sh/uv/pull/4468))
20+
21+
### Documentation
22+
23+
- Add documentation for using uv in a Docker image ([#4433](https://github.com/astral-sh/uv/pull/4433))
24+
325
## 0.2.14
426

527
### Enhancements

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PREVIEW-CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.2.15
4+
5+
<!-- No changes -->
6+
37
## 0.2.14
48

59
### Preview features
@@ -136,6 +140,7 @@
136140

137141
<!-- No changes -->
138142

143+
139144
## 0.2.3
140145

141146
### Preview features
@@ -146,6 +151,7 @@
146151

147152
<!-- No changes -->
148153

154+
149155
## 0.2.1
150156

151157
### Preview features
@@ -182,6 +188,7 @@
182188

183189
<!-- No changes -->
184190

191+
185192
## 0.1.43
186193

187194
### Preview features
@@ -203,6 +210,7 @@
203210

204211
<!-- No changes -->
205212

213+
206214
## 0.1.40
207215

208216
### Preview features

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
5353
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
5454

5555
# For a specific version.
56-
curl -LsSf https://astral.sh/uv/0.2.14/install.sh | sh
57-
powershell -c "irm https://astral.sh/uv/0.2.14/install.ps1 | iex"
56+
curl -LsSf https://astral.sh/uv/0.2.15/install.sh | sh
57+
powershell -c "irm https://astral.sh/uv/0.2.15/install.ps1 | iex"
5858

5959
# With pip.
6060
pip install uv

crates/uv-version/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv-version"
3-
version = "0.2.14"
3+
version = "0.2.15"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
homepage = { workspace = true }

crates/uv/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uv"
3-
version = "0.2.14"
3+
version = "0.2.15"
44
edition = { workspace = true }
55
rust-version = { workspace = true }
66
homepage = { workspace = true }

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "uv"
7-
version = "0.2.14"
7+
version = "0.2.15"
88
description = "An extremely fast Python package installer and resolver, written in Rust."
99
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
1010
requires-python = ">=3.8"
@@ -66,6 +66,5 @@ changelog_contributors = false
6666
version_files = [
6767
"README.md",
6868
"crates/uv/Cargo.toml",
69-
"crates/uv-cli/Cargo.toml",
7069
"crates/uv-version/Cargo.toml",
7170
]

0 commit comments

Comments
 (0)