From f4f68f128815bde3d316f030d220f4f71fb7c609 Mon Sep 17 00:00:00 2001 From: MarcoFavorito Date: Wed, 16 Nov 2022 16:12:52 +0100 Subject: [PATCH] test: update pytest version to 7.2.0 This will also solve a security issue detected by dependabot: https://github.com/AI-Planning/pddl/security/dependabot/3 Moreover, the versions of the pytest plugins have been pinned to current versions. --- Pipfile | 7 ++++--- Pipfile.lock | 43 +++++++++++++++++++++++++------------------ tox.ini | 8 ++++---- 3 files changed, 33 insertions(+), 25 deletions(-) diff --git a/Pipfile b/Pipfile index 0383287..d0221c2 100644 --- a/Pipfile +++ b/Pipfile @@ -4,9 +4,10 @@ url = "https://pypi.org/simple" verify_ssl = true [dev-packages] -pytest = ">=6.2.5,<6.3.0" -pytest-cov = ">=3.0.0,<3.1.0" -pytest-lazy-fixture = ">=0.6.3,<0.7.0" +pytest = ">=7.2.0,<7.3.0" +pytest-cov = ">=4.0.0,<4.1.0" +pytest-randomly = ">=3.12.0,<3.13.0" +pytest-lazy-fixture = ">=0.6.3 ,<0.7.0" tox = "*" ipython = "*" codecov = "*" diff --git a/Pipfile.lock b/Pipfile.lock index f301605..a34ee70 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "14ce218dbfe524ddfb0cf0633c7c3d076fa908b0339d042db1bdf8b62b7b9755" + "sha256": "9b42c0ce8a4f8404b93514dbf436eceea98b4a78923618609e9296e3e84a9f23" }, "pipfile-spec": 6, "requires": { @@ -93,7 +93,6 @@ "version": "==2.1.12" }, "coverage": { - "extras": [], "hashes": [ "sha256:027018943386e7b942fa832372ebc120155fd970837489896099f5cfa2890f79", "sha256:11b990d520ea75e7ee8dcab5bc908072aaada194a794db9f6d7d5cfd19661e5a", @@ -149,14 +148,6 @@ "markers": "python_version >= '3.7'", "version": "==6.5.0" }, - "darglint": { - "hashes": [ - "sha256:aa605ef47817a6d14797d32b390466edab621768ea4ca5cc0f3c54f6d8dcaec8", - "sha256:ac6797bcc918cd8d8f14c168a4a364f54e1aeb4ced59db58e7e4c6dfec2fe15c" - ], - "index": "pypi", - "version": "==1.8.0" - }, "decorator": { "hashes": [ "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330", @@ -172,6 +163,14 @@ ], "version": "==0.3.6" }, + "exceptiongroup": { + "hashes": [ + "sha256:542adf9dea4055530d6e1279602fa5cb11dab2395fa650b8674eaec35fc4a828", + "sha256:bd14967b79cd9bdb54d97323216f8fdf533e278df937aa2a90089e7d6e06e5ec" + ], + "markers": "python_version < '3.11'", + "version": "==1.0.4" + }, "filelock": { "hashes": [ "sha256:55447caa666f2198c5b6b13a26d2084d26fa5b115c00d065664b2124680c4edc", @@ -216,7 +215,7 @@ "sha256:057e92c15bc8d9e8109738a48db0ccb31b4d9d5cfbee5a8670879a30be66304b", "sha256:b7e52a1f8dec14a75ea73e0891f3060099ca1d8e6a462a4dff11c3e119ea1b31" ], - "markers": "python_version < '3.8'", + "markers": "python_version < '3.10'", "version": "==4.2.0" }, "iniconfig": { @@ -538,19 +537,19 @@ }, "pytest": { "hashes": [ - "sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89", - "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134" + "sha256:892f933d339f068883b6fd5a459f03d85bfcb355e4981e146d2c7616c21fef71", + "sha256:c4014eb40e10f11f355ad4e3c2fb2c6c6d1919c73f3b5a433de4708202cade59" ], "index": "pypi", - "version": "==6.2.5" + "version": "==7.2.0" }, "pytest-cov": { "hashes": [ - "sha256:578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6", - "sha256:e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470" + "sha256:2feb1b751d66a8bd934e5edfa2e961d11309dc37b73b0eabe73b5945fee20f6b", + "sha256:996b79efde6433cdbd0088872dbc5fb3ed7fe1578b68cdbba634f14bb8dd0470" ], "index": "pypi", - "version": "==3.0.0" + "version": "==4.0.0" }, "pytest-lazy-fixture": { "hashes": [ @@ -560,6 +559,14 @@ "index": "pypi", "version": "==0.6.3" }, + "pytest-randomly": { + "hashes": [ + "sha256:d60c2db71ac319aee0fc6c4110a7597d611a8b94a5590918bfa8583f00caccb2", + "sha256:f4f2e803daf5d1ba036cc22bf4fe9dbbf99389ec56b00e5cba732fb5c1d07fdd" + ], + "index": "pypi", + "version": "==3.12.0" + }, "python-dateutil": { "hashes": [ "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", @@ -666,7 +673,7 @@ "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" ], - "markers": "python_version < '3.11' and python_version >= '3.7'", + "markers": "python_full_version < '3.11.0a7'", "version": "==2.0.1" }, "tox": { diff --git a/tox.ini b/tox.ini index 482bb0a..f680bf2 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,10 @@ envlist = check-copyright, black-check, isort-check, docs, flake8, mypy, py3.8, setenv = PYTHONPATH = {toxinidir} deps = - pytest - pytest-cov - pytest-randomly - pytest-lazy-fixture + pytest>=7.2.0,<7.3.0 + pytest-cov>=4.0.0,<4.1.0 + pytest-randomly>=3.12.0,<3.13.0 + pytest-lazy-fixture>=0.6.3 ,<0.7.0 mistune==2.0.0a4 commands =