Skip to content

Commit e809f21

Browse files
chore: python version support update (#54)
1 parent 0a91eac commit e809f21

File tree

6 files changed

+914
-784
lines changed

6 files changed

+914
-784
lines changed

.github/workflows/actions.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@ jobs:
44

55
test:
66
name: Test
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
strategy:
99
matrix:
10-
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
10+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
1111

1212
steps:
1313
- name: Setup dependencies
14-
uses: ExpressApp/github-actions-poetry@v0.2
14+
uses: ExpressApp/github-actions-poetry@v0.5
1515
with:
1616
python-version: ${{ matrix.python-version }}
17-
poetry-version: "1.3.2"
17+
poetry-version: "2.1.3"
1818

1919
- name: Run tests
2020
run: |
2121
poetry run ./scripts/test
2222
lint:
2323
name: Lint
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-22.04
2525
strategy:
2626
matrix:
27-
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
27+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
2828

2929
steps:
3030
- name: Setup dependencies
31-
uses: ExpressApp/github-actions-poetry@v0.2
31+
uses: ExpressApp/github-actions-poetry@v0.5
3232
with:
3333
python-version: ${{ matrix.python-version }}
34-
poetry-version: "1.3.2"
34+
poetry-version: "2.1.3"
3535

3636
- name: Run lint
3737
run: |

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
- "*.*.*"
66
jobs:
77
build:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v1
1111
- name: Assert tag is from master
1212
run: git branch -a --contains $(git describe --tags) | grep master
1313
- name: Build and publish to pypi
14-
uses: JRubics/poetry-publish@v1.8
14+
uses: JRubics/poetry-publish@v2.1
1515
with:
1616
pypi_token: ${{ secrets.PYPI_TOKEN }}

.snippets_setup/logger_init_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def smart_logger_middleware(
2020
collector = HandlerCollector()
2121
BOT_CREDENTIALS = BotAccountWithSecret( # noqa: S106
2222
secret_key="",
23-
host="",
23+
cts_url="",
2424
id=uuid4(),
2525
)
2626

0 commit comments

Comments
 (0)