Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 1 | From b7dd3ce1d75d1e6255e1aca82aa7f401d4246a75 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
| 3 | Date: Tue, 17 May 2022 17:22:48 +0800 |
| 4 | Subject: [PATCH] pyproject.toml: remove --benchmark-disable option |
| 5 | |
| 6 | The new version introduced below change, so remove the option |
| 7 | to avoid python3-pytest-benchmark rdepends to fix the gap. |
| 8 | 496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087) |
| 9 | |
| 10 | Fixes: |
| 11 | # ./run-ptest |
| 12 | Free memory: 31.283 GB |
| 13 | ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] |
| 14 | pytest: error: unrecognized arguments: --benchmark-disable |
| 15 | inifile: /usr/lib/python3-cryptography/ptest/pyproject.toml |
| 16 | rootdir: /usr/lib/python3-cryptography/ptest |
| 17 | |
| 18 | Upstream-Status: Inappropriate [OE specific] |
| 19 | |
| 20 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 21 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 22 | --- |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 23 | pyproject.toml | 4 ++-- |
| 24 | 1 file changed, 2 insertions(+), 2 deletions(-) |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 25 | |
| 26 | diff --git a/pyproject.toml b/pyproject.toml |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 27 | index b2e511f..4a285af 100644 |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 28 | --- a/pyproject.toml |
| 29 | +++ b/pyproject.toml |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 30 | @@ -85,7 +85,7 @@ line-length = 79 |
| 31 | target-version = ["py37"] |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 32 | |
| 33 | [tool.pytest.ini_options] |
| 34 | -addopts = "-r s --capture=no --strict-markers --benchmark-disable" |
| 35 | +addopts = "-r s --capture=no --strict-markers" |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 36 | console_output_style = "progress-even-when-capture-no" |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 37 | markers = [ |
| 38 | "skip_fips: this test is not executed in FIPS mode", |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 39 | @@ -151,4 +151,4 @@ git-only = [ |
| 40 | "ci-constraints-requirements.txt", |
| 41 | ".gitattributes", |
| 42 | ".gitignore", |
| 43 | -] |
| 44 | \ No newline at end of file |
| 45 | +] |