mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
python3Packages.anyio: 4.14.2 -> 4.15.1
https://github.com/agronholm/anyio/blob/4.15.1/docs/versionhistory.rst
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools-scm,
|
||||
@@ -32,22 +32,27 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyio";
|
||||
version = "4.14.2";
|
||||
version = "4.15.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "agronholm";
|
||||
repo = "anyio";
|
||||
tag = version;
|
||||
hash = "sha256-MEU0c8/NI1vlyNtBsg/hGLv6DR619ZqoZzNY1eJLEWM=";
|
||||
hash = "sha256-cuTOVLyqLfp4LMuBd1BnFgey2gu3wehDk7VAb7yoqng=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/agronholm/anyio/commit/818e4ac441fa27e9fac893496fc5a4fbe0a58689.patch";
|
||||
hash = "sha256-BKREdk6kUQHxX8ab1dijdvNwBHNcCHK25cqal7lDbqA=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
dependencies = [
|
||||
idna
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.13") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
@@ -106,6 +111,9 @@ buildPythonPackage rec {
|
||||
|
||||
# fails to monkeypatch __file__.__main__
|
||||
"test_entrypoint_main_module"
|
||||
|
||||
# pip install requires network access
|
||||
"test_sourceless_install"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# PermissionError: [Errno 1] Operation not permitted: '/dev/console'
|
||||
|
||||
Reference in New Issue
Block a user