python312Packages.bottle: disable failing tests
This commit is contained in:
@@ -1,20 +1,25 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bottle";
|
||||
version = "0.12.25";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4anJSXCubXELP7RSYpTf64byy0qB7/OkuY3ED7Dl4CE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
@@ -29,6 +34,12 @@ buildPythonPackage rec {
|
||||
"test_error_in_generator_callback"
|
||||
# timing sensitive
|
||||
"test_ims"
|
||||
] ++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# https://github.com/bottlepy/bottle/issues/1422
|
||||
# ModuleNotFoundError: No module named 'bottle.ext'
|
||||
"test_data_import"
|
||||
"test_direkt_import"
|
||||
"test_from_import"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
@@ -36,6 +47,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://bottlepy.org/";
|
||||
description = "A fast and simple micro-framework for small web-applications";
|
||||
downloadPage = "https://github.com/bottlepy/bottle";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user