uv-release-manager 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- uv_release_manager-1.0.0/.github/workflows/pytest.yml +29 -0
- uv_release_manager-1.0.0/.github/workflows/python-publish.yml +43 -0
- uv_release_manager-1.0.0/.gitignore +6 -0
- uv_release_manager-1.0.0/.pre-commit-config.yaml +35 -0
- uv_release_manager-1.0.0/PKG-INFO +120 -0
- uv_release_manager-1.0.0/README.md +98 -0
- uv_release_manager-1.0.0/cliff.toml +68 -0
- uv_release_manager-1.0.0/pyproject.toml +62 -0
- uv_release_manager-1.0.0/release-notes.md +12 -0
- uv_release_manager-1.0.0/src/uv_release_manager/__init__.py +1 -0
- uv_release_manager-1.0.0/src/uv_release_manager/__main__.py +5 -0
- uv_release_manager-1.0.0/src/uv_release_manager/cli.py +336 -0
- uv_release_manager-1.0.0/src/uv_release_manager/git.py +80 -0
- uv_release_manager-1.0.0/src/uv_release_manager/pypi.py +46 -0
- uv_release_manager-1.0.0/src/uv_release_manager/repo.py +87 -0
- uv_release_manager-1.0.0/src/uv_release_manager/sources.py +224 -0
- uv_release_manager-1.0.0/src/uv_release_manager/update.py +133 -0
- uv_release_manager-1.0.0/tests/conftest.py +73 -0
- uv_release_manager-1.0.0/tests/test_cli.py +109 -0
- uv_release_manager-1.0.0/tests/test_sources.py +141 -0
- uv_release_manager-1.0.0/tests/test_update.py +103 -0
- uv_release_manager-1.0.0/uv.lock +301 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Python tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- name: Install uv
|
|
19
|
+
uses: astral-sh/setup-uv@v4
|
|
20
|
+
with:
|
|
21
|
+
enable-cache: true
|
|
22
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
23
|
+
run: uv python install ${{ matrix.python-version }}
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: uv sync --python ${{ matrix.python-version }}
|
|
26
|
+
- name: Lint with ruff
|
|
27
|
+
run: uv run ruff check .
|
|
28
|
+
- name: Run tests
|
|
29
|
+
run: uv run pytest
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
publish:
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write # Required to update release notes
|
|
11
|
+
id-token: write # Required for PyPI trusted publishing
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
with:
|
|
16
|
+
fetch-depth: 0 # Needed for hatch-vcs to determine version
|
|
17
|
+
|
|
18
|
+
- name: Install uv
|
|
19
|
+
uses: astral-sh/setup-uv@v4
|
|
20
|
+
|
|
21
|
+
# Fail fast: git sources at released versions published on PyPI, lower
|
|
22
|
+
# bounds, up to date uv.lock (HEAD is the release tag: already pushed)
|
|
23
|
+
- name: Check that the project can be released
|
|
24
|
+
run: uv run uv-release-manager check --no-push-check
|
|
25
|
+
|
|
26
|
+
- name: Generate changelog for this release
|
|
27
|
+
uses: orhun/git-cliff-action@v4
|
|
28
|
+
with:
|
|
29
|
+
config: cliff.toml
|
|
30
|
+
args: --latest --strip header
|
|
31
|
+
env:
|
|
32
|
+
OUTPUT: release-notes.md
|
|
33
|
+
|
|
34
|
+
- name: Update release notes
|
|
35
|
+
uses: softprops/action-gh-release@v2
|
|
36
|
+
with:
|
|
37
|
+
body_path: release-notes.md
|
|
38
|
+
|
|
39
|
+
- name: Build package
|
|
40
|
+
run: uv build
|
|
41
|
+
|
|
42
|
+
- name: Publish to PyPI
|
|
43
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
default_install_hook_types:
|
|
2
|
+
- pre-commit
|
|
3
|
+
- commit-msg
|
|
4
|
+
|
|
5
|
+
repos:
|
|
6
|
+
- hooks:
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: end-of-file-fixer
|
|
9
|
+
- id: trailing-whitespace
|
|
10
|
+
repo: https://github.com/pre-commit/pre-commit-hooks
|
|
11
|
+
rev: v6.0.0
|
|
12
|
+
- hooks:
|
|
13
|
+
- id: python-check-blanket-noqa
|
|
14
|
+
- id: python-no-eval
|
|
15
|
+
repo: https://github.com/pre-commit/pygrep-hooks
|
|
16
|
+
rev: v1.10.0
|
|
17
|
+
- hooks:
|
|
18
|
+
- id: no-fixme-todo
|
|
19
|
+
name: No FIXME or TODO markers
|
|
20
|
+
entry: '(FIXME:|TODO:)'
|
|
21
|
+
language: pygrep
|
|
22
|
+
types: [python]
|
|
23
|
+
repo: local
|
|
24
|
+
- hooks:
|
|
25
|
+
- id: ruff-check
|
|
26
|
+
args: [--fix]
|
|
27
|
+
- id: ruff-format
|
|
28
|
+
repo: https://github.com/astral-sh/ruff-pre-commit
|
|
29
|
+
rev: v0.17.1
|
|
30
|
+
- hooks:
|
|
31
|
+
- id: conventional-pre-commit
|
|
32
|
+
stages:
|
|
33
|
+
- commit-msg
|
|
34
|
+
repo: https://github.com/compilerla/conventional-pre-commit
|
|
35
|
+
rev: v4.4.0
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: uv-release-manager
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Release uv projects that pin git dependencies during development
|
|
5
|
+
Project-URL: Repository, https://github.com/experimaestro/uv-release-manager
|
|
6
|
+
License-Expression: GPL-3.0-or-later
|
|
7
|
+
Keywords: dependencies,git,pypi,release,uv
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
16
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Requires-Dist: git-cliff>=2.6
|
|
19
|
+
Requires-Dist: packaging>=24
|
|
20
|
+
Requires-Dist: tomlkit>=0.13
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# uv-release-manager
|
|
24
|
+
|
|
25
|
+
Release [uv](https://docs.astral.sh/uv/) projects that pin git dependencies
|
|
26
|
+
during development.
|
|
27
|
+
|
|
28
|
+
While several libraries evolve together, it is convenient to pin a dependency
|
|
29
|
+
to a git commit in `[tool.uv.sources]`:
|
|
30
|
+
|
|
31
|
+
```toml
|
|
32
|
+
[project]
|
|
33
|
+
dependencies = ["mylib>=0.3"]
|
|
34
|
+
|
|
35
|
+
[tool.uv.sources]
|
|
36
|
+
mylib = { git = "https://github.com/org/mylib", rev = "c4580cb" }
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Sources are only used for the local lock: the published package requires
|
|
40
|
+
`mylib>=0.3`. If the code needs the pinned commit, the release is broken as
|
|
41
|
+
soon as `mylib` 0.3 (or any version without that commit) is installed.
|
|
42
|
+
`uv-release-manager` checks, before releasing, that every git source points to
|
|
43
|
+
a released (tagged) version and that the dependency requires at least that
|
|
44
|
+
version.
|
|
45
|
+
|
|
46
|
+
## Commands
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
# Can we release? (fails fast, exit code 1 otherwise)
|
|
50
|
+
uv-release-manager check
|
|
51
|
+
uv-release-manager check --test pytest # also test with the released deps
|
|
52
|
+
uv-release-manager check --test pytest --uv-args "--all-extras --group test"
|
|
53
|
+
|
|
54
|
+
# Move git sources to releases: for each source, choose between the next
|
|
55
|
+
# release containing the pinned commit and the latest one containing it
|
|
56
|
+
uv-release-manager update
|
|
57
|
+
uv-release-manager update --to next # without asking
|
|
58
|
+
uv-release-manager update --drop-source # remove the source (use PyPI)
|
|
59
|
+
|
|
60
|
+
# Set the lower bounds to the released versions of the git sources
|
|
61
|
+
uv-release-manager bump
|
|
62
|
+
|
|
63
|
+
# Check, then create the GitHub release (the publish workflow does the rest);
|
|
64
|
+
# without a version, the next one is computed from the conventional commits
|
|
65
|
+
uv-release-manager gh-release # e.g. v0.5.0 after a feat: commit
|
|
66
|
+
uv-release-manager gh-release 1.0.0 --dry-run
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### check
|
|
70
|
+
|
|
71
|
+
`check` (also run by `gh-release`) verifies that:
|
|
72
|
+
|
|
73
|
+
- each git source points to a commit tagged with a version (`v1.2.3` or
|
|
74
|
+
`1.2.3`) that is published on PyPI; the commit is the one locked in
|
|
75
|
+
`uv.lock` (what was developed against), or the one the source points to on
|
|
76
|
+
the remote when the package is not locked
|
|
77
|
+
- the lower bound of the dependency (main dependencies and extras) is this
|
|
78
|
+
version: a lower bound below allows older, incompatible releases, and one
|
|
79
|
+
above requires a version that was not tested
|
|
80
|
+
- there is no `path` source
|
|
81
|
+
- there are no uncommitted changes, `uv.lock` is up to date, and `HEAD` is
|
|
82
|
+
pushed to the upstream branch
|
|
83
|
+
- optionally (`--test COMMAND`), `COMMAND` passes in an isolated environment
|
|
84
|
+
resolved without the sources (`uv run --isolated --no-sources`)
|
|
85
|
+
|
|
86
|
+
Sources of development-only dependencies (`[dependency-groups]`) and index
|
|
87
|
+
sources are ignored, since they are not part of the published metadata.
|
|
88
|
+
|
|
89
|
+
### update
|
|
90
|
+
|
|
91
|
+
For each git source (or the ones given on the command line) that is not a
|
|
92
|
+
release, `update` proposes the *next* release (the first release whose tag
|
|
93
|
+
contains the pinned commit) and the *latest* release containing it. Older
|
|
94
|
+
releases are never proposed, since they would drop what the commit brings;
|
|
95
|
+
only non pre-release versions published on PyPI are. The source is then
|
|
96
|
+
pointed to the release tag (or removed with `--drop-source`), the lower bounds
|
|
97
|
+
are set to the release version, and `uv.lock` is updated. With `--all`, sources
|
|
98
|
+
already at a release are moved to the latest release containing them.
|
|
99
|
+
|
|
100
|
+
The tags containing a commit are found in tree-less clones of the
|
|
101
|
+
dependencies, cached in `~/.cache/uv-release-manager`.
|
|
102
|
+
|
|
103
|
+
### gh-release
|
|
104
|
+
|
|
105
|
+
`gh-release` uses [git-cliff](https://git-cliff.org) to compute the next
|
|
106
|
+
version (`--bumped-version`; v0.1.0 for the first release) and the release
|
|
107
|
+
notes, then runs `gh release create <tag> --target <HEAD>`. The publish
|
|
108
|
+
workflow (triggered by the release) builds and uploads the package.
|
|
109
|
+
|
|
110
|
+
## Release
|
|
111
|
+
|
|
112
|
+
This project is released with itself:
|
|
113
|
+
|
|
114
|
+
```sh
|
|
115
|
+
uv run uv-release-manager gh-release --dry-run # version and release notes
|
|
116
|
+
uv run uv-release-manager gh-release
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The GitHub release triggers `.github/workflows/python-publish.yml`, which runs
|
|
120
|
+
`uv-release-manager check` again and publishes to PyPI (trusted publishing).
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# uv-release-manager
|
|
2
|
+
|
|
3
|
+
Release [uv](https://docs.astral.sh/uv/) projects that pin git dependencies
|
|
4
|
+
during development.
|
|
5
|
+
|
|
6
|
+
While several libraries evolve together, it is convenient to pin a dependency
|
|
7
|
+
to a git commit in `[tool.uv.sources]`:
|
|
8
|
+
|
|
9
|
+
```toml
|
|
10
|
+
[project]
|
|
11
|
+
dependencies = ["mylib>=0.3"]
|
|
12
|
+
|
|
13
|
+
[tool.uv.sources]
|
|
14
|
+
mylib = { git = "https://github.com/org/mylib", rev = "c4580cb" }
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Sources are only used for the local lock: the published package requires
|
|
18
|
+
`mylib>=0.3`. If the code needs the pinned commit, the release is broken as
|
|
19
|
+
soon as `mylib` 0.3 (or any version without that commit) is installed.
|
|
20
|
+
`uv-release-manager` checks, before releasing, that every git source points to
|
|
21
|
+
a released (tagged) version and that the dependency requires at least that
|
|
22
|
+
version.
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
# Can we release? (fails fast, exit code 1 otherwise)
|
|
28
|
+
uv-release-manager check
|
|
29
|
+
uv-release-manager check --test pytest # also test with the released deps
|
|
30
|
+
uv-release-manager check --test pytest --uv-args "--all-extras --group test"
|
|
31
|
+
|
|
32
|
+
# Move git sources to releases: for each source, choose between the next
|
|
33
|
+
# release containing the pinned commit and the latest one containing it
|
|
34
|
+
uv-release-manager update
|
|
35
|
+
uv-release-manager update --to next # without asking
|
|
36
|
+
uv-release-manager update --drop-source # remove the source (use PyPI)
|
|
37
|
+
|
|
38
|
+
# Set the lower bounds to the released versions of the git sources
|
|
39
|
+
uv-release-manager bump
|
|
40
|
+
|
|
41
|
+
# Check, then create the GitHub release (the publish workflow does the rest);
|
|
42
|
+
# without a version, the next one is computed from the conventional commits
|
|
43
|
+
uv-release-manager gh-release # e.g. v0.5.0 after a feat: commit
|
|
44
|
+
uv-release-manager gh-release 1.0.0 --dry-run
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### check
|
|
48
|
+
|
|
49
|
+
`check` (also run by `gh-release`) verifies that:
|
|
50
|
+
|
|
51
|
+
- each git source points to a commit tagged with a version (`v1.2.3` or
|
|
52
|
+
`1.2.3`) that is published on PyPI; the commit is the one locked in
|
|
53
|
+
`uv.lock` (what was developed against), or the one the source points to on
|
|
54
|
+
the remote when the package is not locked
|
|
55
|
+
- the lower bound of the dependency (main dependencies and extras) is this
|
|
56
|
+
version: a lower bound below allows older, incompatible releases, and one
|
|
57
|
+
above requires a version that was not tested
|
|
58
|
+
- there is no `path` source
|
|
59
|
+
- there are no uncommitted changes, `uv.lock` is up to date, and `HEAD` is
|
|
60
|
+
pushed to the upstream branch
|
|
61
|
+
- optionally (`--test COMMAND`), `COMMAND` passes in an isolated environment
|
|
62
|
+
resolved without the sources (`uv run --isolated --no-sources`)
|
|
63
|
+
|
|
64
|
+
Sources of development-only dependencies (`[dependency-groups]`) and index
|
|
65
|
+
sources are ignored, since they are not part of the published metadata.
|
|
66
|
+
|
|
67
|
+
### update
|
|
68
|
+
|
|
69
|
+
For each git source (or the ones given on the command line) that is not a
|
|
70
|
+
release, `update` proposes the *next* release (the first release whose tag
|
|
71
|
+
contains the pinned commit) and the *latest* release containing it. Older
|
|
72
|
+
releases are never proposed, since they would drop what the commit brings;
|
|
73
|
+
only non pre-release versions published on PyPI are. The source is then
|
|
74
|
+
pointed to the release tag (or removed with `--drop-source`), the lower bounds
|
|
75
|
+
are set to the release version, and `uv.lock` is updated. With `--all`, sources
|
|
76
|
+
already at a release are moved to the latest release containing them.
|
|
77
|
+
|
|
78
|
+
The tags containing a commit are found in tree-less clones of the
|
|
79
|
+
dependencies, cached in `~/.cache/uv-release-manager`.
|
|
80
|
+
|
|
81
|
+
### gh-release
|
|
82
|
+
|
|
83
|
+
`gh-release` uses [git-cliff](https://git-cliff.org) to compute the next
|
|
84
|
+
version (`--bumped-version`; v0.1.0 for the first release) and the release
|
|
85
|
+
notes, then runs `gh release create <tag> --target <HEAD>`. The publish
|
|
86
|
+
workflow (triggered by the release) builds and uploads the package.
|
|
87
|
+
|
|
88
|
+
## Release
|
|
89
|
+
|
|
90
|
+
This project is released with itself:
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
uv run uv-release-manager gh-release --dry-run # version and release notes
|
|
94
|
+
uv run uv-release-manager gh-release
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
The GitHub release triggers `.github/workflows/python-publish.yml`, which runs
|
|
98
|
+
`uv-release-manager check` again and publishes to PyPI (trusted publishing).
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# git-cliff configuration file
|
|
2
|
+
# See https://git-cliff.org/docs/configuration
|
|
3
|
+
|
|
4
|
+
[changelog]
|
|
5
|
+
header = """
|
|
6
|
+
# Changelog\n
|
|
7
|
+
All notable changes to this project will be documented in this file.\n
|
|
8
|
+
"""
|
|
9
|
+
body = """
|
|
10
|
+
{% if version %}\
|
|
11
|
+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
|
12
|
+
{% else %}\
|
|
13
|
+
## [Unreleased]
|
|
14
|
+
{% endif %}\
|
|
15
|
+
{% for group, commits in commits | group_by(attribute="group") %}
|
|
16
|
+
### {{ group | striptags | trim | upper_first }}
|
|
17
|
+
{% for commit in commits
|
|
18
|
+
| filter(attribute="scope")
|
|
19
|
+
| sort(attribute="scope") %}
|
|
20
|
+
- **{{ commit.scope }}**: {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/experimaestro/uv-release-manager/commit/{{ commit.id }}))
|
|
21
|
+
{%- endfor -%}
|
|
22
|
+
{% for commit in commits %}
|
|
23
|
+
{%- if not commit.scope -%}
|
|
24
|
+
- {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/experimaestro/uv-release-manager/commit/{{ commit.id }}))
|
|
25
|
+
{% endif -%}
|
|
26
|
+
{%- endfor -%}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
"""
|
|
29
|
+
trim = true
|
|
30
|
+
footer = ""
|
|
31
|
+
|
|
32
|
+
[git]
|
|
33
|
+
conventional_commits = true
|
|
34
|
+
filter_unconventional = false
|
|
35
|
+
split_commits = false
|
|
36
|
+
commit_preprocessors = [
|
|
37
|
+
{ pattern = "#(\\d+)", replace = "[#$1](https://github.com/experimaestro/uv-release-manager/issues/$1)" },
|
|
38
|
+
]
|
|
39
|
+
commit_parsers = [
|
|
40
|
+
{ message = "^feat", group = "Features" },
|
|
41
|
+
{ message = "^fix", group = "Bug Fixes" },
|
|
42
|
+
{ message = "^doc", group = "Documentation" },
|
|
43
|
+
{ message = "^perf", group = "Performance" },
|
|
44
|
+
{ message = "^refactor", group = "Refactor" },
|
|
45
|
+
{ message = "^style", group = "Styling" },
|
|
46
|
+
{ message = "^test", group = "Testing" },
|
|
47
|
+
{ message = "^bump: version", skip = true },
|
|
48
|
+
{ message = "^chore\\(release\\): prepare for", skip = true },
|
|
49
|
+
{ message = "^chore\\(deps.*\\)", skip = true },
|
|
50
|
+
{ message = "^chore\\(pr\\)", skip = true },
|
|
51
|
+
{ message = "^chore\\(pull\\)", skip = true },
|
|
52
|
+
{ message = "^build\\(deps", skip = true },
|
|
53
|
+
{ message = "^chore", group = "Miscellaneous Tasks" },
|
|
54
|
+
{ message = "^ci", group = "CI" },
|
|
55
|
+
{ message = "^build", group = "Build" },
|
|
56
|
+
{ message = "^revert", group = "Revert" },
|
|
57
|
+
{ body = ".*security", group = "Security" },
|
|
58
|
+
]
|
|
59
|
+
protect_breaking_commits = false
|
|
60
|
+
filter_commits = false
|
|
61
|
+
tag_pattern = "v[0-9].*"
|
|
62
|
+
# Ignore pre-release tags (alpha, beta, rc) so their commits roll up into stable releases
|
|
63
|
+
skip_tags = ""
|
|
64
|
+
ignore_tags = "v.*[0-9](a|b|rc)[0-9]+"
|
|
65
|
+
topo_order = false
|
|
66
|
+
sort_commits = "oldest"
|
|
67
|
+
# Skip versions with no commits (after filtering)
|
|
68
|
+
skip_empty = true
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "uv-release-manager"
|
|
3
|
+
dynamic = ["version"]
|
|
4
|
+
description = "Release uv projects that pin git dependencies during development"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "GPL-3.0-or-later"
|
|
7
|
+
requires-python = ">=3.11"
|
|
8
|
+
keywords = ["uv", "release", "git", "dependencies", "pypi"]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 3 - Alpha",
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Programming Language :: Python :: 3.11",
|
|
14
|
+
"Programming Language :: Python :: 3.12",
|
|
15
|
+
"Programming Language :: Python :: 3.13",
|
|
16
|
+
"Programming Language :: Python :: 3.14",
|
|
17
|
+
"Programming Language :: Python :: 3.15",
|
|
18
|
+
"Topic :: Software Development :: Build Tools",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"packaging>=24",
|
|
22
|
+
"tomlkit>=0.13",
|
|
23
|
+
# Next version from the conventional commits, release notes
|
|
24
|
+
"git-cliff>=2.6",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.scripts]
|
|
28
|
+
uv-release-manager = "uv_release_manager.cli:main"
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Repository = "https://github.com/experimaestro/uv-release-manager"
|
|
32
|
+
|
|
33
|
+
[dependency-groups]
|
|
34
|
+
dev = [
|
|
35
|
+
"pre-commit>=4",
|
|
36
|
+
"pytest>=8",
|
|
37
|
+
"ruff>=0.17",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[build-system]
|
|
41
|
+
requires = ["hatchling", "hatch-vcs"]
|
|
42
|
+
build-backend = "hatchling.build"
|
|
43
|
+
|
|
44
|
+
[tool.hatch.version]
|
|
45
|
+
source = "vcs"
|
|
46
|
+
|
|
47
|
+
[tool.hatch.version.raw-options]
|
|
48
|
+
local_scheme = "no-local-version"
|
|
49
|
+
|
|
50
|
+
[tool.ruff]
|
|
51
|
+
line-length = 88
|
|
52
|
+
target-version = "py311"
|
|
53
|
+
|
|
54
|
+
[tool.ruff.lint]
|
|
55
|
+
select = ["E", "F", "W", "C90", "T20"]
|
|
56
|
+
ignore = ["E501"]
|
|
57
|
+
|
|
58
|
+
[tool.ruff.lint.mccabe]
|
|
59
|
+
max-complexity = 25
|
|
60
|
+
|
|
61
|
+
[tool.pytest.ini_options]
|
|
62
|
+
testpaths = ["tests"]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
## [1.0.0] - 2026-11-05
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
- First release (no version tag) and uncommitted file names ([c099b5b](https://github.com/experimaestro/uv-release-manager/commit/c099b5becd48b0ee6969acd3367f7db5ddd9de11))
|
|
5
|
+
|
|
6
|
+
### CI
|
|
7
|
+
- Test on Python 3.11 to 3.15 ([b7bcc8b](https://github.com/experimaestro/uv-release-manager/commit/b7bcc8bcbe95863491d0126eb78c45199221768c))
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
- Check, bump and gh-release commands ([88cd53e](https://github.com/experimaestro/uv-release-manager/commit/88cd53edb61c754567ffb0055d301891b9209135))
|
|
11
|
+
- Update command, uv.lock commits, PyPI and untested bound checks ([71129df](https://github.com/experimaestro/uv-release-manager/commit/71129df261b83d0f585dd642bac7449294bd761b))
|
|
12
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Release uv projects that pin git dependencies during development"""
|