diff --git a/example-project/poetry.lock b/example-project/poetry.lock index a0c8d0395..1bb65c563 100644 --- a/example-project/poetry.lock +++ b/example-project/poetry.lock @@ -8,11 +8,7 @@ python-versions = ">=3.7.2" [package.dependencies] lazy-object-proxy = ">=1.4.0" -typing-extensions = {version = ">=3.10", markers = "python_version < \"3.10\""} -wrapt = [ - {version = ">=1.11,<2", markers = "python_version < \"3.11\""}, - {version = ">=1.14,<2", markers = "python_version >= \"3.11\""}, -] +wrapt = {version = ">=1.11,<2", markers = "python_version < \"3.11\""} [[package]] name = "bandit" @@ -70,7 +66,7 @@ optional = false python-versions = ">=3.6.0" [package.extras] -unicode_backport = ["unicodedata2"] +unicode-backport = ["unicodedata2"] [[package]] name = "colorama" @@ -171,9 +167,9 @@ python-versions = ">=3.6.1,<4.0" [package.extras] colors = ["colorama (>=0.4.3,<0.5.0)"] -pipfile_deprecated_finder = ["pipreqs", "requirementslib"] +pipfile-deprecated-finder = ["pipreqs", "requirementslib"] plugins = ["setuptools"] -requirements_deprecated_finder = ["pip-api", "pipreqs"] +requirements-deprecated-finder = ["pip-api", "pipreqs"] [[package]] name = "lazy-object-proxy" @@ -308,12 +304,12 @@ setoptconf-tmp = ">=0.3.1,<0.4.0" toml = ">=0.10.2,<0.11.0" [package.extras] -with_bandit = ["bandit (>=1.5.1)"] -with_everything = ["bandit (>=1.5.1)", "frosted (>=1.4.1)", "mypy (>=0.600)", "pyroma (>=2.4)", "vulture (>=1.5)"] -with_frosted = ["frosted (>=1.4.1)"] -with_mypy = ["mypy (>=0.600)"] -with_pyroma = ["pyroma (>=2.4)"] -with_vulture = ["vulture (>=1.5)"] +with-bandit = ["bandit (>=1.5.1)"] +with-everything = ["bandit (>=1.5.1)", "frosted (>=1.4.1)", "mypy (>=0.600)", "pyroma (>=2.4)", "vulture (>=1.5)"] +with-frosted = ["frosted (>=1.4.1)"] +with-mypy = ["mypy (>=0.600)"] +with-pyroma = ["pyroma (>=2.4)"] +with-vulture = ["vulture (>=1.5)"] [[package]] name = "pycodestyle" @@ -373,7 +369,6 @@ mccabe = ">=0.6,<0.8" platformdirs = ">=2.2.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} tomlkit = ">=0.10.1" -typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""} [package.extras] spelling = ["pyenchant (>=3.2,<4.0)"] @@ -405,8 +400,8 @@ pylint = ">=2.0,<3" pylint-plugin-utils = ">=0.7" [package.extras] -for_tests = ["coverage", "django-tables2", "django-tastypie", "factory-boy", "pylint (>=2.13)", "pytest", "wheel"] -with_django = ["Django"] +for-tests = ["coverage", "django-tables2", "django-tastypie", "factory-boy", "pylint (>=2.13)", "pytest", "wheel"] +with-django = ["Django"] [[package]] name = "pylint-flask" @@ -484,7 +479,7 @@ urllib3 = ">=1.21.1,<1.27" [package.extras] socks = ["PySocks (>=1.5.6,!=1.5.7)"] -use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"] +use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] [[package]] name = "requirements-detector" @@ -614,8 +609,8 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [metadata] lock-version = "1.1" -python-versions = ">=3.8,<4.0" -content-hash = "b99c8cb2c6fc31713be0dad1e65f261be2fa53ea4e06c738050b1d8c0febe02b" +python-versions = ">=3.10,<3.11" +content-hash = "0e7bae5ff2adbdbc3af2684888b6ea02d9b910fff43c0ce685ec9bb3491f076b" [metadata.files] astroid = [ diff --git a/example-project/pyproject.toml b/example-project/pyproject.toml index 5101cf154..2b536ba69 100644 --- a/example-project/pyproject.toml +++ b/example-project/pyproject.toml @@ -45,7 +45,7 @@ include = ["project/py.typed"] python = ">=3.10,<3.11" [tool.poetry.dev-dependencies] -prospector = { version = "1.8.2", extras = ["with_bandit", "with_mypy", "with_pyroma"] } +prospector = { version = "1.7.7", extras = ["with_bandit", "with_mypy", "with_pyroma"] } [build-system] requires = [ diff --git a/poetry.lock b/poetry.lock index 894135384..275711fdb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -26,7 +26,7 @@ python-versions = ">=3.5" dev = ["cloudpickle", "coverage[toml] (>=5.0.2)", "furo", "hypothesis", "mypy (>=0.900,!=0.940)", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "sphinx", "sphinx-notfound-page", "zope.interface"] docs = ["furo", "sphinx", "sphinx-notfound-page", "zope.interface"] tests = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "zope.interface"] -tests-no-zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins"] +tests_no_zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy (>=0.900,!=0.940)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins"] [[package]] name = "bandit" @@ -149,7 +149,7 @@ optional = false python-versions = ">=3.6.0" [package.extras] -unicode-backport = ["unicodedata2"] +unicode_backport = ["unicodedata2"] [[package]] name = "click" @@ -403,7 +403,7 @@ six = ">=1.9.0" [package.extras] aiohttp = ["aiohttp (>=3.6.2,<4.0.0dev)", "requests (>=2.20.0,<3.0.0dev)"] -enterprise-cert = ["cryptography (==36.0.2)", "pyopenssl (==22.0.0)"] +enterprise_cert = ["cryptography (==36.0.2)", "pyopenssl (==22.0.0)"] pyopenssl = ["cryptography (>=38.0.3)", "pyopenssl (>=20.0.0)"] reauth = ["pyu2f (>=0.1.5)"] @@ -509,9 +509,9 @@ python-versions = ">=3.6.1,<4.0" [package.extras] colors = ["colorama (>=0.4.3,<0.5.0)"] -pipfile-deprecated-finder = ["pipreqs", "requirementslib"] +pipfile_deprecated_finder = ["pipreqs", "requirementslib"] plugins = ["setuptools"] -requirements-deprecated-finder = ["pip-api", "pipreqs"] +requirements_deprecated_finder = ["pip-api", "pipreqs"] [[package]] name = "jaraco-classes" @@ -638,11 +638,11 @@ python-versions = "*" [[package]] name = "mccabe" -version = "0.7.0" +version = "0.6.1" description = "McCabe checker, plugin for flake8" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = "*" [[package]] name = "more-itertools" @@ -806,30 +806,21 @@ python-versions = ">=3.7" docs = ["furo (>=2022.9.29)", "proselint (>=0.13)", "sphinx (>=5.3)", "sphinx-autodoc-typehints (>=1.19.4)"] test = ["appdirs (==1.4.4)", "pytest (>=7.2)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"] -[[package]] -name = "poetry-semver" -version = "0.1.0" -description = "A semantic versioning library for Python" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - [[package]] name = "prospector" -version = "1.8.2" +version = "1.7.7" description = "" category = "dev" optional = false -python-versions = ">=3.7,<4.0" +python-versions = ">=3.6.2,<4.0" [package.dependencies] -bandit = {version = ">=1.5.1", optional = true, markers = "extra == \"with-bandit\" or extra == \"with-everything\""} +bandit = {version = ">=1.5.1", optional = true, markers = "extra == \"with_bandit\" or extra == \"with_everything\""} dodgy = ">=0.2.1,<0.3.0" -GitPython = ">=3.1.27,<4.0.0" -mccabe = ">=0.7.0,<0.8.0" -mypy = {version = ">=0.600", optional = true, markers = "extra == \"with-mypy\" or extra == \"with-everything\""} +mccabe = ">=0.6.0,<0.7.0" +mypy = {version = ">=0.600", optional = true, markers = "extra == \"with_mypy\" or extra == \"with_everything\""} pep8-naming = ">=0.3.3,<=0.10.0" -pycodestyle = ">=2.9.0" +pycodestyle = ">=2.6.0,<2.9.0" pydocstyle = ">=2.0.0" pyflakes = ">=2.2.0,<3" pylint = ">=2.8.3" @@ -837,18 +828,19 @@ pylint-celery = "0.3" pylint-django = ">=2.5,<2.6" pylint-flask = "0.6" pylint-plugin-utils = ">=0.7,<0.8" -pyroma = {version = ">=2.4", optional = true, markers = "extra == \"with-pyroma\" or extra == \"with-everything\""} +pyroma = {version = ">=2.4", optional = true, markers = "extra == \"with_pyroma\" or extra == \"with_everything\""} PyYAML = "*" -requirements-detector = ">=1.0.3" +requirements-detector = ">=0.7,<0.8" setoptconf-tmp = ">=0.3.1,<0.4.0" toml = ">=0.10.2,<0.11.0" [package.extras] -with-bandit = ["bandit (>=1.5.1)"] -with-everything = ["bandit (>=1.5.1)", "mypy (>=0.600)", "pyroma (>=2.4)", "vulture (>=1.5)"] -with-mypy = ["mypy (>=0.600)"] -with-pyroma = ["pyroma (>=2.4)"] -with-vulture = ["vulture (>=1.5)"] +with_bandit = ["bandit (>=1.5.1)"] +with_everything = ["bandit (>=1.5.1)", "frosted (>=1.4.1)", "mypy (>=0.600)", "pyroma (>=2.4)", "vulture (>=1.5)"] +with_frosted = ["frosted (>=1.4.1)"] +with_mypy = ["mypy (>=0.600)"] +with_pyroma = ["pyroma (>=2.4)"] +with_vulture = ["vulture (>=1.5)"] [[package]] name = "protobuf" @@ -879,11 +871,11 @@ pyasn1 = ">=0.4.6,<0.5.0" [[package]] name = "pycodestyle" -version = "2.10.0" +version = "2.8.0" description = "Python style guide checker" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "pycparser" @@ -975,8 +967,8 @@ pylint = ">=2.0,<3" pylint-plugin-utils = ">=0.7" [package.extras] -for-tests = ["coverage", "django-tables2", "django-tastypie", "factory-boy", "pylint (>=2.13)", "pytest", "wheel"] -with-django = ["Django"] +for_tests = ["coverage", "django-tables2", "django-tastypie", "factory-boy", "pylint (>=2.13)", "pytest", "wheel"] +with_django = ["Django"] [[package]] name = "pylint-flask" @@ -1111,7 +1103,7 @@ urllib3 = ">=1.21.1,<1.27" [package.extras] socks = ["PySocks (>=1.5.6,!=1.5.7)"] -use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] +use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"] [[package]] name = "requests-oauthlib" @@ -1141,17 +1133,14 @@ requests = ">=2.0.1,<3.0.0" [[package]] name = "requirements-detector" -version = "1.0.3" +version = "0.7" description = "Python tool to find and list requirements of a Python project" category = "dev" optional = false -python-versions = ">=3.6.2,<4.0" +python-versions = "*" [package.dependencies] -astroid = ">=2.0,<3.0" -packaging = ">=21.3,<22.0" -poetry-semver = "0.1.0" -toml = ">=0.10.2,<0.11.0" +astroid = ">=1.4" [[package]] name = "rfc3986" @@ -1503,14 +1492,14 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools" [extras] audit = ["pipenv"] checks = ["black", "isort", "codespell", "EditorConfig"] -pr-checks = ["codespell"] +pr_checks = ["codespell"] publish = ["twine", "google-api-python-client", "google-auth-httplib2", "google-auth-oauthlib", "tomlkit"] -publish-plugins = [] +publish_plugins = [] [metadata] lock-version = "1.1" python-versions = ">=3.8,<4.0" -content-hash = "c48bb0af23b5a903c5b89b745aecf3b0df573e34f29b7337b31255c1c148592a" +content-hash = "1b7c013c92b3a8284ad90b72820639a88a2644df8f7be82b16f0261b3ac652be" [metadata.files] astroid = [ @@ -1830,8 +1819,8 @@ markdown-table = [ {file = "markdown-table-2020.12.3.tar.gz", hash = "sha256:df0de8e86d14183b1dab61aaa5a78ad683f8f7ca7dddda182ecbd403b321193f"}, ] mccabe = [ - {file = "mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"}, - {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, + {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, + {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, ] more-itertools = [ {file = "more-itertools-9.0.0.tar.gz", hash = "sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab"}, @@ -1921,13 +1910,9 @@ platformdirs = [ {file = "platformdirs-2.5.4-py3-none-any.whl", hash = "sha256:af0276409f9a02373d540bf8480021a048711d572745aef4b7842dad245eba10"}, {file = "platformdirs-2.5.4.tar.gz", hash = "sha256:1006647646d80f16130f052404c6b901e80ee4ed6bef6792e1f238a8969106f7"}, ] -poetry-semver = [ - {file = "poetry-semver-0.1.0.tar.gz", hash = "sha256:d809b612aa27b39bf2d0fc9d31b4f4809b0e972646c5f19cfa46c725b7638810"}, - {file = "poetry_semver-0.1.0-py2.py3-none-any.whl", hash = "sha256:4e6349bd7231cc657f0e1930f7b204e87e33dfd63eef5cac869363969515083a"}, -] prospector = [ - {file = "prospector-1.8.2-py3-none-any.whl", hash = "sha256:3afabfce9b013796dc83edba86e83d84f6069c43da9ec5bf18b88e10e0facf05"}, - {file = "prospector-1.8.2.tar.gz", hash = "sha256:931003914c2df58aebf3c026c3c2f1c9d1c3eb6115599dfecd06e99516486f88"}, + {file = "prospector-1.7.7-py3-none-any.whl", hash = "sha256:2dec5dac06f136880a3710996c0886dcc99e739007bbc05afc32884973f5c058"}, + {file = "prospector-1.7.7.tar.gz", hash = "sha256:c04b3d593e7c525cf9a742fed62afbe02e2874f0e42f2f56a49378fd94037360"}, ] protobuf = [ {file = "protobuf-4.21.9-cp310-abi3-win32.whl", hash = "sha256:6e0be9f09bf9b6cf497b27425487706fa48c6d1632ddd94dab1a5fe11a422392"}, @@ -1954,8 +1939,8 @@ pyasn1-modules = [ {file = "pyasn1_modules-0.2.8-py2.py3-none-any.whl", hash = "sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74"}, ] pycodestyle = [ - {file = "pycodestyle-2.10.0-py2.py3-none-any.whl", hash = "sha256:8a4eaf0d0495c7395bdab3589ac2db602797d76207242c17d470186815706610"}, - {file = "pycodestyle-2.10.0.tar.gz", hash = "sha256:347187bdb476329d98f695c213d7295a846d1152ff4fe9bacb8a9590b8ee7053"}, + {file = "pycodestyle-2.8.0-py2.py3-none-any.whl", hash = "sha256:720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20"}, + {file = "pycodestyle-2.8.0.tar.gz", hash = "sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f"}, ] pycparser = [ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, @@ -2094,8 +2079,7 @@ requests-toolbelt = [ {file = "requests_toolbelt-0.10.1-py2.py3-none-any.whl", hash = "sha256:18565aa58116d9951ac39baa288d3adb5b3ff975c4f25eee78555d89e8f247f7"}, ] requirements-detector = [ - {file = "requirements-detector-1.0.3.tar.gz", hash = "sha256:9124b0fa5808660e2ae65a06049dfe248a7b7df73f8e9d48d0ad7f7c790690ad"}, - {file = "requirements_detector-1.0.3-py3-none-any.whl", hash = "sha256:d9fa8da14813500f6f94752c2bf4a6cf33d13e9f2140947f7df0149f1537437b"}, + {file = "requirements-detector-0.7.tar.gz", hash = "sha256:0d1e13e61ed243f9c3c86e6cbb19980bcb3a0e0619cde2ec1f3af70fdbee6f7b"}, ] rfc3986 = [ {file = "rfc3986-2.0.0-py2.py3-none-any.whl", hash = "sha256:50b1502b60e289cb37883f3dfd34532b8873c7de9f49bb546641ce9cbd256ebd"}, diff --git a/pyproject.toml b/pyproject.toml index 09b511839..3fd0bd65a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,7 +119,7 @@ publish_plugins = [] pr_checks = ["codespell"] [tool.poetry.dev-dependencies] -prospector = { version = "1.8.2", extras = ["with_bandit", "with_mypy", "with_pyroma"] } +prospector = { version = "1.7.7", extras = ["with_bandit", "with_mypy", "with_pyroma"] } types-requests = "2.28.11.5" types-pyyaml = "6.0.12.2" types-setuptools = "65.6.0.1"