python312Packages.rdflib: 7.0.0 -> 7.1.1 (#360380)

This commit is contained in:
OTABI Tomoya 2024-12-07 15:50:24 +09:00 committed by GitHub
commit 8d612848f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,9 +12,6 @@
isodate,
pyparsing,
# propagates <3.8
importlib-metadata,
# extras: networkx
networkx,
@ -24,31 +21,29 @@
# tests
pip,
pytest-cov-stub,
pytest7CheckHook,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "rdflib";
version = "7.0.0";
format = "pyproject";
version = "7.1.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "RDFLib";
repo = pname;
repo = "rdflib";
rev = "refs/tags/${version}";
hash = "sha256-VCjvgXMun1Hs+gPeqjzLXbIX1NBQ5aMLz0aWlwsm0iY=";
hash = "sha256-/jRUV7H6JBWBv/gphjLjjifbEwMSxWke5STqkeSzwoE=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
isodate
html5lib
dependencies = [
pyparsing
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
] ++ lib.optionals (pythonOlder "3.11") [ isodate ];
optional-dependencies = {
html = [ html5lib ];
@ -60,8 +55,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pip
pytest-cov-stub
# Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.
pytest7CheckHook
pytestCheckHook
setuptools
] ++ optional-dependencies.networkx ++ optional-dependencies.html;