From 61ac278a408ab1611b1c560dc3020c1a5eabb65b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 22 Jan 2022 23:19:03 +0100 Subject: [PATCH] fix(deps): update dependency pytest-socket to a commit hash (#440) - Fix AttributeError: 'DoctestItem' object has no attribute 'fixturenames' - See https://github.com/miketheman/pytest-socket/pull/109 Co-authored-by: Renovate Bot Co-authored-by: W. Augusto Andreoli --- poetry.lock | 36 ++++++++++++++++++------------------ pyproject.toml | 6 +++--- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/poetry.lock b/poetry.lock index 702545d0..f6f623b1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -47,7 +47,7 @@ name = "atomicwrites" version = "1.4.0" description = "Atomic file writes." category = "main" -optional = true +optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] @@ -350,7 +350,7 @@ name = "iniconfig" version = "1.1.1" description = "iniconfig: brain-dead simple config-ini parsing" category = "main" -optional = true +optional = false python-versions = "*" [[package]] @@ -556,7 +556,7 @@ name = "packaging" version = "21.3" description = "Core utilities for Python packages" category = "main" -optional = true +optional = false python-versions = ">=3.6" [package.dependencies] @@ -644,7 +644,7 @@ name = "py" version = "1.11.0" description = "library with cross-python path, ini-parsing, io, code, log facilities" category = "main" -optional = true +optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] @@ -693,7 +693,7 @@ name = "pyparsing" version = "3.0.6" description = "Python parsing module" category = "main" -optional = true +optional = false python-versions = ">=3.6" [package.extras] @@ -712,7 +712,7 @@ name = "pytest" version = "6.2.5" description = "pytest: simple powerful testing with Python" category = "main" -optional = true +optional = false python-versions = ">=3.6" [package.dependencies] @@ -757,15 +757,22 @@ pytest = ">=2.7.0" [[package]] name = "pytest-socket" -version = "0.4.1" +version = "0.5.0" description = "Pytest Plugin to disable socket calls during tests" category = "main" -optional = true -python-versions = ">=3.6,<4.0" +optional = false +python-versions = "^3.7" +develop = false [package.dependencies] pytest = ">=3.6.3" +[package.source] +type = "git" +url = "https://github.com/miketheman/pytest-socket" +reference = "bf16fbd378a42d94b683e001dc6fd81c610c3923" +resolved_reference = "bf16fbd378a42d94b683e001dc6fd81c610c3923" + [[package]] name = "pytest-testmon" version = "1.2.2" @@ -1183,7 +1190,7 @@ test = ["pytest", "pytest-cov", "testfixtures", "responses", "freezegun", "pytes [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "4bd25ecf60718b979d4e15765690c13f16287d3d3beec14c0b0acde8f84361fd" +content-hash = "4e4129c158c5fc15fa37d4d0a0040efc805d41085c73c1982c51c58348c1b693" [metadata.files] alabaster = [ @@ -1615,10 +1622,7 @@ pytest-datadir = [ {file = "pytest-datadir-1.3.1.tar.gz", hash = "sha256:d3af1e738df87515ee509d6135780f25a15959766d9c2b2dbe02bf4fb979cb18"}, {file = "pytest_datadir-1.3.1-py2.py3-none-any.whl", hash = "sha256:1847ed0efe0bc54cac40ab3fba6d651c2f03d18dd01f2a582979604d32e7621e"}, ] -pytest-socket = [ - {file = "pytest-socket-0.4.1.tar.gz", hash = "sha256:b5abcfd14d9c03e7d4e2875bb5e190af28bf5b4162d0a83e3d7aee6d79f1c85d"}, - {file = "pytest_socket-0.4.1-py3-none-any.whl", hash = "sha256:e3bc6cc9c2534289c6a5b9748ca733f6ae8c8d34f1fdab5115ca17a47860bf5e"}, -] +pytest-socket = [] pytest-testmon = [ {file = "pytest-testmon-1.2.2.tar.gz", hash = "sha256:e69d5aeac4e371986f94e8ad06e56d70633870d026f2306fca44051f02fcb688"}, ] @@ -1650,10 +1654,6 @@ responses = [ {file = "ruamel.yaml-0.17.20.tar.gz", hash = "sha256:4b8a33c1efb2b443a93fcaafcfa4d2e445f8e8c29c528d9f5cdafb7cc9e4004c"}, ] "ruamel.yaml.clib" = [ - {file = "ruamel.yaml.clib-0.2.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:6e7be2c5bcb297f5b82fee9c665eb2eb7001d1050deaba8471842979293a80b0"}, - {file = "ruamel.yaml.clib-0.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl", hash = "sha256:221eca6f35076c6ae472a531afa1c223b9c29377e62936f61bc8e6e8bdc5f9e7"}, - {file = "ruamel.yaml.clib-0.2.6-cp310-cp310-win32.whl", hash = "sha256:1070ba9dd7f9370d0513d649420c3b362ac2d687fe78c6e888f5b12bf8bc7bee"}, - {file = "ruamel.yaml.clib-0.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:77df077d32921ad46f34816a9a16e6356d8100374579bc35e15bab5d4e9377de"}, {file = "ruamel.yaml.clib-0.2.6-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:cfdb9389d888c5b74af297e51ce357b800dd844898af9d4a547ffc143fa56751"}, {file = "ruamel.yaml.clib-0.2.6-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:7b2927e92feb51d830f531de4ccb11b320255ee95e791022555971c466af4527"}, {file = "ruamel.yaml.clib-0.2.6-cp35-cp35m-win32.whl", hash = "sha256:ada3f400d9923a190ea8b59c8f60680c4ef8a4b0dfae134d2f2ff68429adfab5"}, diff --git a/pyproject.toml b/pyproject.toml index 8e67125a..b4d370cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,9 +89,9 @@ responses = { version = "*", optional = true } freezegun = { version = "*", optional = true } pytest-testmon = { version = "*", optional = true } pytest-watch = { version = "*", optional = true } -# TODO: 0.5.0 fails with AttributeError: 'DoctestItem' object has no attribute 'fixturenames' -# See https://github.com/miketheman/pytest-socket/issues/105 -pytest-socket = { version = "<0.5.0", optional = true } +# TODO: Wait for a new pytest-socket release, then change spec to "*" +# See https://github.com/miketheman/pytest-socket/pull/109 +pytest-socket = { git = "https://github.com/miketheman/pytest-socket", rev = "bf16fbd378a42d94b683e001dc6fd81c610c3923" } pytest-datadir = { version = "*", optional = true } # Group: doc