Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

72.5. python3-requests-2.34.2

HTTP client library for Python

2.34.2-1 · Apache-2.0 · 0.1 SBU · 514.9 KiB, 49 files · 40_lang, 140 of 186 · ports/core/python-net/python3-requests

Homepage: https://requests.readthedocs.io/

Requests is an HTTP client library for Python: sessions, cookies, redirects, authentication, and verification of TLS certificates. It is pure Python; its runtime imports, python3-charset-normalizer, python3-idna, python3-urllib3 and python3-certifi, are ports of their own in depends. Through certifi it trusts the system’s CA bundle.

Depends on: python3, python3-setuptools, python3-pip, python3-charset-normalizer, python3-idna, python3-urllib3, python3-certifi.

Required by (19): blender, chirp, cura, jupyterlab, python3-kivy, python3-meshtastic, python3-owslib, python3-ytmusicapi, qgis, radicale, sideband, spyder, system-config-printer, toot, uhd, vdirsyncer, virt-manager, visidata, yt-dlp.

Sources: python3-requests-2.34.2.tar.gz (139.5 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-requests'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .

Directories: /usr/lib/python3.14/site-packages/requests, /usr/lib/python3.14/site-packages/requests-2.34.2.dist-info, /usr/share/licenses/python3-requests.

A SOCKS proxy (socks4://, socks4a://, socks5:// or socks5h://) goes through urllib3’s contrib.socks, which needs PySocks. requests tries that import when it is itself imported and, when it fails, raises InvalidSchema: Missing dependencies for SOCKS support only once a request is sent through such a proxy. python3-pysocks is a port, but it is not in requests’ depends, so it is present only where something else has installed it.