diff options
| -rw-r--r-- | gnu/packages/audio.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/python-crypto.scm | 1 | ||||
| -rw-r--r-- | gnu/packages/python-science.scm | 1 | ||||
| -rw-r--r-- | gnu/packages/python-web.scm | 42 | ||||
| -rw-r--r-- | gnu/packages/python-xyz.scm | 26 |
5 files changed, 11 insertions, 62 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 7c97c2eeab9..f3f37782240 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm | |||
| @@ -8261,8 +8261,7 @@ Home Page}.") | |||
| 8261 | (list | 8261 | (list |
| 8262 | #:test-flags | 8262 | #:test-flags |
| 8263 | ;; Ignore --mpl flag. | 8263 | ;; Ignore --mpl flag. |
| 8264 | '(list "-c" "/dev/null" | 8264 | '(list "-k" (string-append |
| 8265 | "-k" (string-append | ||
| 8266 | ;; Resampling tests require python-samplerate. | 8265 | ;; Resampling tests require python-samplerate. |
| 8267 | "not resample" | 8266 | "not resample" |
| 8268 | ;; These tests use Pooch and download data files. | 8267 | ;; These tests use Pooch and download data files. |
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 6c755d186c2..9a074b58ba7 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -325,7 +325,6 @@ do what is needed for client/server Kerberos authentication based on | |||
| 325 | (build-system pyproject-build-system) | 325 | (build-system pyproject-build-system) |
| 326 | (arguments | 326 | (arguments |
| 327 | (list | 327 | (list |
| 328 | #:test-flags '(list "-c" "/dev/null") ;avoid extra test dependencies | ||
| 329 | #:phases | 328 | #:phases |
| 330 | #~(modify-phases %standard-phases | 329 | #~(modify-phases %standard-phases |
| 331 | (add-before 'check 'workaround-test-failure | 330 | (add-before 'check 'workaround-test-failure |
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 7403e930da4..35101c77d99 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm | |||
| @@ -2022,7 +2022,6 @@ between dataframe libraries. | |||
| 2022 | ;; tests: 121 passed, 1 deselected, 3 warnings | 2022 | ;; tests: 121 passed, 1 deselected, 3 warnings |
| 2023 | #:test-flags | 2023 | #:test-flags |
| 2024 | #~(list "--pyargs" "ndindex" | 2024 | #~(list "--pyargs" "ndindex" |
| 2025 | "-c" "/dev/null" ;avoid coverage | ||
| 2026 | "-k" "not test_iter_indices_matmul") ; flaky | 2025 | "-k" "not test_iter_indices_matmul") ; flaky |
| 2027 | #:phases | 2026 | #:phases |
| 2028 | #~(modify-phases %standard-phases | 2027 | #~(modify-phases %standard-phases |
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d019d8379d2..d333d7a8096 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -2783,8 +2783,7 @@ that is then compared to a @code{csrftoken} hidden form field or a | |||
| 2783 | (arguments | 2783 | (arguments |
| 2784 | (list | 2784 | (list |
| 2785 | #:test-flags | 2785 | #:test-flags |
| 2786 | '(list "-c" "/dev/null" ;ignore coverage-related options | 2786 | '(list "-k" |
| 2787 | "-k" | ||
| 2788 | (string-append | 2787 | (string-append |
| 2789 | ;; XXX: Some tests fail because of "Exceptions from Trio nursery" | 2788 | ;; XXX: Some tests fail because of "Exceptions from Trio nursery" |
| 2790 | "not (test_lifespan_manager[trio-None-None-StartupFailed]" | 2789 | "not (test_lifespan_manager[trio-None-None-StartupFailed]" |
| @@ -3895,10 +3894,7 @@ CSS3 that adds programming capabilities and some other syntactic sugar.") | |||
| 3895 | (build-system pyproject-build-system) | 3894 | (build-system pyproject-build-system) |
| 3896 | (arguments | 3895 | (arguments |
| 3897 | (list | 3896 | (list |
| 3898 | #:test-flags | 3897 | #:test-flags '(list "tests") |
| 3899 | ;; Prevent running the flake8 and black pytest plugins, which only tests | ||
| 3900 | ;; style and frequently causes harmless failures. | ||
| 3901 | '(list "-o" "addopts=''" "tests") | ||
| 3902 | #:phases | 3898 | #:phases |
| 3903 | '(modify-phases %standard-phases | 3899 | '(modify-phases %standard-phases |
| 3904 | (add-before 'check 'pre-check | 3900 | (add-before 'check 'pre-check |
| @@ -5339,10 +5335,6 @@ OpenAI API.") | |||
| 5339 | '(list "-k" "not test_array_prefixitems_invalid") | 5335 | '(list "-k" "not test_array_prefixitems_invalid") |
| 5340 | #:phases | 5336 | #:phases |
| 5341 | #~(modify-phases %standard-phases | 5337 | #~(modify-phases %standard-phases |
| 5342 | (add-after 'unpack 'remove-coverage-pytest-options | ||
| 5343 | (lambda _ | ||
| 5344 | (substitute* "pyproject.toml" | ||
| 5345 | (("^--cov.*") "")))) | ||
| 5346 | ;; See https://github.com/python-openapi/openapi-schema-validator/issues/204 | 5338 | ;; See https://github.com/python-openapi/openapi-schema-validator/issues/204 |
| 5347 | (add-after 'unpack 'relax-requirements | 5339 | (add-after 'unpack 'relax-requirements |
| 5348 | (lambda _ | 5340 | (lambda _ |
| @@ -5386,13 +5378,7 @@ JSON Schema Specification Draft 2020-12. | |||
| 5386 | (list | 5378 | (list |
| 5387 | ;; These tests attempt to fetch resources from the Internet | 5379 | ;; These tests attempt to fetch resources from the Internet |
| 5388 | #:test-flags '(list "--ignore-glob=tests/integration/validation/**" | 5380 | #:test-flags '(list "--ignore-glob=tests/integration/validation/**" |
| 5389 | "-k" "not example") | 5381 | "-k" "not example"))) |
| 5390 | #:phases | ||
| 5391 | #~(modify-phases %standard-phases | ||
| 5392 | (add-after 'unpack 'remove-coverage-pytest-options | ||
| 5393 | (lambda _ | ||
| 5394 | (substitute* "pyproject.toml" | ||
| 5395 | (("^--cov.*") ""))))))) | ||
| 5396 | (native-inputs | 5382 | (native-inputs |
| 5397 | (list python-poetry-core | 5383 | (list python-poetry-core |
| 5398 | python-pytest)) | 5384 | python-pytest)) |
| @@ -5431,9 +5417,6 @@ compliance with the specification.") | |||
| 5431 | (list | 5417 | (list |
| 5432 | #:test-flags | 5418 | #:test-flags |
| 5433 | '(list "tests/unit" | 5419 | '(list "tests/unit" |
| 5434 | ;; Ignore Pytest configuration in setup.cfg that adds | ||
| 5435 | ;; unwanted flake8 and coverage options. | ||
| 5436 | "-c" "/dev/null" | ||
| 5437 | "-k" "not test_chars_valid"))) | 5420 | "-k" "not test_chars_valid"))) |
| 5438 | (native-inputs (list python-django | 5421 | (native-inputs (list python-django |
| 5439 | python-falcon | 5422 | python-falcon |
| @@ -9773,17 +9756,6 @@ simplified fork of html5lib.") | |||
| 9773 | (sha256 | 9756 | (sha256 |
| 9774 | (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) | 9757 | (base32 "1j2fcr217rsvkipsg6zjq03rl64rxnvb5hqqpx0dv58fhspvkywk")))) |
| 9775 | (build-system pyproject-build-system) | 9758 | (build-system pyproject-build-system) |
| 9776 | (arguments | ||
| 9777 | `(#:phases | ||
| 9778 | (modify-phases %standard-phases | ||
| 9779 | (add-after 'unpack 'disable-linters | ||
| 9780 | ;; Their check fails; none of our business. | ||
| 9781 | (lambda _ | ||
| 9782 | (substitute* '("setup.py" "pyproject.toml") | ||
| 9783 | (("'pytest-flake8',") "") | ||
| 9784 | (("'pytest-isort',") "") | ||
| 9785 | (("--flake8") "") | ||
| 9786 | (("--isort") ""))))))) | ||
| 9787 | (propagated-inputs | 9759 | (propagated-inputs |
| 9788 | (list python-tinycss2)) | 9760 | (list python-tinycss2)) |
| 9789 | (native-inputs | 9761 | (native-inputs |
| @@ -13000,14 +12972,6 @@ accessing the Twitter API.") | |||
| 13000 | (sha256 | 12972 | (sha256 |
| 13001 | (base32 "1h5ifv8g9dc9m07vj4v7dfalam83v38545d845vvgys1gan1pscd")))) | 12973 | (base32 "1h5ifv8g9dc9m07vj4v7dfalam83v38545d845vvgys1gan1pscd")))) |
| 13002 | (build-system pyproject-build-system) | 12974 | (build-system pyproject-build-system) |
| 13003 | (arguments | ||
| 13004 | (list | ||
| 13005 | #:phases | ||
| 13006 | #~(modify-phases %standard-phases | ||
| 13007 | (add-after 'unpack 'remove-coverage-pytest-options | ||
| 13008 | (lambda _ | ||
| 13009 | (substitute* "pyproject.toml" | ||
| 13010 | (("--no-cov-on-fail") ""))))))) | ||
| 13011 | (native-inputs | 12975 | (native-inputs |
| 13012 | (list python-poetry-core | 12976 | (list python-poetry-core |
| 13013 | python-pytest | 12977 | python-pytest |
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 03ca6759da0..aa77aab5970 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -11051,18 +11051,12 @@ Server (PLS).") | |||
| 11051 | (arguments | 11051 | (arguments |
| 11052 | (list | 11052 | (list |
| 11053 | #:test-flags | 11053 | #:test-flags |
| 11054 | #~(list "-c" "/dev/null" ;avoid coverage | 11054 | '(list "--ignore-glob" "**/test_autopep8_format.py" ;avoid autopep8 dep |
| 11055 | "--ignore-glob" "**/test_autopep8_format.py" ;avoid autopep8 dep | 11055 | "-k" |
| 11056 | "-k" | 11056 | (string-append |
| 11057 | (string-append | 11057 | "not test_concurrent_ws_requests " ; flaky |
| 11058 | "not " (string-join | 11058 | "and not test_pyqt_completion " ; avoid pyqt5 |
| 11059 | (list "test_concurrent_ws_requests" ; flaky | 11059 | "and not test_pandas_completion")) ; avoid pandas |
| 11060 | "test_pyqt_completion" ; avoid pyqt5 | ||
| 11061 | "test_pandas_completion" ; avoid pandas | ||
| 11062 | ;; test_missing_message requests write permission | ||
| 11063 | ;; in /dev/cache. | ||
| 11064 | "test_missing_message") | ||
| 11065 | " and not "))) | ||
| 11066 | #:phases | 11060 | #:phases |
| 11067 | #~(modify-phases %standard-phases | 11061 | #~(modify-phases %standard-phases |
| 11068 | (add-before 'check 'set-HOME | 11062 | (add-before 'check 'set-HOME |
| @@ -22288,9 +22282,7 @@ interfaces.") | |||
| 22288 | (substitute* "pyproject.toml" | 22282 | (substitute* "pyproject.toml" |
| 22289 | ;; Fix version string | 22283 | ;; Fix version string |
| 22290 | (("dynamic = \\[\"version\"\\]") | 22284 | (("dynamic = \\[\"version\"\\]") |
| 22291 | (string-append "version = \"" #$version "\"")) | 22285 | (string-append "version = \"" #$version "\""))))) |
| 22292 | ;; Just run pytest with no frills | ||
| 22293 | (("addopts = \"-l.*") "")))) | ||
| 22294 | ;; XXX Our python-hypothesis package is too old. | 22286 | ;; XXX Our python-hypothesis package is too old. |
| 22295 | (add-after 'unpack 'compatibility | 22287 | (add-after 'unpack 'compatibility |
| 22296 | (lambda _ | 22288 | (lambda _ |
| @@ -30871,10 +30863,6 @@ For the most part it's transliterated from C, the major differences are: | |||
| 30871 | ;; Don't get hung up on Windows test failures. | 30863 | ;; Don't get hung up on Windows test failures. |
| 30872 | '(delete-file "blessed/win_terminal.py")))) | 30864 | '(delete-file "blessed/win_terminal.py")))) |
| 30873 | (build-system pyproject-build-system) | 30865 | (build-system pyproject-build-system) |
| 30874 | (arguments | ||
| 30875 | (list | ||
| 30876 | ;; Avoid python-pytest-coverage | ||
| 30877 | #:test-flags '(list "-c /dev/null"))) | ||
| 30878 | (propagated-inputs (list python-six python-wcwidth)) | 30866 | (propagated-inputs (list python-six python-wcwidth)) |
| 30879 | (native-inputs (list python-pytest python-setuptools python-wheel)) | 30867 | (native-inputs (list python-pytest python-setuptools python-wheel)) |
| 30880 | (home-page "https://github.com/jquast/blessed") | 30868 | (home-page "https://github.com/jquast/blessed") |
