Skip to content

Commit 36ba328

Browse files
committed
chore: bump depends
1 parent 222571d commit 36ba328

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-20.04
6363
strategy:
6464
matrix:
65-
python-version: [ "3.8", "3.9", "3.10" ]
65+
python-version: [ "3.9", "3.10", "3.11" ]
6666

6767
services:
6868
postgres:
@@ -111,7 +111,7 @@ jobs:
111111

112112
- name: Set up cache
113113
id: cache
114-
uses: actions/cache@v2
114+
uses: actions/cache@v4
115115
with:
116116
path: |
117117
~/.cache/pip
@@ -123,6 +123,7 @@ jobs:
123123
run: |
124124
pip install poetry==${{ env.poetry_version }}
125125
poetry config virtualenvs.in-project true
126+
poetry lock
126127
poetry install
127128
128129
- name: Run tests
@@ -140,7 +141,7 @@ jobs:
140141
runs-on: ubuntu-20.04
141142
strategy:
142143
matrix:
143-
python-version: [ "3.8", "3.9", "3.10" ]
144+
python-version: [ "3.9", "3.10", "3.11" ]
144145

145146
steps:
146147
- name: Checkout
@@ -166,7 +167,7 @@ jobs:
166167

167168
- name: Set up cache
168169
id: cache
169-
uses: actions/cache@v2
170+
uses: actions/cache@v4
170171
with:
171172
path: |
172173
~/.cache/pip
@@ -178,6 +179,7 @@ jobs:
178179
run: |
179180
pip install poetry==${{ env.poetry_version }}
180181
poetry config virtualenvs.in-project true
182+
poetry lock
181183
poetry install
182184
183185
- name: Run linters

Dockerfile.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ENV GIT_COMMIT_SHA=${CI_COMMIT_SHA}
3434
RUN pip install --user --no-cache-dir poetry==1.4.2 && \
3535
poetry config virtualenvs.in-project true
3636

37-
COPY poetry.lock pyproject.toml ./
37+
COPY pyproject.toml ./
3838

3939
{% if has_private_dependencies == "yes" %}
4040
ARG CI_JOB_TOKEN=""

app/bot/commands/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
HandlerCollector,
66
IncomingMessage,
77
SmartAppEvent,
8-
SyncSmartAppEventResponsePayload,
98
)
109

1110
from app.smartapp.smartapp import smartapp
@@ -21,7 +20,7 @@ async def handle_smartapp_event(event: SmartAppEvent, bot: Bot) -> None:
2120
@collector.sync_smartapp_event
2221
async def handle_sync_smartapp_event(
2322
event: SmartAppEvent, bot: Bot
24-
) -> SyncSmartAppEventResponsePayload:
23+
) -> None:
2524
return await smartapp.handle_sync_smartapp_event(event, bot)
2625

2726

pyproject.toml.jinja

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ authors = []
88

99

1010
[tool.poetry.dependencies]
11-
python = ">=3.8,<3.12"
11+
python = ">=3.9,<3.12"
1212
13-
pybotx = ">=0.67.1"
13+
pybotx = ">=0.73.3"
1414
pybotx-smartapp-rpc = ">=0.9.0"
1515
pybotx-smart-logger = "~0.10.1"
1616

@@ -60,3 +60,4 @@ markdown = "3.3.6" # https://github.com/python-poetry/poetry/issues/4777
6060
[build-system]
6161
requires = ["poetry>=1.7.1"]
6262
build-backend = "poetry.masonry.api"
63+

0 commit comments

Comments
 (0)