Skip to content

Commit 2c9d266

Browse files
authored
Merge pull request #45 from trussworks/renovate/dependencies
fix(deps): update dependencies (minor)
2 parents 4086bcf + d39e441 commit 2c9d266

File tree

8 files changed

+17
-34
lines changed

8 files changed

+17
-34
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
validate:
13-
uses: trussworks/shared-actions/.github/workflows/validate-python.yml@637d269a81479673b19d9e7b02b98d75b1805b46 # v0.1.1
13+
uses: trussworks/shared-actions/.github/workflows/validate-python.yml@637d269a81479673b19d9e7b02b98d75b1805b46 #v0.1.1
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.13"
16+
poetry-version: "2.1.4"

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python 3.10.18
2-
poetry 1.4.2
1+
python 3.13
2+
poetry 2.1.4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim-bullseye as python-build-stage
1+
FROM python:3.13-slim-bullseye as python-build-stage
22
WORKDIR /src
33

44
RUN apt-get update && apt-get upgrade -y \
@@ -11,7 +11,7 @@ RUN pip install --isolated --no-cache-dir --no-input poetry \
1111
&& poetry config virtualenvs.create false \
1212
&& poetry install --no-interaction --without=dev
1313

14-
FROM public.ecr.aws/lambda/python:3.9 as python-run-stage
14+
FROM public.ecr.aws/lambda/python:3.13 as python-run-stage
1515

1616
COPY --from=python-build-stage /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
1717
ENV PYTHONPATH=/usr/local/lib/python3.10/site-packages

groups_read.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def _build_list_response(slack_response):
4343

4444
response = RESPONSE_BASE
4545
for c in channels:
46-
response += f":slack: *{ c['name'] }* --"
46+
response += f":slack: *{c['name']}* --"
4747
response += "(No topic provided)" if c["topic"] == "" else c["topic"]
48-
response += f" -- `/join-group { c['name'] }`\n"
48+
response += f" -- `/join-group {c['name']}`\n"
4949

5050
return response

groups_write.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _get_invite_user_blocks(user_id, channel_id, oauth_URI, message_ts=""):
2828
"type": "plain_text",
2929
"text": "✅ Confirm invite",
3030
},
31-
"url": f"{ oauth_URI }&state={ STATE_DIVIDER.join([user_id, channel_id, message_ts]) }",
31+
"url": f"{oauth_URI}&state={STATE_DIVIDER.join([user_id, channel_id, message_ts])}",
3232
}
3333
],
3434
},
@@ -72,7 +72,7 @@ def request_to_join_group(client, user_id, channel_name, oauth_URI):
7272

7373
return (
7474
"Alright! I've posted the following message to the private channel:\n"
75-
f"> { _get_invite_string_for_user(user_requesting_to_join) }"
75+
f"> {_get_invite_string_for_user(user_requesting_to_join)}"
7676
)
7777

7878

handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def query_team_id():
7979

8080
def oauth_URI(scope, client_id, redirect_uri):
8181
return (
82-
f"https://slack.com/oauth/authorize?scope={ scope }"
83-
f"&client_id={ client_id }&redirect_uri={ redirect_uri }"
82+
f"https://slack.com/oauth/authorize?scope={scope}"
83+
f"&client_id={client_id}&redirect_uri={redirect_uri}"
8484
)
8585

8686

poetry.lock

Lines changed: 2 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ description = ""
44
authors = ["TrussWorks, Inc. <why@truss.works>"]
55
version = "0.1.0"
66
readme = "README.md"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
9-
python = "~3.10"
10+
python = "~3.13.0"
1011
slackclient = "^2.9.4"
1112
black = "^23.3.0"
1213

0 commit comments

Comments
 (0)