diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2023-05-11 08:33:02 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:15:41 +0000 |
| commit | fdc0fefd46a45b70784a4e3f8900cbe593426a9e (patch) | |
| tree | 13c3736334bde1c3ec75d67f4e430396e23eed3f /gnu/packages/python-web.scm | |
| parent | ca945f7c35bbc5d05a6ad7e5baa15f79e0fd0ecc (diff) | |
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.
* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.
Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 63 |
1 files changed, 43 insertions, 20 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0d023fe58da..3be51c3299f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -444,7 +444,12 @@ by calling @code{FrozenList.freeze}.") | |||
| 444 | (build-system pyproject-build-system) | 444 | (build-system pyproject-build-system) |
| 445 | (arguments (list #:test-flags #~(list "tests"))) | 445 | (arguments (list #:test-flags #~(list "tests"))) |
| 446 | (propagated-inputs (list python-frozenlist)) | 446 | (propagated-inputs (list python-frozenlist)) |
| 447 | (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov)) | 447 | (native-inputs |
| 448 | (list python-pytest | ||
| 449 | python-pytest-asyncio | ||
| 450 | python-pytest-cov | ||
| 451 | python-setuptools | ||
| 452 | python-wheel)) | ||
| 448 | (home-page "https://github.com/aio-libs/aiosignal") | 453 | (home-page "https://github.com/aio-libs/aiosignal") |
| 449 | (synopsis "Callback manager for Python @code{asyncio} projects") | 454 | (synopsis "Callback manager for Python @code{asyncio} projects") |
| 450 | (description "This Python module provides @code{Signal}, an abstraction to | 455 | (description "This Python module provides @code{Signal}, an abstraction to |
| @@ -765,7 +770,9 @@ WSGI. This package includes libraries for implementing ASGI servers.") | |||
| 765 | python-httpx | 770 | python-httpx |
| 766 | python-pytest | 771 | python-pytest |
| 767 | python-pytest-asyncio | 772 | python-pytest-asyncio |
| 768 | python-starlette)) | 773 | python-starlette |
| 774 | python-setuptools | ||
| 775 | python-wheel)) | ||
| 769 | (home-page "https://github.com/simonw/asgi-csrf") | 776 | (home-page "https://github.com/simonw/asgi-csrf") |
| 770 | (synopsis "ASGI middleware for protecting against CSRF attacks") | 777 | (synopsis "ASGI middleware for protecting against CSRF attacks") |
| 771 | (description "This Asynchronous Server Gateway Interface (ASGI) | 778 | (description "This Asynchronous Server Gateway Interface (ASGI) |
| @@ -806,7 +813,9 @@ that is then compared to a @code{csrftoken} hidden form field or a | |||
| 806 | (native-inputs (list python-pytest | 813 | (native-inputs (list python-pytest |
| 807 | python-pytest-asyncio | 814 | python-pytest-asyncio |
| 808 | python-pytest-trio | 815 | python-pytest-trio |
| 809 | python-starlette)) | 816 | python-starlette |
| 817 | python-setuptools | ||
| 818 | python-wheel)) | ||
| 810 | (propagated-inputs (list python-sniffio)) | 819 | (propagated-inputs (list python-sniffio)) |
| 811 | (home-page "https://github.com/florimondmanca/asgi-lifespan") | 820 | (home-page "https://github.com/florimondmanca/asgi-lifespan") |
| 812 | (synopsis "Programmatic startup/shutdown of ASGI apps") | 821 | (synopsis "Programmatic startup/shutdown of ASGI apps") |
| @@ -970,7 +979,9 @@ Model} (SAM) templates into AWS CloudFormation templates.") | |||
| 970 | python-pytest-benchmark | 979 | python-pytest-benchmark |
| 971 | python-requests | 980 | python-requests |
| 972 | python-sqlalchemy | 981 | python-sqlalchemy |
| 973 | python-webtest)) | 982 | python-webtest |
| 983 | python-setuptools | ||
| 984 | python-wheel)) | ||
| 974 | (propagated-inputs | 985 | (propagated-inputs |
| 975 | (list python-aiohttp | 986 | (list python-aiohttp |
| 976 | python-botocore | 987 | python-botocore |
| @@ -1310,7 +1321,9 @@ over a different origin than that of the web application.") | |||
| 1310 | python-pytest-randomly | 1321 | python-pytest-randomly |
| 1311 | python-pytest-timeout | 1322 | python-pytest-timeout |
| 1312 | python-pytest-xdist | 1323 | python-pytest-xdist |
| 1313 | python-six)) | 1324 | python-six |
| 1325 | python-setuptools | ||
| 1326 | python-wheel)) | ||
| 1314 | (home-page "https://github.com/httplib2/httplib2") | 1327 | (home-page "https://github.com/httplib2/httplib2") |
| 1315 | (synopsis "Comprehensive HTTP client library") | 1328 | (synopsis "Comprehensive HTTP client library") |
| 1316 | (description | 1329 | (description |
| @@ -1706,7 +1719,7 @@ for use in Python programs that implement HTTP/2.") | |||
| 1706 | (base32 "17b97c56y31hi0n0x0cb5a87x4xr9jijf2y06pzj0977k6zgn6cg")))) | 1719 | (base32 "17b97c56y31hi0n0x0cb5a87x4xr9jijf2y06pzj0977k6zgn6cg")))) |
| 1707 | (build-system pyproject-build-system) | 1720 | (build-system pyproject-build-system) |
| 1708 | (native-inputs | 1721 | (native-inputs |
| 1709 | (list python-pytest)) | 1722 | (list python-pytest python-setuptools python-wheel)) |
| 1710 | (home-page "https://github.com/python-hyper/h11") | 1723 | (home-page "https://github.com/python-hyper/h11") |
| 1711 | (synopsis "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1") | 1724 | (synopsis "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1") |
| 1712 | (description | 1725 | (description |
| @@ -2165,7 +2178,9 @@ is Python’s.") | |||
| 2165 | python-pytest-socket | 2178 | python-pytest-socket |
| 2166 | python-requests-mock | 2179 | python-requests-mock |
| 2167 | python-setuptools-scm | 2180 | python-setuptools-scm |
| 2168 | python-tox)) | 2181 | python-tox |
| 2182 | python-setuptools | ||
| 2183 | python-wheel)) | ||
| 2169 | (home-page "https://omnipathdb.org/") | 2184 | (home-page "https://omnipathdb.org/") |
| 2170 | (synopsis "Python client for the OmniPath web service") | 2185 | (synopsis "Python client for the OmniPath web service") |
| 2171 | (description "This package provides a Python client for the OmniPath web | 2186 | (description "This package provides a Python client for the OmniPath web |
| @@ -2195,7 +2210,7 @@ service.") | |||
| 2195 | (propagated-inputs (list python-aiohttp python-requests python-tqdm | 2210 | (propagated-inputs (list python-aiohttp python-requests python-tqdm |
| 2196 | python-typing-extensions)) | 2211 | python-typing-extensions)) |
| 2197 | (native-inputs (list python-black python-pytest python-pytest-asyncio | 2212 | (native-inputs (list python-black python-pytest python-pytest-asyncio |
| 2198 | python-pytest-mock)) | 2213 | python-pytest-mock python-setuptools python-wheel)) |
| 2199 | (home-page "https://github.com/openai/openai-python") | 2214 | (home-page "https://github.com/openai/openai-python") |
| 2200 | (synopsis "Python client library for the OpenAI API") | 2215 | (synopsis "Python client library for the OpenAI API") |
| 2201 | (description "This package provides a Python client library for the | 2216 | (description "This package provides a Python client library for the |
| @@ -2400,7 +2415,7 @@ for clients and servers.") | |||
| 2400 | "and not encutils " | 2415 | "and not encutils " |
| 2401 | "and not website.logging"))))))) | 2416 | "and not website.logging"))))))) |
| 2402 | (native-inputs | 2417 | (native-inputs |
| 2403 | (list python-pytest python-jaraco-test)) | 2418 | (list python-pytest python-jaraco-test python-setuptools python-wheel)) |
| 2404 | (home-page "https://github.com/jaraco/cssutils") | 2419 | (home-page "https://github.com/jaraco/cssutils") |
| 2405 | (synopsis | 2420 | (synopsis |
| 2406 | "CSS Cascading Style Sheets library for Python") | 2421 | "CSS Cascading Style Sheets library for Python") |
| @@ -2578,7 +2593,7 @@ set out in RFC 7540 Section 5.3 (Stream Priority).") | |||
| 2578 | (base32 "0rahm1j9danv1l6i6as80acwv16ycihxkhrvwjiqh9drxhk5ymmd")))) | 2593 | (base32 "0rahm1j9danv1l6i6as80acwv16ycihxkhrvwjiqh9drxhk5ymmd")))) |
| 2579 | (build-system pyproject-build-system) | 2594 | (build-system pyproject-build-system) |
| 2580 | (native-inputs | 2595 | (native-inputs |
| 2581 | (list python-pytest)) | 2596 | (list python-pytest python-setuptools python-wheel)) |
| 2582 | (propagated-inputs | 2597 | (propagated-inputs |
| 2583 | (list python-h11)) | 2598 | (list python-h11)) |
| 2584 | (home-page "https://github.com/python-hyper/wsproto/") | 2599 | (home-page "https://github.com/python-hyper/wsproto/") |
| @@ -4503,7 +4518,7 @@ presume or force a developer to use a particular tool or library.") | |||
| 4503 | "178jzz6jxlxllcjqamzh5q7ahfh90m5cl1il9vmjs3xhz65z35pf")))) | 4518 | "178jzz6jxlxllcjqamzh5q7ahfh90m5cl1il9vmjs3xhz65z35pf")))) |
| 4504 | (build-system pyproject-build-system) | 4519 | (build-system pyproject-build-system) |
| 4505 | (propagated-inputs (list python-brotli python-flask)) | 4520 | (propagated-inputs (list python-brotli python-flask)) |
| 4506 | (native-inputs (list python-setuptools-scm)) | 4521 | (native-inputs (list python-setuptools-scm python-setuptools python-wheel)) |
| 4507 | (home-page "https://github.com/colour-science/flask-compress") | 4522 | (home-page "https://github.com/colour-science/flask-compress") |
| 4508 | (synopsis "Compress responses in a Flask app") | 4523 | (synopsis "Compress responses in a Flask app") |
| 4509 | (description | 4524 | (description |
| @@ -4526,6 +4541,7 @@ headers required for a compressed response and compresses the response data.") | |||
| 4526 | (arguments | 4541 | (arguments |
| 4527 | (list #:tests? #false)) ;there are none | 4542 | (list #:tests? #false)) ;there are none |
| 4528 | (propagated-inputs (list python-flask)) | 4543 | (propagated-inputs (list python-flask)) |
| 4544 | (native-inputs (list python-setuptools python-wheel)) | ||
| 4529 | (home-page "https://github.com/maxcountryman/flask-seasurf/") | 4545 | (home-page "https://github.com/maxcountryman/flask-seasurf/") |
| 4530 | (synopsis "CSRF extension for Flask") | 4546 | (synopsis "CSRF extension for Flask") |
| 4531 | (description "SeaSurf is a Flask extension for preventing cross-site | 4547 | (description "SeaSurf is a Flask extension for preventing cross-site |
| @@ -4961,7 +4977,7 @@ Betamax that may possibly end up in the main package.") | |||
| 4961 | "flask_jwt/__init__.py") | 4977 | "flask_jwt/__init__.py") |
| 4962 | (("access_token.decode\\('utf-8'\\)") "access_token"))))))) | 4978 | (("access_token.decode\\('utf-8'\\)") "access_token"))))))) |
| 4963 | (propagated-inputs (list python-flask python-pyjwt)) | 4979 | (propagated-inputs (list python-flask python-pyjwt)) |
| 4964 | (native-inputs (list python-pytest)) | 4980 | (native-inputs (list python-pytest python-setuptools python-wheel)) |
| 4965 | (home-page "https://github.com/mattupstate/flask-jwt") | 4981 | (home-page "https://github.com/mattupstate/flask-jwt") |
| 4966 | (synopsis "JWT token authentication for Flask apps") | 4982 | (synopsis "JWT token authentication for Flask apps") |
| 4967 | (description "This package implements JWT token authentication for Flask | 4983 | (description "This package implements JWT token authentication for Flask |
| @@ -4988,7 +5004,9 @@ apps.") | |||
| 4988 | (native-inputs | 5004 | (native-inputs |
| 4989 | (list python-blinker | 5005 | (list python-blinker |
| 4990 | python-mock | 5006 | python-mock |
| 4991 | python-pytest)) | 5007 | python-pytest |
| 5008 | python-setuptools | ||
| 5009 | python-wheel)) | ||
| 4992 | (home-page "https://www.github.com/flask-restful/flask-restful/") | 5010 | (home-page "https://www.github.com/flask-restful/flask-restful/") |
| 4993 | (synopsis "Flask module for creating REST APIs") | 5011 | (synopsis "Flask module for creating REST APIs") |
| 4994 | (description | 5012 | (description |
| @@ -5654,9 +5672,9 @@ package from WTForms. The package has been renamed to | |||
| 5654 | (delete-file "tests/test_proxy.py") #t)))) | 5672 | (delete-file "tests/test_proxy.py") #t)))) |
| 5655 | (build-system pyproject-build-system) | 5673 | (build-system pyproject-build-system) |
| 5656 | (native-inputs | 5674 | (native-inputs |
| 5657 | (list python-pytest python-nose)) | 5675 | (list python-pytest python-wheel)) |
| 5658 | (propagated-inputs | 5676 | (propagated-inputs |
| 5659 | (list python-six)) | 5677 | (list python-six python-setuptools)) |
| 5660 | (home-page "https://pythonpaste.readthedocs.io/") | 5678 | (home-page "https://pythonpaste.readthedocs.io/") |
| 5661 | (synopsis | 5679 | (synopsis |
| 5662 | "Python web development tools, focusing on WSGI") | 5680 | "Python web development tools, focusing on WSGI") |
| @@ -5929,6 +5947,7 @@ with oauthlib.") | |||
| 5929 | python-stem | 5947 | python-stem |
| 5930 | python-validators | 5948 | python-validators |
| 5931 | python-waitress)) | 5949 | python-waitress)) |
| 5950 | (native-inputs (list python-setuptools python-wheel)) | ||
| 5932 | (home-page "https://github.com/benbusby/whoogle-search") | 5951 | (home-page "https://github.com/benbusby/whoogle-search") |
| 5933 | (synopsis "Self-hosted, ad-free, privacy-respecting metasearch engine") | 5952 | (synopsis "Self-hosted, ad-free, privacy-respecting metasearch engine") |
| 5934 | (description | 5953 | (description |
| @@ -6026,7 +6045,7 @@ ecosystem.") | |||
| 6026 | ;; Pretend to be a CI system to skip flaky tests. | 6045 | ;; Pretend to be a CI system to skip flaky tests. |
| 6027 | (setenv "CI" "true")))))) | 6046 | (setenv "CI" "true")))))) |
| 6028 | (native-inputs | 6047 | (native-inputs |
| 6029 | (list python-pytest)) | 6048 | (list python-pytest python-setuptools python-wheel)) |
| 6030 | (propagated-inputs | 6049 | (propagated-inputs |
| 6031 | (list python-idna)) | 6050 | (list python-idna)) |
| 6032 | (home-page "https://github.com/python-hyper/hyperlink") | 6051 | (home-page "https://github.com/python-hyper/hyperlink") |
| @@ -6810,7 +6829,9 @@ and serve updated contents upon changes to the directory.") | |||
| 6810 | python-pytest-httpbin | 6829 | python-pytest-httpbin |
| 6811 | python-pytest-trio | 6830 | python-pytest-trio |
| 6812 | python-uvicorn | 6831 | python-uvicorn |
| 6813 | python-trustme)) | 6832 | python-setuptools |
| 6833 | python-trustme | ||
| 6834 | python-wheel)) | ||
| 6814 | (propagated-inputs | 6835 | (propagated-inputs |
| 6815 | (list python-anyio | 6836 | (list python-anyio |
| 6816 | python-certifi | 6837 | python-certifi |
| @@ -6844,7 +6865,7 @@ Some things HTTP Core does do: | |||
| 6844 | (package/inherit python-httpcore | 6865 | (package/inherit python-httpcore |
| 6845 | (name "python-httpcore-bootstrap") | 6866 | (name "python-httpcore-bootstrap") |
| 6846 | (arguments (list #:tests? #f)) | 6867 | (arguments (list #:tests? #f)) |
| 6847 | (native-inputs '())))) | 6868 | (native-inputs (list python-setuptools python-wheel))))) |
| 6848 | 6869 | ||
| 6849 | (define-public python-httpx | 6870 | (define-public python-httpx |
| 6850 | (package | 6871 | (package |
| @@ -6889,7 +6910,9 @@ Some things HTTP Core does do: | |||
| 6889 | python-trio | 6910 | python-trio |
| 6890 | python-trio-typing | 6911 | python-trio-typing |
| 6891 | python-trustme | 6912 | python-trustme |
| 6892 | python-uvicorn)) | 6913 | python-uvicorn |
| 6914 | python-setuptools | ||
| 6915 | python-wheel)) | ||
| 6893 | (propagated-inputs | 6916 | (propagated-inputs |
| 6894 | (list python-charset-normalizer | 6917 | (list python-charset-normalizer |
| 6895 | python-brotli | 6918 | python-brotli |
| @@ -7121,7 +7144,7 @@ major web browsers.") | |||
| 7121 | "/include/rapidjson" "'")) | 7144 | "/include/rapidjson" "'")) |
| 7122 | (("if not os.path.isdir.*") "if False:"))))))) | 7145 | (("if not os.path.isdir.*") "if False:"))))))) |
| 7123 | (native-inputs | 7146 | (native-inputs |
| 7124 | (list rapidjson python-pytest python-pytz)) | 7147 | (list rapidjson python-pytest python-pytz python-setuptools python-wheel)) |
| 7125 | (home-page "https://github.com/python-rapidjson/python-rapidjson") | 7148 | (home-page "https://github.com/python-rapidjson/python-rapidjson") |
| 7126 | (synopsis "Python wrapper around rapidjson") | 7149 | (synopsis "Python wrapper around rapidjson") |
| 7127 | (description "This package provides a python wrapper around rapidjson.") | 7150 | (description "This package provides a python wrapper around rapidjson.") |
