From 59aadf7fb45d1de88471aabc07a747d3a5ff7e4b Mon Sep 17 00:00:00 2001 From: BrunoLiegiBastonLiegi Date: Wed, 31 Jul 2024 16:00:44 +0200 Subject: [PATCH] build: updated pytest packages and removed pytest-env --- poetry.lock | 25 ++++--------------------- pyproject.toml | 5 ++--- 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/poetry.lock b/poetry.lock index bf1ccfb..2474f75 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1616,13 +1616,13 @@ histogram = ["pygal", "pygaljs"] [[package]] name = "pytest-cov" -version = "3.0.0" +version = "4.0.0" description = "Pytest plugin for measuring coverage." optional = false python-versions = ">=3.6" files = [ - {file = "pytest-cov-3.0.0.tar.gz", hash = "sha256:e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470"}, - {file = "pytest_cov-3.0.0-py3-none-any.whl", hash = "sha256:578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6"}, + {file = "pytest-cov-4.0.0.tar.gz", hash = "sha256:996b79efde6433cdbd0088872dbc5fb3ed7fe1578b68cdbba634f14bb8dd0470"}, + {file = "pytest_cov-4.0.0-py3-none-any.whl", hash = "sha256:2feb1b751d66a8bd934e5edfa2e961d11309dc37b73b0eabe73b5945fee20f6b"}, ] [package.dependencies] @@ -1632,23 +1632,6 @@ pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] -[[package]] -name = "pytest-env" -version = "0.8.2" -description = "py.test plugin that allows you to add environment variables." -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest_env-0.8.2-py3-none-any.whl", hash = "sha256:5e533273f4d9e6a41c3a3120e0c7944aae5674fa773b329f00a5eb1f23c53a38"}, - {file = "pytest_env-0.8.2.tar.gz", hash = "sha256:baed9b3b6bae77bd75b9238e0ed1ee6903a42806ae9d6aeffb8754cd5584d4ff"}, -] - -[package.dependencies] -pytest = ">=7.3.1" - -[package.extras] -test = ["coverage (>=7.2.7)", "pytest-mock (>=3.10)"] - [[package]] name = "qibo" version = "0.2.10" @@ -2274,4 +2257,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "0f4b97e1e953f10f13b63753bbaccb3183e195eef057b49de6c74da596ff7b2a" +content-hash = "fb01fd4d8ae1ba9b935ebe93b820c3cb98524936ec40745d428f599439af940c" diff --git a/pyproject.toml b/pyproject.toml index e7a8271..3dbf463 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,10 +32,9 @@ optional = true [tool.poetry.group.tests.dependencies] torch = "^2.3.1" tensorflow = { version = "^2.16.1", markers = "sys_platform == 'linux'" } -pytest = "^7.1.2" +pytest = "^7.2.1" pylint = "3.1.0" -pytest-cov = "^3.0.0" -pytest-env = "^0.8.1" +pytest-cov = "4.0.0" [tool.poetry.group.benchmark.dependencies] pytest-benchmark = { version = "^4.0.0", extras = ["histogram"] }