summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm42
1 files changed, 3 insertions, 39 deletions
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