From 0e0706d3efe08502c44d17b637a815ef52bb4345 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 09:34:52 +0000 Subject: [PATCH] chore(deps): update dependencies --- .pre-commit-config.yaml | 2 +- .tool-versions | 4 ++-- Dockerfile | 4 ++-- poetry.lock | 47 ++--------------------------------------- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 51 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a2660e..7df5f70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace diff --git a/.tool-versions b/.tool-versions index 4aed807..e6e11b3 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -python 3.10.13 -poetry 1.4.2 +python 3.12.0 +poetry 1.6.1 diff --git a/Dockerfile b/Dockerfile index 66ce42e..08464c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim-bullseye as python-build-stage +FROM python:3.12-slim-bullseye as python-build-stage WORKDIR /src RUN apt-get update && apt-get upgrade -y \ @@ -11,7 +11,7 @@ RUN pip install --isolated --no-cache-dir --no-input poetry \ && poetry config virtualenvs.create false \ && poetry install --no-interaction --without=dev -FROM public.ecr.aws/lambda/python:3.9 as python-run-stage +FROM public.ecr.aws/lambda/python:3.11 as python-run-stage COPY --from=python-build-stage /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages ENV PYTHONPATH=/usr/local/lib/python3.10/site-packages diff --git a/poetry.lock b/poetry.lock index 8ca16a1..f980797 100644 --- a/poetry.lock +++ b/poetry.lock @@ -193,8 +193,6 @@ mypy-extensions = ">=0.4.3" packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -329,21 +327,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "exceptiongroup" -version = "1.1.3" -description = "Backport of PEP 654 (exception groups)" -category = "dev" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.1.3-py3-none-any.whl", hash = "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3"}, - {file = "exceptiongroup-1.1.3.tar.gz", hash = "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9"}, -] - -[package.extras] -test = ["pytest (>=6)"] - [[package]] name = "flake8" version = "6.1.0" @@ -676,11 +659,9 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -703,30 +684,6 @@ aiohttp = ">3.5.2,<4.0.0" [package.extras] optional = ["aiodns (>1.0)"] -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -category = "main" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - -[[package]] -name = "typing-extensions" -version = "4.8.0" -description = "Backported and Experimental Type Hints for Python 3.8+" -category = "main" -optional = false -python-versions = ">=3.8" -files = [ - {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"}, - {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, -] - [[package]] name = "yarl" version = "1.9.2" @@ -817,5 +774,5 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" -python-versions = "~3.10" -content-hash = "6c4a6ad6bf015e888739cb2548d8012d19186c231df1c977386cbf445d99377f" +python-versions = "~3.12.0" +content-hash = "ffa893c21c41400ce537175f93cb527255f2b2d55e46ebe3e2cf6fafff25d3ad" diff --git a/pyproject.toml b/pyproject.toml index 6c4216a..8f4ea71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ version = "0.1.0" readme = "README.md" [tool.poetry.dependencies] -python = "~3.10" +python = "~3.12.0" slackclient = "^2.9.4" black = "^23.3.0"