Files
packages/lang/python/python-urllib3/Makefile
Wei-Ting Yang 295c75a2b9 python-urllib3: update to 2.6.3
- Fixed HTTPResponse.read_chunked() to properly handle leftover data
  in the decoder's buffer when reading compressed chunked responses.
- Fixed a security issue where decompression-bomb safeguards of the
  streaming API were bypassed when HTTP redirects were followed.
  (CVE-2026-21441)
- Started treating Retry-After times greater than 6 hours as 6 hours
  by default.
- Fixed urllib3.connection.VerifiedHTTPSConnection on Emscripten.

Release notes:
https://github.com/urllib3/urllib3/releases/tag/2.6.2
https://github.com/urllib3/urllib3/releases/tag/2.6.3

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-01-10 12:58:47 +01:00

54 lines
1.3 KiB
Makefile

#
# Copyright (C) 2007-2025 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-urllib3
PKG_VERSION:=2.6.3
PKG_RELEASE:=1
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
PKG_CPE_ID:=cpe:/a:python:urllib3
PYPI_NAME:=urllib3
PKG_HASH:=1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed
PKG_BUILD_DEPENDS:= \
python-hatch-vcs/host \
python-hatchling/host \
python-setuptools-scm/host
HOST_BUILD_DEPENDS:= \
python-hatch-vcs/host \
python-hatchling/host \
python-setuptools-scm/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../python3-package.mk
include ../python3-host-build.mk
define Package/python3-urllib3
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Sanity-friendly HTTP client
URL:=https://urllib3.readthedocs.io/
DEPENDS:=+python3
endef
define Package/python3-urllib3/description
HTTP library with thread-safe connection pooling, file post, and more.
endef
$(eval $(call Py3Package,python3-urllib3))
$(eval $(call BuildPackage,python3-urllib3))
$(eval $(call BuildPackage,python3-urllib3-src))
$(eval $(call HostBuild))