summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-05-11 08:33:02 +0200
committerLars-Dominik Braun <lars@6xq.net>2024-06-30 09:18:32 +0200
commit44a6091ea29b851fbdac061fcff8cd99d5793908 (patch)
tree4eae7726202aca72eac4a74749278281208b0823 /gnu/packages/python-web.scm
parentab41f5ec1cf559708165e1cd28e15538e6a197d6 (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.scm59
1 files changed, 39 insertions, 20 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1363e6ccdf..91b3a3d86d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -429,7 +429,8 @@ by calling @code{FrozenList.freeze}.")
(build-system pyproject-build-system)
(arguments (list #:test-flags #~(list "tests")))
(propagated-inputs (list python-frozenlist))
- (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov))
+ (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov
+ python-setuptools python-wheel))
(home-page "https://github.com/aio-libs/aiosignal")
(synopsis "Callback manager for Python @code{asyncio} projects")
(description "This Python module provides @code{Signal}, an abstraction to
@@ -750,7 +751,9 @@ WSGI. This package includes libraries for implementing ASGI servers.")
python-httpx
python-pytest
python-pytest-asyncio
- python-starlette))
+ python-starlette
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/simonw/asgi-csrf")
(synopsis "ASGI middleware for protecting against CSRF attacks")
(description "This Asynchronous Server Gateway Interface (ASGI)
@@ -791,7 +794,9 @@ that is then compared to a @code{csrftoken} hidden form field or a
(native-inputs (list python-pytest
python-pytest-asyncio
python-pytest-trio
- python-starlette))
+ python-starlette
+ python-setuptools
+ python-wheel))
(propagated-inputs (list python-sniffio))
(home-page "https://github.com/florimondmanca/asgi-lifespan")
(synopsis "Programmatic startup/shutdown of ASGI apps")
@@ -937,7 +942,9 @@ Model} (SAM) templates into AWS CloudFormation templates.")
python-pytest-benchmark
python-requests
python-sqlalchemy
- python-webtest))
+ python-webtest
+ python-setuptools
+ python-wheel))
(propagated-inputs
(list python-aiohttp
python-botocore
@@ -1274,7 +1281,9 @@ over a different origin than that of the web application.")
python-pytest-randomly
python-pytest-timeout
python-pytest-xdist
- python-six))
+ python-six
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/httplib2/httplib2")
(synopsis "Comprehensive HTTP client library")
(description
@@ -1670,7 +1679,7 @@ for use in Python programs that implement HTTP/2.")
(base32 "17b97c56y31hi0n0x0cb5a87x4xr9jijf2y06pzj0977k6zgn6cg"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/python-hyper/h11")
(synopsis "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1")
(description
@@ -2126,7 +2135,9 @@ is Python’s.")
python-pytest-socket
python-requests-mock
python-setuptools-scm
- python-tox))
+ python-tox
+ python-setuptools
+ python-wheel))
(home-page "https://omnipathdb.org/")
(synopsis "Python client for the OmniPath web service")
(description "This package provides a Python client for the OmniPath web
@@ -2156,7 +2167,7 @@ service.")
(propagated-inputs (list python-aiohttp python-requests python-tqdm
python-typing-extensions))
(native-inputs (list python-black python-pytest python-pytest-asyncio
- python-pytest-mock))
+ python-pytest-mock python-setuptools python-wheel))
(home-page "https://github.com/openai/openai-python")
(synopsis "Python client library for the OpenAI API")
(description "This package provides a Python client library for the
@@ -2361,7 +2372,7 @@ for clients and servers.")
"and not encutils "
"and not website.logging")))))))
(native-inputs
- (list python-pytest python-jaraco-test))
+ (list python-pytest python-jaraco-test python-setuptools python-wheel))
(home-page "https://github.com/jaraco/cssutils")
(synopsis
"CSS Cascading Style Sheets library for Python")
@@ -2539,7 +2550,7 @@ set out in RFC 7540 Section 5.3 (Stream Priority).")
(base32 "0rahm1j9danv1l6i6as80acwv16ycihxkhrvwjiqh9drxhk5ymmd"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-h11))
(home-page "https://github.com/python-hyper/wsproto/")
@@ -4182,7 +4193,7 @@ presume or force a developer to use a particular tool or library.")
"178jzz6jxlxllcjqamzh5q7ahfh90m5cl1il9vmjs3xhz65z35pf"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-brotli python-flask))
- (native-inputs (list python-setuptools-scm))
+ (native-inputs (list python-setuptools-scm python-setuptools python-wheel))
(home-page "https://github.com/colour-science/flask-compress")
(synopsis "Compress responses in a Flask app")
(description
@@ -4205,6 +4216,7 @@ headers required for a compressed response and compresses the response data.")
(arguments
(list #:tests? #false)) ;there are none
(propagated-inputs (list python-flask))
+ (native-inputs (list python-setuptools python-wheel))
(home-page "https://github.com/maxcountryman/flask-seasurf/")
(synopsis "CSRF extension for Flask")
(description "SeaSurf is a Flask extension for preventing cross-site
@@ -4636,7 +4648,7 @@ transfers.")
"flask_jwt/__init__.py")
(("access_token.decode\\('utf-8'\\)") "access_token")))))))
(propagated-inputs (list python-flask python-pyjwt))
- (native-inputs (list python-pytest))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/mattupstate/flask-jwt")
(synopsis "JWT token authentication for Flask apps")
(description "This package implements JWT token authentication for Flask
@@ -4663,7 +4675,9 @@ apps.")
(native-inputs
(list python-blinker
python-mock
- python-pytest))
+ python-pytest
+ python-setuptools
+ python-wheel))
(home-page "https://www.github.com/flask-restful/flask-restful/")
(synopsis "Flask module for creating REST APIs")
(description
@@ -5329,9 +5343,9 @@ package from WTForms. The package has been renamed to
(delete-file "tests/test_proxy.py") #t))))
(build-system pyproject-build-system)
(native-inputs
- (list python-pytest python-nose))
+ (list python-pytest python-wheel))
(propagated-inputs
- (list python-six))
+ (list python-six python-setuptools))
(home-page "https://pythonpaste.readthedocs.io/")
(synopsis
"Python web development tools, focusing on WSGI")
@@ -5604,6 +5618,7 @@ with oauthlib.")
python-stem
python-validators
python-waitress))
+ (native-inputs (list python-setuptools python-wheel))
(home-page "https://github.com/benbusby/whoogle-search")
(synopsis "Self-hosted, ad-free, privacy-respecting metasearch engine")
(description
@@ -5701,7 +5716,7 @@ ecosystem.")
;; Pretend to be a CI system to skip flaky tests.
(setenv "CI" "true"))))))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-idna))
(home-page "https://github.com/python-hyper/hyperlink")
@@ -6466,7 +6481,9 @@ and serve updated contents upon changes to the directory.")
python-pytest-httpbin
python-pytest-trio
python-uvicorn
- python-trustme))
+ python-setuptools
+ python-trustme
+ python-wheel))
(propagated-inputs
(list python-anyio
python-certifi
@@ -6500,7 +6517,7 @@ Some things HTTP Core does do:
(package/inherit python-httpcore
(name "python-httpcore-bootstrap")
(arguments (list #:tests? #f))
- (native-inputs '()))))
+ (native-inputs (list python-setuptools python-wheel)))))
(define-public python-httpx
(package
@@ -6544,7 +6561,9 @@ Some things HTTP Core does do:
python-trio
python-trio-typing
python-trustme
- python-uvicorn))
+ python-uvicorn
+ python-setuptools
+ python-wheel))
(propagated-inputs
(list python-charset-normalizer
python-brotli
@@ -6776,7 +6795,7 @@ major web browsers.")
"/include/rapidjson" "'"))
(("if not os.path.isdir.*") "if False:")))))))
(native-inputs
- (list rapidjson python-pytest python-pytz))
+ (list rapidjson python-pytest python-pytz python-setuptools python-wheel))
(home-page "https://github.com/python-rapidjson/python-rapidjson")
(synopsis "Python wrapper around rapidjson")
(description "This package provides a python wrapper around rapidjson.")