Skip to content

Commit 146859c

Browse files
committed
Switch to uv
1 parent bc16922 commit 146859c

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
4747
4848
- name: Run flake8
49-
run: flake8 --count --max-line-length=120 .
49+
run: |
50+
uv run flake8 --count --max-line-length=120 .
5051
5152
# Initializes the CodeQL tools for scanning.
5253
- name: Initialize CodeQL

.github/workflows/dev-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# Fix for https://github.com/dolfinus/setuptools-git-versioning/issues/72#issuecomment-1312589464
4848
run: |
4949
version=$(uv run -m setuptools_git_versioning)
50-
sed -i -E "s/dynamic = .*/version = "${version}"/" pyproject.toml
50+
sed -i -E "s/dynamic = .*/version = \"${version}\"/" pyproject.toml
5151
5252
- name: Build package
5353
run: uv build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
# Fix for https://github.com/dolfinus/setuptools-git-versioning/issues/72#issuecomment-1312589464
4242
run: |
4343
version=$(uv run -m setuptools_git_versioning)
44-
sed -i -E "s/dynamic = .*/version = "${version}"/" pyproject.toml
44+
sed -i -E "s/dynamic = .*/version = \"${version}\"/" pyproject.toml
4545
4646
- name: Build release notes
4747
run: |

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Changelog
66

77
.. changelog::
88
:version: 2.1.1
9-
:released: 14.01.2026
9+
:released: 15.01.2026
1010

1111
.. change::
1212
:tags: bugfix

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta:__legacy__"
1111
name = "setuptools-git-versioning"
1212
dynamic = ["version"]
1313
authors = [{name = "dolfinus", email = "martinov.m.s.8@gmail.com"}]
14-
license = "MIT"
14+
license = {text = "MIT"}
1515
description = "Use git repo data for building a version number according to PEP-440"
1616
keywords = ["setuptools", "git", "versioning", "pep-440"]
1717
classifiers = [

0 commit comments

Comments
 (0)