Skip to content

Commit 8e8633e

Browse files
authored
Migrate from hatchling to uv_build (#292)
1 parent 77d81db commit 8e8633e

File tree

5 files changed

+105
-107
lines changed

5 files changed

+105
-107
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: [push, pull_request]
44

55
env:
6-
UV_VERSION: "0.7.15"
6+
UV_VERSION: "0.7.19"
77

88
jobs:
99
test:

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [main]
99

1010
env:
11-
UV_VERSION: "0.7.15"
11+
UV_VERSION: "0.7.19"
1212

1313
jobs:
1414
deploy:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
FROM python:3.12-slim-bookworm AS python_builder
1212

1313
# Pin uv to a specific version to make container builds reproducible.
14-
ENV UV_VERSION=0.7.15
14+
ENV UV_VERSION=0.7.19
1515
ENV UV_PYTHON_DOWNLOADS=never
1616

1717
# Set ENV variables that make Python more friendly to running inside a container.

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ licenses = [
6868
]
6969

7070
[build-system]
71-
# TODO: Replace this with uv_build when it is it released for GA.
72-
# https://github.com/astral-sh/uv/issues/3957
73-
requires = ["hatchling"]
74-
build-backend = "hatchling.build"
71+
requires = ["uv_build>=0.7.19,<0.8.0"]
72+
build-backend = "uv_build"
7573

7674
[tool.uv]
7775
default-groups = "all"

0 commit comments

Comments
 (0)