Merge pull request #175525 from fabaff/pyramid-jinja2-fix
python310Packages.pyramid_jinja2: disable failing tests
This commit is contained in:
commit
0c51357989
|
@ -3,23 +3,54 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, webtest
|
||||
, markupsafe
|
||||
, jinja2
|
||||
, pytestCheckHook
|
||||
, zope_deprecation
|
||||
, pyramid
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyramid_jinja2";
|
||||
pname = "pyramid-jinja2";
|
||||
version = "2.10";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-8nEGnZ6ay6x622kSGQqEj2M49+V6+68+lSN/6DzI9NI=";
|
||||
pname = "pyramid_jinja2";
|
||||
inherit version;
|
||||
hash = "sha256-8nEGnZ6ay6x622kSGQqEj2M49+V6+68+lSN/6DzI9NI=";
|
||||
};
|
||||
|
||||
buildInputs = [ webtest ];
|
||||
propagatedBuildInputs = [ jinja2 pyramid ];
|
||||
propagatedBuildInputs = [
|
||||
markupsafe
|
||||
jinja2
|
||||
pyramid
|
||||
zope_deprecation
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyramid_jinja2" ];
|
||||
checkInputs = [
|
||||
webtest
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyramid_jinja2"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: Lists differ: ['pyramid_jinja2-2.10',...
|
||||
"test_it_relative_to_package"
|
||||
# AssertionError: False is not true
|
||||
"test_options"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||
|
|
Loading…
Reference in a new issue