File tree Expand file tree Collapse file tree 4 files changed +8
-24
lines changed
Expand file tree Collapse file tree 4 files changed +8
-24
lines changed Original file line number Diff line number Diff line change 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
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:
Original file line number Diff line number Diff 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
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:
Original file line number Diff line number Diff line change 1- [build-system]
2- requires = ["hatchling"]
3- build-backend = "hatchling.build"
4-
51[project]
62name = "taskiq-faststream"
3+ version = "0.2.1"
74description = "FastStream - taskiq integration to schedule FastStream tasks"
85readme = "README.md"
96authors = [
@@ -39,7 +36,6 @@ classifiers = [
3936 "Framework :: Pydantic :: 2",
4037]
4138
42- dynamic = ["version"]
4339
4440dependencies = [
4541 "taskiq>=0.11.0,<0.12.0",
Original file line number Diff line number Diff line change 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")
You can’t perform that action at this time.
0 commit comments