From dd2e3d284dfe4359e898600445f910dcff0b6113 Mon Sep 17 00:00:00 2001 From: Dmitry Afanasyev Date: Mon, 6 Nov 2023 12:27:00 +0300 Subject: [PATCH] update dependencies --- Makefile | 12 ++++++++++-- poetry.lock | 39 ++++++++++++++++++++------------------- requirements.txt | 12 ++++++------ 3 files changed, 36 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index b6eb187..1efe7d3 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ YELLOW := $(shell tput -Txterm setaf 3) RESET := $(shell tput -Txterm sgr0) .DEFAULT_GOAL := help -.PHONY: help lint-deps +.PHONY: help lint-deps install lock requirements-dev requirements-prod ## Проверить зависимостей lint-deps: @@ -20,7 +20,15 @@ lock: ## Установить все зависимости install: - poetry install --no-interaction --no-ansi --no-root + poetry install --sync --no-interaction --no-ansi --no-root + +## Сгенерировать requirements.txt файл с dev зависимостями +requirements-dev: + poetry export -f requirements.txt --with dev --without-hashes --output requirements.txt + +## Сгенерировать requirements.txt с only main зависимостями +requirements-prod: + poetry export -f requirements.txt --without-hashes --output requirements.txt ## Show help help: diff --git a/poetry.lock b/poetry.lock index 143fe0e..d89e836 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.0 and should not be changed by hand. [[package]] name = "aiohttp" @@ -154,17 +154,17 @@ files = [ [[package]] name = "amqp" -version = "5.1.1" +version = "5.2.0" description = "Low-level AMQP client for Python (fork of amqplib)." optional = false python-versions = ">=3.6" files = [ - {file = "amqp-5.1.1-py3-none-any.whl", hash = "sha256:6f0956d2c23d8fa6e7691934d8c3930eadb44972cbbd1a7ae3a520f735d43359"}, - {file = "amqp-5.1.1.tar.gz", hash = "sha256:2c1b13fecc0893e946c65cbd5f36427861cffa4ea2201d8f6fca22e2a373b5e2"}, + {file = "amqp-5.2.0-py3-none-any.whl", hash = "sha256:827cb12fb0baa892aad844fd95258143bce4027fdac4fccddbc43330fd281637"}, + {file = "amqp-5.2.0.tar.gz", hash = "sha256:a1ecff425ad063ad42a486c902807d1482311481c8ad95a72694b2975e75f7fd"}, ] [package.dependencies] -vine = ">=5.0.0" +vine = ">=5.0.0,<6.0.0" [[package]] name = "annotated-types" @@ -393,13 +393,13 @@ typecheck = ["mypy"] [[package]] name = "billiard" -version = "4.1.0" +version = "4.2.0" description = "Python multiprocessing fork with improvements and bugfixes" optional = false python-versions = ">=3.7" files = [ - {file = "billiard-4.1.0-py3-none-any.whl", hash = "sha256:0f50d6be051c6b2b75bfbc8bfd85af195c5739c281d3f5b86a5640c65563614a"}, - {file = "billiard-4.1.0.tar.gz", hash = "sha256:1ad2eeae8e28053d729ba3373d34d9d6e210f6e4d8bf0a9c64f92bd053f1edf5"}, + {file = "billiard-4.2.0-py3-none-any.whl", hash = "sha256:07aa978b308f334ff8282bd4a746e681b3513db5c9a514cbdd810cbbdc19714d"}, + {file = "billiard-4.2.0.tar.gz", hash = "sha256:9a3c3184cb275aa17a732f93f65b20c525d3d9f253722d26a82194803ade5a2c"}, ] [[package]] @@ -1119,17 +1119,18 @@ pyflakes = ">=3.1.0,<3.2.0" [[package]] name = "flake8-aaa" -version = "0.16.0" +version = "0.17.0" description = "A Flake8 plugin that checks Python tests follow the Arrange-Act-Assert pattern" optional = false python-versions = ">=3.8" files = [ - {file = "flake8-aaa-0.16.0.tar.gz", hash = "sha256:315d4fad96e4a5912069928afafffcb87d0482e602f9c7f73a6e02b5c0df12c3"}, - {file = "flake8_aaa-0.16.0-py3-none-any.whl", hash = "sha256:ba5a3f0a099995e9136484709d94035307fdb495e4ed853855e809178e13e541"}, + {file = "flake8-aaa-0.17.0.tar.gz", hash = "sha256:97dccdffa8e603dcf9cd9b4c2012e6fa22d58a2264a8b51146dcc9b63be66803"}, + {file = "flake8_aaa-0.17.0-py3-none-any.whl", hash = "sha256:c9212d1fb94d1a95433c2ae18a644f96c33ee6ac059644d116e4dade0f191988"}, ] [package.dependencies] asttokens = ">=2" +flake8 = ">=3" [[package]] name = "flake8-annotations-complexity" @@ -6993,13 +6994,13 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "uvicorn" -version = "0.23.2" +version = "0.24.0.post1" description = "The lightning-fast ASGI server." optional = false python-versions = ">=3.8" files = [ - {file = "uvicorn-0.23.2-py3-none-any.whl", hash = "sha256:1f9be6558f01239d4fdf22ef8126c39cb1ad0addf76c40e760549d2c2f43ab53"}, - {file = "uvicorn-0.23.2.tar.gz", hash = "sha256:4d3cc12d7727ba72b64d12d3cc7743124074c0a69f7b201512fc50c3e3f1569a"}, + {file = "uvicorn-0.24.0.post1-py3-none-any.whl", hash = "sha256:7c84fea70c619d4a710153482c0d230929af7bcf76c7bfa6de151f0a3a80121e"}, + {file = "uvicorn-0.24.0.post1.tar.gz", hash = "sha256:09c8e5a79dc466bdf28dead50093957db184de356fcdc48697bad3bde4c2588e"}, ] [package.dependencies] @@ -7033,13 +7034,13 @@ tooling-extras = ["pyaml (>=23.7.0)", "pypandoc-binary (>=1.11)", "pytest (>=7.4 [[package]] name = "vine" -version = "5.0.0" -description = "Promises, promises, promises." +version = "5.1.0" +description = "Python promises." optional = false python-versions = ">=3.6" files = [ - {file = "vine-5.0.0-py2.py3-none-any.whl", hash = "sha256:4c9dceab6f76ed92105027c49c823800dd33cacce13bdedc5b914e3514b7fb30"}, - {file = "vine-5.0.0.tar.gz", hash = "sha256:7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e"}, + {file = "vine-5.1.0-py3-none-any.whl", hash = "sha256:40fdf3c48b2cfe1c38a49e9ae2da6fda88e4794c810050a728bd7413811fb1dc"}, + {file = "vine-5.1.0.tar.gz", hash = "sha256:8b62e981d35c41049211cf62a0a1242d8c1ee9bd15bb196ce38aefd6799e61e0"}, ] [[package]] @@ -7227,4 +7228,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.11,<3.12" -content-hash = "255922cd99a49f3d98f3569f9f25bf686a2e0347d6c760f0ad51c73cc8214084" +content-hash = "3f8bb60758bb8998b383cac2d5e4b44f3dfbfc1ca3bb58cd14918e551bb416c2" diff --git a/requirements.txt b/requirements.txt index 247b191..6897cc6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ aiohttp==3.8.6 ; python_version >= "3.11" and python_version < "3.12" aiosignal==1.3.1 ; python_version >= "3.11" and python_version < "3.12" alembic==1.12.1 ; python_version >= "3.11" and python_version < "3.12" altgraph==0.17.4 ; python_version >= "3.11" and python_version < "3.12" -amqp==5.1.1 ; python_version >= "3.11" and python_version < "3.12" +amqp==5.2.0 ; python_version >= "3.11" and python_version < "3.12" annotated-types==0.6.0 ; python_version >= "3.11" and python_version < "3.12" anyio==3.7.1 ; python_version >= "3.11" and python_version < "3.12" appnope==0.1.3 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "darwin" @@ -17,7 +17,7 @@ attrs==23.1.0 ; python_version >= "3.11" and python_version < "3.12" autoflake==2.2.1 ; python_version >= "3.11" and python_version < "3.12" bandit==1.7.5 ; python_version >= "3.11" and python_version < "3.12" bcrypt==4.0.1 ; python_version >= "3.11" and python_version < "3.12" -billiard==4.1.0 ; python_version >= "3.11" and python_version < "3.12" +billiard==4.2.0 ; python_version >= "3.11" and python_version < "3.12" binaryornot==0.4.4 ; python_version >= "3.11" and python_version < "3.12" black==23.10.1 ; python_version >= "3.11" and python_version < "3.12" boolean-py==4.0 ; python_version >= "3.11" and python_version < "3.12" @@ -50,7 +50,7 @@ factory-boy==3.3.0 ; python_version >= "3.11" and python_version < "3.12" faker==19.13.0 ; python_version >= "3.11" and python_version < "3.12" fastapi==0.104.1 ; python_version >= "3.11" and python_version < "3.12" filelock==3.13.1 ; python_version >= "3.11" and python_version < "3.12" -flake8-aaa==0.16.0 ; python_version >= "3.11" and python_version < "3.12" +flake8-aaa==0.17.0 ; python_version >= "3.11" and python_version < "3.12" flake8-annotations-complexity==0.0.8 ; python_version >= "3.11" and python_version < "3.12" flake8-bandit==4.1.1 ; python_version >= "3.11" and python_version < "3.12" flake8-bugbear==23.9.16 ; python_version >= "3.11" and python_version < "3.12" @@ -312,7 +312,7 @@ pytest-cov==4.1.0 ; python_version >= "3.11" and python_version < "3.12" pytest-deadfixtures==2.2.1 ; python_version >= "3.11" and python_version < "3.12" pytest-env==1.1.1 ; python_version >= "3.11" and python_version < "3.12" pytest-freezegun==0.4.2 ; python_version >= "3.11" and python_version < "3.12" -pytest-html==4.0.2 ; python_version >= "3.11" and python_version < "3.12" +pytest-html==4.1.0 ; python_version >= "3.11" and python_version < "3.12" pytest-metadata==3.0.0 ; python_version >= "3.11" and python_version < "3.12" pytest-mock==3.12.0 ; python_version >= "3.11" and python_version < "3.12" pytest-randomly==3.15.0 ; python_version >= "3.11" and python_version < "3.12" @@ -364,9 +364,9 @@ typing-extensions==4.8.0 ; python_version >= "3.11" and python_version < "3.12" tzdata==2023.3 ; python_version >= "3.11" and python_version < "3.12" urllib3==2.0.7 ; python_version >= "3.11" and python_version < "3.12" urllib3[socks]==2.0.7 ; python_version >= "3.11" and python_version < "3.12" -uvicorn==0.23.2 ; python_version >= "3.11" and python_version < "3.12" +uvicorn==0.24.0.post1 ; python_version >= "3.11" and python_version < "3.12" validators==0.22.0 ; python_version >= "3.11" and python_version < "3.12" -vine==5.0.0 ; python_version >= "3.11" and python_version < "3.12" +vine==5.1.0 ; python_version >= "3.11" and python_version < "3.12" virtualenv==20.24.6 ; python_version >= "3.11" and python_version < "3.12" wcwidth==0.2.9 ; python_version >= "3.11" and python_version < "3.12" webencodings==0.5.1 ; python_version >= "3.11" and python_version < "3.12"