python3Packages.urllib3: 2.6.3 -> 2.7.0

Diff: https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0

Changelog: https://github.com/urllib3/urllib3/blob/2.7.0/CHANGES.rst
This commit is contained in:
Robert Schütz 2026-05-24 08:46:17 -07:00
commit 5f3abe53c3

View file

@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
isPyPy,
# build-system
@ -31,12 +31,14 @@
let
self = buildPythonPackage rec {
pname = "urllib3";
version = "2.6.3";
version = "2.7.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-G2K2iElEpX2+MhUJq5T9TTswcHXgwurpkaxx7hWtOO0=";
src = fetchFromGitHub {
owner = "urllib3";
repo = "urllib3";
tag = version;
hash = "sha256-iN59MS5gKgDxe2v4ILrZ/1y7wV4yB1tFs4ATKppYAAk=";
};
build-system = [
@ -44,11 +46,6 @@ let
hatch-vcs
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "setuptools-scm>=8,<10"' ""
'';
optional-dependencies = {
brotli = if isPyPy then [ brotlicffi ] else [ brotli ];
h2 = [ h2 ];