Merge pull request #144805 from fabaff/bump-rdflib

python3Packages.rdflib: 6.0.1 -> 6.0.2
This commit is contained in:
Fabian Affolter
2021-11-06 10:31:23 +01:00
committed by GitHub
3 changed files with 74 additions and 28 deletions
@@ -28,8 +28,15 @@ buildPythonPackage rec {
pydot
];
# Multiple tests are out-dated and failing
doCheck = false;
pythonImportsCheck = [
"prov"
];
meta = with lib; {
description = "A Python library for W3C Provenance Data Model (PROV)";
description = "Python library for W3C Provenance Data Model (PROV)";
homepage = "https://github.com/trungdong/prov";
license = licenses.mit;
maintainers = with maintainers; [ ashgillman ];
@@ -1,36 +1,62 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, isodate
, html5lib
, SPARQLWrapper
, isodate
, networkx
, nose
, python
, pyparsing
, tabulate
, pandas
, pytestCheckHook
, pythonOlder
, SPARQLWrapper
}:
buildPythonPackage rec {
pname = "rdflib";
version = "6.0.1";
version = "6.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "f071caff0b68634e4a7bd1d66ea3416ac98f1cc3b915938147ea899c32608728";
sha256 = "sha256-YTauBWABR07ir/X8W5VuYqEcOpxmuw89nAqqX7tWhU4=";
};
propagatedBuildInputs = [isodate html5lib SPARQLWrapper ];
propagatedBuildInputs = [
isodate
html5lib
pyparsing
SPARQLWrapper
];
checkInputs = [ networkx nose ];
checkInputs = [
networkx
pandas
nose
tabulate
pytestCheckHook
];
# Python 2 syntax
# Failing doctest
doCheck = false;
disabledTests = [
# Requires network access
"api_key"
"BerkeleyDBTestCase"
"test_bad_password"
"test_service"
"testGuessFormatForParse"
];
checkPhase = ''
${python.interpreter} run_tests.py
'';
pythonImportsCheck = [
"rdflib"
];
meta = {
description = "A Python library for working with RDF, a simple yet powerful language for representing information";
homepage = "http://www.rdflib.net/";
meta = with lib; {
description = "Python library for working with RDF";
homepage = "https://rdflib.readthedocs.io";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}