From f311d22f93da5dc48822371427782e00d9bf1e02 Mon Sep 17 00:00:00 2001 From: henrikstranneheim Date: Thu, 24 Oct 2024 09:23:37 +0200 Subject: [PATCH] feat(update): Python --- poetry.lock | 67 ++------------------------------------------------ pyproject.toml | 56 ++++++++++++++++++++--------------------- 2 files changed, 30 insertions(+), 93 deletions(-) diff --git a/poetry.lock b/poetry.lock index 0b7f0dc..8d3493b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -60,17 +60,6 @@ doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.21.0b1)"] trio = ["trio (>=0.26.1)"] -[[package]] -name = "astroid" -version = "3.3.5" -description = "An abstract syntax tree for Python with inference support." -optional = false -python-versions = ">=3.9.0" -files = [ - {file = "astroid-3.3.5-py3-none-any.whl", hash = "sha256:a9d1c946ada25098d790e079ba2a1b112157278f3fb7e718ae6a9252f5835dc8"}, - {file = "astroid-3.3.5.tar.gz", hash = "sha256:5cfc40ae9f68311075d27ef68a4841bdc5cc7f6cf86671b49f00607d30188e2d"}, -] - [[package]] name = "bcrypt" version = "4.2.0" @@ -510,21 +499,6 @@ ssh = ["bcrypt (>=3.1.5)"] test = ["certifi", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-xdist"] test-randomorder = ["pytest-randomly"] -[[package]] -name = "dill" -version = "0.3.9" -description = "serialize all of Python" -optional = false -python-versions = ">=3.8" -files = [ - {file = "dill-0.3.9-py3-none-any.whl", hash = "sha256:468dff3b89520b474c0397703366b7b95eebe6303f108adf9b19da1f702be87a"}, - {file = "dill-0.3.9.tar.gz", hash = "sha256:81aa267dddf68cbfe8029c42ca9ec6a4ab3b22371d1c450abc54422577b4512c"}, -] - -[package.extras] -graph = ["objgraph (>=1.7.2)"] -profile = ["gprof2dot (>=2022.7.29)"] - [[package]] name = "distlib" version = "0.3.8" @@ -1215,33 +1189,6 @@ azure-key-vault = ["azure-identity (>=1.16.0)", "azure-keyvault-secrets (>=4.8.0 toml = ["tomli (>=2.0.1)"] yaml = ["pyyaml (>=6.0.1)"] -[[package]] -name = "pylint" -version = "3.3.1" -description = "python code static checker" -optional = false -python-versions = ">=3.9.0" -files = [ - {file = "pylint-3.3.1-py3-none-any.whl", hash = "sha256:2f846a466dd023513240bc140ad2dd73bfc080a5d85a710afdb728c420a5a2b9"}, - {file = "pylint-3.3.1.tar.gz", hash = "sha256:9f3dcc87b1203e612b78d91a896407787e708b3f189b5fa0b307712d49ff0c6e"}, -] - -[package.dependencies] -astroid = ">=3.3.4,<=3.4.0-dev0" -colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} -dill = [ - {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, - {version = ">=0.3.6", markers = "python_version >= \"3.11\" and python_version < \"3.12\""}, -] -isort = ">=4.2.5,<5.13.0 || >5.13.0,<6" -mccabe = ">=0.6,<0.8" -platformdirs = ">=2.2.0" -tomlkit = ">=0.10.1" - -[package.extras] -spelling = ["pyenchant (>=3.2,<4.0)"] -testutils = ["gitpython (>3)"] - [[package]] name = "pymysql" version = "1.1.1" @@ -1353,6 +1300,7 @@ files = [ ] [package.dependencies] +cryptography = {version = ">=3.4.0", optional = true, markers = "extra == \"cryptography\""} ecdsa = "!=0.15" pyasn1 = "*" rsa = "*" @@ -1642,17 +1590,6 @@ files = [ doc = ["reno", "sphinx"] test = ["pytest", "tornado (>=4.5)", "typeguard"] -[[package]] -name = "tomlkit" -version = "0.13.2" -description = "Style preserving TOML library" -optional = false -python-versions = ">=3.8" -files = [ - {file = "tomlkit-0.13.2-py3-none-any.whl", hash = "sha256:7a974427f6e119197f670fbbbeae7bef749a6c14e793db934baefc1b5f03efde"}, - {file = "tomlkit-0.13.2.tar.gz", hash = "sha256:fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"}, -] - [[package]] name = "typing-extensions" version = "4.12.2" @@ -1766,4 +1703,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "bde31cc1738746ba6442c775e26826d504cc02ff499417f6ec49a5ab20b14103" +content-hash = "5771f8e0cb92becc82d09d87a5e83efad5967fd63c234fba695750055054edd1" diff --git a/pyproject.toml b/pyproject.toml index ca91426..ba31858 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,36 +6,36 @@ authors = ["Christian Oertlin "] readme = "README.md" [tool.poetry.dependencies] -aiofiles = "^23.2.1" -bcrypt = "^4.1.2" -bump2version = "^1.0.1" -click = "^8.1.7" -coloredlogs = "^15.0.1" -cryptography = "^42.0.8" -email-validator = "^2.1.1" -fastapi = ">=0.109.1" -google-auth = "^2.29.0" +aiofiles = "*" +bcrypt = "*" +bump2version = "*" +click = "*" +coloredlogs = "*" +cryptography = "*" +email-validator = "*" +fastapi = "*" +google-auth = "*" gunicorn = "*" -httptools = "^0.6.1" -numpy = "^1.26.4" -openpyxl = "^3.1.2" -passlib = "^1.7.4" -pydantic = "^2.6.4" -pydantic-settings = "^2.2.1" -python = "^3.11" -python-dotenv = "^1.0.1" -python-jose = {extras = ["cryptography"], version = "^3.3.0"} -python-multipart = "^0.0.9" -pyyaml = "^6.0.1" +httptools = "*" +numpy = "*" +openpyxl = "*" +passlib = "*" +pydantic = "*" +pydantic-settings = "*" +python = "^3.12" +python-dotenv = "*" +python-jose = {extras = ["cryptography"], version = "*"} +python-multipart = "*" +pyyaml = "*" requests = "*" -sqlalchemy = {extras = ["asyncio"], version = "^2.0.35"} -sqlalchemy-utils = "^0.41.2" -starlette = "^0.37.2" -uvicorn = "^0.29.0" -uvloop = "^0.19.0" -aiomysql = "^0.2.0" -pytest-asyncio = "^0.24.0" -tenacity = "^9.0.0" +sqlalchemy = {extras = ["asyncio"], version = "*"} +sqlalchemy-utils = "*" +starlette = "*" +uvicorn = "*" +uvloop = "*" +aiomysql = "*" +pytest-asyncio = "*" +tenacity = "*" [tool.poetry.group.dev.dependencies] coveralls = "*"