#3 feat: update to 6.2.0
Opened 5 months ago by ankursinha. Modified 5 months ago
rpms/ ankursinha/python-rdflib feat/v6.2.0  into  rawhide

file modified
+1
@@ -7,3 +7,4 @@ 

  /rdflib-4.1.2.tar.gz

  /rdflib-4.2.1.tar.gz

  /rdflib-5.0.0.tar.gz

+ /python-rdflib-6.2.0.tar.gz

file modified
+21 -14
@@ -3,13 +3,15 @@ 

  %global run_tests 1

  

  Name:           python-%{pypi_name}

- Version:        5.0.0

- Release:        7%{?dist}

+ Version:        6.2.0

+ Release:        1%{?dist}

  Summary:        Python library for working with RDF

  

  License:        BSD

  URL:            https://github.com/RDFLib/rdflib

- Source0:        https://files.pythonhosted.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz

+ # use GitHub tar that contains all example files, needed for tests

+ Source:         %{url}/archive/%{version}/%{name}-%{version}.tar.gz

+ 

  BuildArch:      noarch

  

  BuildRequires:  python3-html5lib >= 1:
@@ -19,7 +21,9 @@ 

  BuildRequires:  python3-setuptools

  

  %if %{run_tests}

- BuildRequires:  python3-nose >= 0.9.2

+ BuildRequires:  python3-pytest

+ # for no_cov fixture

+ BuildRequires:  python3-pytest-cov

  %endif

  

  %description
@@ -65,9 +69,6 @@ 

  

  find -name "*.pyc" -delete

  

- sed -i -e 's|_sn_gen=bnode_uuid()|_sn_gen=bnode_uuid|' test/test_bnode_ncname.py

- 

- 

  %build

  %py3_build

  
@@ -120,13 +121,16 @@ 

  

  %check

  %if %{run_tests}

- sed -i -e "s|'--with-doctest'|#'--with-doctest'|" run_tests.py

- sed -i -e "s|'--doctest-tests'|#'--doctest-tests'|" run_tests.py

- sed -i -e "s|with-doctest = 1|#with-doctest = 1|" setup.cfg

- 

- # The python 3 tests are failing, but better to have them here anyway

- # TODO investigate the failures

- %{__python3} run_tests.py --verbose || :

+ # test/test_graph/test_graph.py::test_guess_format_for_parse: requires internet access

+ # test/test_extras/test_infixowl/test_context.py::test_context: requires internet access

+ # test/jsonld/test_onedotone.py::test_suite: requires internet access

+ # test/test_extras/test_infixowl/test_basic.py::test_infix_owl_example1 requires internet access

+ # test/test_sparql/test_service.py::test_service*: require internet access

+ # test/test_misc/test_plugins.py::test_sparqleval: requires no_cov fixture

+ # test/test_misc/test_plugins.py::test_parser: requires no_cov fixture

+ # rdflib/__init__.py::rdflib: requires internet access

+ # rdflib/extras/infixowl.py::rdflib.extras.infixowl: requires internet access

+ %{pytest} -k "not test_context and not test_guess_format_for_parse and not test_suite and not test_infix_owl_example1 and not test_service and not test_sparqleval and not test_parser and not rdflib/__init__.py and not rdflib.extras.infixowl"

  %endif

  

  
@@ -147,6 +151,9 @@ 

  %{_bindir}/rdfs2dot-3*

  

  %changelog

+ * Mon Aug 15 2022 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 6.2.0-1

+ - Update to latest upstream release

+ 

  * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (rdflib-5.0.0.tar.gz) = ba98ab6a7bb9d993d11c559a739761f297282eb9307f3e333db8dd1c6b365b408a59b701d823bef9be774a59b3f44f64c9444e3bb0115c0c549cb00945385dab

+ SHA512 (python-rdflib-6.2.0.tar.gz) = 8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245

no initial comment