python310Packages.Pyro4: disable on Python >= 3.11
This commit is contained in:
parent
0606291973
commit
744ce872f1
1 changed files with 10 additions and 9 deletions
|
@ -1,12 +1,12 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, serpent
|
||||
, dill
|
||||
, cloudpickle
|
||||
, dill
|
||||
, fetchPypi
|
||||
, msgpack
|
||||
, isPy27
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, serpent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -14,7 +14,9 @@ buildPythonPackage rec {
|
|||
version = "4.82";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPy27;
|
||||
# No support Python >= 3.11
|
||||
# https://github.com/irmen/Pyro4/issues/246
|
||||
disabled = pythonAtLeast "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Pyro4";
|
||||
|
@ -41,10 +43,9 @@ buildPythonPackage rec {
|
|||
PYTHONPATH=tests/PyroTests:$PYTHONPATH
|
||||
'';
|
||||
|
||||
|
||||
pytestFlagsArray = [
|
||||
disabledTestPaths = [
|
||||
# ignore network related tests, which fail in sandbox
|
||||
"--ignore=tests/PyroTests/test_naming.py"
|
||||
"tests/PyroTests/test_naming.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
|
@ -63,7 +64,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Distributed object middleware for Python (RPC)";
|
||||
homepage = "https://github.com/irmen/Pyro4";
|
||||
changelog = "https://github.com/irmen/Pyro4/releases/tag/{version}";
|
||||
changelog = "https://github.com/irmen/Pyro4/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue