Skip to content

Commit 3008195

Browse files
authored
Merge branch 'master' into fix/sync-decorators
2 parents a646e33 + fc33b02 commit 3008195

161 files changed

Lines changed: 12053 additions & 5995 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.flake8

Lines changed: 0 additions & 131 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Bug Report
2+
description: File a bug report to help us improve
3+
title: "Short description of the bug"
4+
labels: ["bug"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to fill out this bug report!
11+
12+
- type: input
13+
id: version
14+
attributes:
15+
label: Taskiq version
16+
description: What version of Taskiq are you running?
17+
placeholder: e.g., 0.12.0
18+
validations:
19+
required: true
20+
21+
- type: dropdown
22+
id: python-version
23+
attributes:
24+
label: Python version
25+
description: What version of Python are you using?
26+
options:
27+
- Python 3.9 or lower
28+
- Python 3.10
29+
- Python 3.11
30+
- Python 3.12
31+
- Python 3.13
32+
- Python 3.14
33+
- Python 3.14t
34+
validations:
35+
required: true
36+
37+
- type: input
38+
id: os
39+
attributes:
40+
label: OS
41+
description: What OS are you using?
42+
placeholder: e.g., Windows, Linux, macOS
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: what-happened
48+
attributes:
49+
label: What happened?
50+
description: A clear and concise description of what the bug is.
51+
placeholder: Tell us what you see!
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: logs
57+
attributes:
58+
label: Relevant log output
59+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
60+
render: shell
61+
validations:
62+
required: false
63+
64+
- type: textarea
65+
id: broker-init-file
66+
attributes:
67+
label: Broker initialization code
68+
description: Provide minimal code from the taskiq broker initialization file
69+
render: python
70+
validations:
71+
required: false
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
title: "Short description of feature"
4+
labels: ["enhancement"]
5+
assignees:
6+
- s3rius
7+
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Thanks for suggesting a new feature!
13+
14+
- type: textarea
15+
id: problem-description
16+
attributes:
17+
label: Is your feature request related to a problem?
18+
description: A clear and concise description of what the problem is.
19+
placeholder: I'm always frustrated when...
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: solution-description
25+
attributes:
26+
label: Describe the solution you'd like
27+
description: A clear and concise description of what you want to happen.
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: alternatives
33+
attributes:
34+
label: Describe alternatives you've considered
35+
description: A clear and concise description of any alternative solutions or features you've considered.
36+
validations:
37+
required: false
38+
39+
- type: dropdown
40+
id: component
41+
attributes:
42+
label: Which component would this affect?
43+
description: Select the component this feature would primarily affect
44+
options:
45+
- Broker
46+
- Result Backend
47+
- Scheduler Source
48+
- Configuration
49+
- Documentation
50+
- Other
51+
validations:
52+
required: true

.github/workflows/release.yml

Lines changed: 18 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,29 @@
11
name: Release python package
22

33
on:
4-
push:
5-
tags:
6-
- "*"
4+
release:
5+
types:
6+
- released
77

88
jobs:
9-
deploy_docs:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
- name: Setup pnpm
14-
uses: pnpm/action-setup@v2
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v3
17-
with:
18-
node-version: 18
19-
cache: pnpm
20-
- name: Install deps
21-
run: pnpm install
22-
- name: Build
23-
run: pnpm docs:build -d docs_dist
24-
25-
- name: Setup git
26-
run: |
27-
git config --global lfs.allowincompletepush true
28-
29-
- name: Deploy
30-
uses: peaceiris/actions-gh-pages@v3
31-
with:
32-
personal_token: ${{ secrets.PERSONAL_TOKEN }}
33-
external_repository: taskiq-python/taskiq-python.github.io
34-
publish_dir: ./docs_dist
35-
user_name: "github-actions[bot]"
36-
user_email: "github-actions[bot]@users.noreply.github.com"
37-
389
deploy:
3910
runs-on: ubuntu-latest
11+
environment:
12+
name: release
13+
permissions:
14+
id-token: write
4015
steps:
41-
- uses: actions/checkout@v2
42-
- name: Install poetry
43-
run: pipx install poetry
44-
- name: Set up Python
45-
uses: actions/setup-python@v4
16+
- uses: actions/checkout@v5
17+
with:
18+
persist-credentials: false
19+
- uses: astral-sh/setup-uv@v7
4620
with:
47-
python-version: "3.11"
48-
- name: Install deps
49-
run: poetry install
21+
enable-cache: false
22+
python-version: "3.12"
23+
version: "latest"
24+
- run: uv version "${GITHUB_REF_NAME}"
25+
- run: uv build
5026
- name: Release package
5127
env:
52-
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
53-
run: poetry publish --build
28+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
29+
run: uv publish
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release docs
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types:
7+
- released
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
deploy_docs:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
with:
18+
persist-credentials: false
19+
fetch-depth: 0
20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v4
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v6
24+
with:
25+
node-version: 22
26+
cache: pnpm
27+
- name: Install deps
28+
run: pnpm install --prod
29+
- name: Build
30+
run: pnpm docs:build -d docs_dist
31+
32+
- name: Setup git
33+
run: |
34+
git config --global lfs.allowincompletepush true
35+
36+
- name: Deploy
37+
uses: peaceiris/actions-gh-pages@v4
38+
with:
39+
personal_token: ${{ secrets.PERSONAL_TOKEN }}
40+
external_repository: taskiq-python/taskiq-python.github.io
41+
publish_dir: ./docs_dist
42+
user_name: "github-actions[bot]"
43+
user_email: "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)