Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .hatch_build.py

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Releasing taskcluster-taskgraph
In order to release a new version of Taskgraph, you will need to:

1. Update ``CHANGELOG.md``
2. Update ``__version__`` in ``src/taskgraph/__init__.py``
2. Update ``version`` in ``pyproject.toml``
3. Commit, and land the above changes with a commit message like "chore: bump <version>"
4. Draft a release in Github pointing to the above commit.

Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### Project
[project]
name = "taskcluster-taskgraph"
version = "14.4.1"
description = "Build taskcluster taskgraphs"
readme = "README.rst"
authors = [
Expand Down Expand Up @@ -31,7 +32,6 @@ dependencies = [
"taskcluster-urls>=11.0",
"voluptuous>=0.12.1",
]
dynamic = ["version"] # set in src/taskgraph/__init__.py

[project.optional-dependencies]
load-image = ["zstandard"]
Expand Down Expand Up @@ -73,9 +73,6 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/taskgraph"]

[tool.hatch.metadata.hooks.custom]
path = ".hatch_build.py" # handles reading version from src/taskgraph/__init__.py

### Test
[tool.pytest.ini_options]
xfail_strict = true
Expand Down
4 changes: 3 additions & 1 deletion src/taskgraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

__version__ = "14.4.1"
import importlib.metadata

__version__ = importlib.metadata.version("taskcluster-taskgraph")

# Maximum number of dependencies a single task can have
# https://docs.taskcluster.net/docs/reference/platform/queue/api#createTask
Expand Down
1 change: 0 additions & 1 deletion taskcluster/docker/decision/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ LABEL maintainer="Release Engineering <release+taskgraph@mozilla.com>"

# %include src
# %include packages
# %include .hatch_build.py
# %include README.rst
# %include pyproject.toml
# %include uv.lock
Expand Down
Loading
Loading