python39Packages.httpx: 0.23.0 -> 0.23.1
https://github.com/encode/httpx/releases/tag/0.23.1
This commit is contained in:
parent
2a9bccc5cb
commit
0021104344
|
@ -8,8 +8,11 @@
|
|||
, click
|
||||
, fetchFromGitHub
|
||||
, h2
|
||||
, hatch-fancy-pypi-readme
|
||||
, hatchling
|
||||
, httpcore
|
||||
, isPyPy
|
||||
, multipart
|
||||
, pygments
|
||||
, python
|
||||
, pythonOlder
|
||||
|
@ -26,8 +29,8 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "httpx";
|
||||
version = "0.23.0";
|
||||
format = "setuptools";
|
||||
version = "0.23.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -35,9 +38,14 @@ buildPythonPackage rec {
|
|||
owner = "encode";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-s11Yeizm3y3w5D6ACQ2wp/KJ0+1ALY/R71IlTP2pMC4=";
|
||||
hash = "sha256-1gRBHbGFUkaFvVgHHoXfpo9j0L074SyevFwMY202+uk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatch-fancy-pypi-readme
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
httpcore
|
||||
|
@ -69,6 +77,7 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
chardet
|
||||
multipart
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-trio
|
||||
|
@ -79,7 +88,7 @@ buildPythonPackage rec {
|
|||
++ passthru.optional-dependencies.socks;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "rfc3986[idna2008]>=1.3,<2" "rfc3986>=1.3"
|
||||
'';
|
||||
|
||||
|
@ -112,6 +121,7 @@ buildPythonPackage rec {
|
|||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/encode/httpx/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "The next generation HTTP client";
|
||||
homepage = "https://github.com/encode/httpx";
|
||||
license = licenses.bsd3;
|
||||
|
|
Loading…
Reference in a new issue