Merge pull request #221792 from mweinelt/pypy-packages

pypy3Packages.greenlet: Set null for pypi; pypy3Packages.six: Disable failing test
This commit is contained in:
Martin Weinelt 2023-03-18 11:59:34 +00:00 committed by GitHub
commit a5f8184fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -12,7 +12,6 @@ buildPythonPackage rec {
pname = "greenlet";
version = "2.0.2";
format = "setuptools";
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pytestCheckHook
}:
@ -19,6 +20,11 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = if isPyPy then [
# uses ctypes to find native library
"--deselect=test_six.py::test_move_items"
] else null;
pythonImportsCheck = [ "six" ];
meta = {

View file

@ -4180,7 +4180,8 @@ self: super: with self; {
greeneye-monitor = callPackage ../development/python-modules/greeneye-monitor { };
greenlet = callPackage ../development/python-modules/greenlet { };
# built-in for pypi
greenlet = if isPyPy then null else callPackage ../development/python-modules/greenlet { };
grequests = callPackage ../development/python-modules/grequests { };