python312Packages.pyrfc3339: disable tests
They use nose, which relies on the imp module, which was been removed from Python 3.12.
This commit is contained in:
@@ -1,21 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, pytz
|
||||
|
||||
# tests
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyRFC3339";
|
||||
version = "1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06jv7ar7lpvvk0dixzwdr3wgm0g1lipxs429s2z7knwwa7hwpf41";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
buildInputs = [ nose ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytz
|
||||
];
|
||||
|
||||
doCheck = pythonOlder "3.12";
|
||||
|
||||
nativeCheckInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate and parse RFC 3339 timestamps";
|
||||
|
||||
Reference in New Issue
Block a user