mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
0ac780c690
commit
5f3abe53c3
1 changed files with 7 additions and 10 deletions
|
|
@ -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 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue