From ccaceb3b256b458dd87bf7b05f78fae655e8bc3b Mon Sep 17 00:00:00 2001 From: JimZhang Date: Tue, 16 May 2023 12:08:15 +0800 Subject: [PATCH] refactor: python version --- poetry.lock | 58 ++++++++++++++++++++++++++++++++++++++++++++++++-- pyproject.toml | 4 ++-- 2 files changed, 58 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 95b10d6..90e04dc 100644 --- a/poetry.lock +++ b/poetry.lock @@ -69,6 +69,9 @@ files = [ {file = "delayedqueue-1.0.0.tar.gz", hash = "sha256:34085363e5ae54584b2d5977f270fa5d9321ce9a857f3acab8608d711278b68c"}, ] +[package.dependencies] +importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} + [package.extras] testing = ["pytest", "pytest-cov", "setuptools"] @@ -97,6 +100,32 @@ type = "legacy" url = "https://mirror.baidu.com/pypi/simple" reference = "douban" +[[package]] +name = "importlib-metadata" +version = "6.6.0" +description = "Read metadata from Python packages" +category = "main" +optional = false +python-versions = ">=3.7" +files = [ + {file = "importlib_metadata-6.6.0-py3-none-any.whl", hash = "sha256:43dd286a2cd8995d5eaef7fee2066340423b818ed3fd70adf0bad5f1fac53fed"}, + {file = "importlib_metadata-6.6.0.tar.gz", hash = "sha256:92501cdf9cc66ebd3e612f1b4f0c0765dfa42f0fa38ffb319b6bd84dd675d705"}, +] + +[package.dependencies] +typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} +zipp = ">=0.5" + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] +perf = ["ipython"] +testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"] + +[package.source] +type = "legacy" +url = "https://mirror.baidu.com/pypi/simple" +reference = "douban" + [[package]] name = "iniconfig" version = "2.0.0" @@ -187,6 +216,9 @@ files = [ {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, ] +[package.dependencies] +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} + [package.extras] dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] @@ -269,6 +301,7 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" @@ -359,7 +392,28 @@ type = "legacy" url = "https://mirror.baidu.com/pypi/simple" reference = "douban" +[[package]] +name = "zipp" +version = "3.15.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +category = "main" +optional = false +python-versions = ">=3.7" +files = [ + {file = "zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556"}, + {file = "zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b"}, +] + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] +testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)"] + +[package.source] +type = "legacy" +url = "https://mirror.baidu.com/pypi/simple" +reference = "douban" + [metadata] lock-version = "2.0" -python-versions = "^3.9" -content-hash = "b8900190a2700cb316b4e37ff76589b5049edcffec156bd910a877caa5c4d38b" +python-versions = "^3.7" +content-hash = "cd2a61e44b452c0c7c98b52833f4b223c8f3c22f363bcbf62acbf239ab9260e6" diff --git a/pyproject.toml b/pyproject.toml index 33c20d5..2cd94c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "amqp-workers" -version = "0.1.0" +version = "0.1.1" description = "" authors = ["JimZhang "] readme = "README.md" @@ -10,7 +10,7 @@ keywords = ["amqp", "rabbitmq"] license = "MIT" [tool.poetry.dependencies] -python = "^3.9" +python = "^3.7" amqpstorm = {version = "^2.10.6", source = "douban"} pydantic = {version = "1.10.7", source = "douban"} loguru = {version = "^0.7.0", source = "douban"}