python3Packages.yamlloader: cleanup, disable broken test (#459226)
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
hypothesis,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,11 +14,11 @@ buildPythonPackage rec {
|
||||
version = "1.5.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wQrBMhpiaxyosJ0/Ov6YVbgYORxZmSp2tl5KLZXqxBs=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Phynix";
|
||||
repo = "yamlloader";
|
||||
tag = version;
|
||||
hash = "sha256-SNb1iXao+TNW872qDtEldZj6S+yJxRlsnw6ye92RFSk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -34,16 +33,25 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# TypeError: cannot pickle '_thread.RLock' object
|
||||
# https://github.com/Phynix/yamlloader/issues/64
|
||||
"tests/test_ordereddict.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"yaml"
|
||||
"yamlloader"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Case-insensitive list for Python";
|
||||
homepage = "https://github.com/Phynix/yamlloader";
|
||||
changelog = "https://github.com/Phynix/yamlloader/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ freezeboy ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
freezeboy
|
||||
sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user