python311Packages.anyio: 3.5.0 -> 3.6.2

https://github.com/agronholm/anyio/blob/3.6.2/docs/versionhistory.rst
This commit is contained in:
Robert Schütz 2023-01-09 07:57:57 -08:00
parent 5804b37991
commit 32a8d42f3d

View File

@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "anyio"; pname = "anyio";
version = "3.5.0"; version = "3.6.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -29,17 +29,9 @@ buildPythonPackage rec {
owner = "agronholm"; owner = "agronholm";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-AZ9M/NBCBlMIUpRJgKbJRL/oReZDUh2Jhwtoxoo0tMs="; hash = "sha256-bootaulvx9zmobQGDirsMz5uxuLeCD9ggAvYkPaKnWo=";
}; };
patches = [
(fetchpatch {
# Pytest 7.0 compatibility
url = "https://github.com/agronholm/anyio/commit/fed7cc4f95e196f68251bcb9253da3b143ea8e7e.patch";
sha256 = "sha256-VmZmiQEmWJ4aPz0Wx+GTMZo7jXRDScnRYf2Hu2hiRVw=";
})
];
preBuild = '' preBuild = ''
export SETUPTOOLS_SCM_PRETEND_VERSION=${version} export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
''; '';
@ -95,6 +87,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "anyio" ]; pythonImportsCheck = [ "anyio" ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/agronholm/anyio/blob/${src.rev}/docs/versionhistory.rst";
description = "High level compatibility layer for multiple asynchronous event loop implementations on Python"; description = "High level compatibility layer for multiple asynchronous event loop implementations on Python";
homepage = "https://github.com/agronholm/anyio"; homepage = "https://github.com/agronholm/anyio";
license = licenses.mit; license = licenses.mit;