mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
python3Packages.mocket: 3.9.42 -> 3.9.44
This commit is contained in:
parent
e2ec8b85bf
commit
f1691206f6
@ -19,19 +19,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mocket";
|
pname = "mocket";
|
||||||
version = "3.9.42";
|
version = "3.9.44";
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1vvlbnbypd4z1pjlvhwhd89fn0mis5acfx4v25f1mfl04k63ffah";
|
sha256 = "sha256-oeDYzhSzUXxtYhcLjXAmsi1v9vY5qCE/U9YOYxdQxrg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace requirements.txt \
|
|
||||||
--replace "decorator>=4.0.0,<5" "decorator>=4.0.0,<6"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
decorator
|
decorator
|
||||||
http-parser
|
http-parser
|
||||||
@ -59,8 +54,6 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# incompatible with decorator>=5
|
|
||||||
"test_patch"
|
|
||||||
# tests that require network access (like DNS lookups)
|
# tests that require network access (like DNS lookups)
|
||||||
"test_truesendall"
|
"test_truesendall"
|
||||||
"test_truesendall_with_chunk_recording"
|
"test_truesendall_with_chunk_recording"
|
||||||
|
Loading…
Reference in New Issue
Block a user