package python3-urllib3 and python3-requests

This commit is contained in:
auronandace 2026-07-22 13:29:09 +01:00
parent 6de68ebf4d
commit 0bec0253c2
3 changed files with 51 additions and 2 deletions

View File

@ -1,4 +1,3 @@
# TODO compiles but fails to find request module when running tests
[source]
git = "https://github.com/WebAssembly/wasi-testsuite"
branch = "prod/testsuite-base"
@ -13,5 +12,6 @@ cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/wasi-testsuite"
[package]
dependencies = [
"python312",
"python3-colorama"
"python3-colorama",
"python3-requests",
]

View File

@ -0,0 +1,24 @@
# TODO compiles but requires testing
# FIXME remove --no-deps when pip dependency handling works properly
[source]
git = "https://github.com/psf/requests"
rev = "v2.34.2"
shallow_clone = true
[build]
template = "python"
pipflags = ["--no-deps"]
dev-dependencies = [
"host:python312",
"python312",
"python3-setuptools",
]
[package]
dependencies = [
"python312",
"python3-charset_normalizer",
"python3-idna",
"python3-urllib3",
"python-certifi",
]

View File

@ -0,0 +1,25 @@
# TODO compiles but requires testing
[source]
git = "https://github.com/urllib3/urllib3"
rev = "2.7.0"
shallow_clone = true
[build]
template = "python"
dev-dependencies = [
"host:python312",
"python312",
"python3-hatchling",
"python3-hatch-vcs",
"python3-setuptools-scm",
"python3-pathspec",
"python3-pluggy",
"python3-vcs-versioning",
"python3-packaging",
"python3-trove-classifiers",
]
[package]
dependencies = [
"python312"
]