Skip to content

Commit a29685b

Browse files
authored
Merge pull request #82 from taskiq-python/develop
chore: fix release CI
2 parents 52acbba + ba38197 commit a29685b

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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

@@ -41,7 +41,7 @@ jobs:
4141
- name: Publish
4242
uses: pypa/[email protected]
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 & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,12 @@ 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

23-
- uses: actions/cache@v4
24-
id: cache
25-
with:
26-
path: ${{ env.pythonLocation }}
27-
key: ${{ runner.os }}-static-analysis-${{ hashFiles('pyproject.toml') }}-test-v03
2823
- uses: astral-sh/setup-uv@v6
29-
if: steps.cache.outputs.cache-hit != 'true'
3024
with:
3125
version: "latest"
3226
- name: Install Dependencies
33-
if: steps.cache.outputs.cache-hit != 'true'
3427
run: uv pip install --system ".[dev]"
3528

3629
- name: Run formatter
@@ -58,17 +51,10 @@ jobs:
5851
with:
5952
python-version: ${{ matrix.python-version }}
6053

61-
- uses: actions/cache@v4
62-
id: cache
63-
with:
64-
path: ${{ env.pythonLocation }}
65-
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-test-v03
6654
- uses: astral-sh/setup-uv@v6
67-
if: steps.cache.outputs.cache-hit != 'true'
6855
with:
6956
version: "latest"
7057
- name: Install Dependencies
71-
if: steps.cache.outputs.cache-hit != 'true'
7258
run: uv pip install --system ".[test]"
7359

7460
- run: mkdir coverage
@@ -94,7 +80,7 @@ jobs:
9480

9581
- uses: actions/setup-python@v5
9682
with:
97-
python-version: 3.9
83+
python-version: 3.13
9884

9985
- uses: astral-sh/setup-uv@v6
10086
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)