Skip to content

Commit a8c5bff

Browse files
committed
chore: fix releases
1 parent 41e3b50 commit a8c5bff

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.8"
24+
python-version: 3.13
2525
cache: "pip"
2626
cache-dependency-path: pyproject.toml
2727

2828
- uses: actions/cache@v4
29-
id: cache
29+
id: cachex2
3030
with:
3131
path: ${{ env.pythonLocation }}
3232
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-publish
@@ -41,7 +41,7 @@ jobs:
4141
- name: Publish
4242
uses: pypa/gh-action-pypi-publish@v1.9.0
4343
with:
44-
password: ${{ secrets.PYPI_TOKEN }}
44+
skip-existing: true
4545

4646
- name: Dump GitHub context
4747
env:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.9
21+
python-version: 3.13
2222

2323
- uses: actions/cache@v4
2424
id: cache
@@ -94,7 +94,7 @@ jobs:
9494

9595
- uses: actions/setup-python@v5
9696
with:
97-
python-version: 3.9
97+
python-version: 3.13
9898

9999
- uses: astral-sh/setup-uv@v6
100100
with:

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
51
[project]
62
name = "taskiq-faststream"
3+
version = "0.2.1"
74
description = "FastStream - taskiq integration to schedule FastStream tasks"
85
readme = "README.md"
96
authors = [
@@ -39,7 +36,6 @@ classifiers = [
3936
"Framework :: Pydantic :: 2",
4037
]
4138

42-
dynamic = ["version"]
4339

4440
dependencies = [
4541
"taskiq>=0.11.0,<0.12.0",

taskiq_faststream/__about__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
"""FastStream - taskiq integration to schedule FastStream tasks."""
22

3-
__version__ = "0.2.1"
3+
from importlib.metadata import version
4+
5+
__version__ = version("taskiq_faststream")

0 commit comments

Comments
 (0)