<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/rdflib, branch sdo-https</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/'/>
<entry>
<title>add script to generated DefinedNamespaces, with tests</title>
<updated>2021-12-01T02:24:28+00:00</updated>
<author>
<name>nicholascar</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-12-01T02:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=cc0f08ef67cf42873a0f5d96062eccca8e9a952b'/>
<id>cc0f08ef67cf42873a0f5d96062eccca8e9a952b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update SDO DefinedNamespace to HTTPS and latests schema.org</title>
<updated>2021-12-01T02:24:03+00:00</updated>
<author>
<name>nicholascar</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-12-01T02:24:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=910e831803858969783f5ce32cda3b0350441f92'/>
<id>910e831803858969783f5ce32cda3b0350441f92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1456 from newinnovations/master</title>
<updated>2021-11-21T11:19:59+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-11-21T11:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=a24d5349863254c07476b71aa7554a745c217abf'/>
<id>a24d5349863254c07476b71aa7554a745c217abf</id>
<content type='text'>
Fix JSON-LD data import adds trailing slashes to IRIs (#1443)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix JSON-LD data import adds trailing slashes to IRIs (#1443)</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1452 from iafork/iwana-20211018T2122-pytest</title>
<updated>2021-11-19T04:32:10+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-11-19T04:32:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=9f8aa8c1b2426ace90b8af98d17152cc5d007427'/>
<id>9f8aa8c1b2426ace90b8af98d17152cc5d007427</id>
<content type='text'>
Migrate from nosetest to pytest</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Migrate from nosetest to pytest</pre>
</div>
</content>
</entry>
<entry>
<title>Stringify OWL Namespace object where a string is required.</title>
<updated>2021-11-15T21:09:00+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjh@bel-epa.com</email>
</author>
<published>2021-11-15T21:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=342f3ebedbb6242c78f5c309e2c036714a3e3fd9'/>
<id>342f3ebedbb6242c78f5c309e2c036714a3e3fd9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add import of os</title>
<updated>2021-11-15T21:00:00+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjh@bel-epa.com</email>
</author>
<published>2021-11-15T21:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=b7cc1915949379914d643eb578c0ed86a04cc15a'/>
<id>b7cc1915949379914d643eb578c0ed86a04cc15a</id>
<content type='text'>
File "../test_magic_set.py", line 64, in test_AdornLiteral
    res = translateAlgebra(translateQuery(parsed_query))
File ".../rdflib/plugins/sparql/algebra.py", line 1427, in translateAlgebra
    os.remove("query.txt")
name 'os' is not defined
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
File "../test_magic_set.py", line 64, in test_AdornLiteral
    res = translateAlgebra(translateQuery(parsed_query))
File ".../rdflib/plugins/sparql/algebra.py", line 1427, in translateAlgebra
    os.remove("query.txt")
name 'os' is not defined
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix JSON-LD data import adds trailing slashes to IRIs (#1443)</title>
<updated>2021-10-28T12:38:55+00:00</updated>
<author>
<name>Martin van der Werff</name>
<email>martin.vanderwerff@tno.nl</email>
</author>
<published>2021-10-28T12:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=227ef70576f3d0d6d0e275ff96d33dfc7b67d7af'/>
<id>227ef70576f3d0d6d0e275ff96d33dfc7b67d7af</id>
<content type='text'>
In norm_url leave url alone if it already contains a scheme/protocol.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In norm_url leave url alone if it already contains a scheme/protocol.
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate from nosetest to pytest</title>
<updated>2021-10-24T14:28:54+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2021-10-24T14:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=c2a37b70b9ca7158996f59437ae193dd7c421316'/>
<id>c2a37b70b9ca7158996f59437ae193dd7c421316</id>
<content type='text'>
This patch replace all uses of nose with pytest. It also includes a
pytest plugin for creating EARL reports for tests with a `rdf_test_uri`
parameter.

Some caveats:

- HTML report directory is now htmlcov instead of coverage
- There is some warning related to the EARL reporting plugin which I can't quite figure out:
  ```
  .venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676
    /home/iwana/sw/d/github.com/iafork/rdflib/.venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: test.earl
      self.import_plugin(import_spec)
  ```
  This is not causing any problems as far as I can tell, but still annoying.
- python setup.py test won't work anymore, I can make it work but this
  is not advised by pytest:
  https://github.com/pytest-dev/pytest-runner/#deprecation-notice
- run_test.py is still there but it's not really referenced anymore from
  anywhere and the options it accepts are completely different as it's options
  were based on nose. I would say it should be removed entirely but for now
  it is basically just a wrapper around pytest that basically does nothing.
- Removed references to test attributes as currently they are not being
  used anywhere anyway, I guess we can add them back if there is some
  use for them later.
- A lot of tests are still marked to skip when really they should be marked
  with xfail. This is also affecting the RDFT test manifests and result in
  reports saying tests are skipped when really we know they will fail and
  they are only skipped for this reason. But there is no change here from
  before, and pytest makes it easier to dynamically do expected failures.

Special thanks to Wes Turner for his advice and inputs on this process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replace all uses of nose with pytest. It also includes a
pytest plugin for creating EARL reports for tests with a `rdf_test_uri`
parameter.

Some caveats:

- HTML report directory is now htmlcov instead of coverage
- There is some warning related to the EARL reporting plugin which I can't quite figure out:
  ```
  .venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676
    /home/iwana/sw/d/github.com/iafork/rdflib/.venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: test.earl
      self.import_plugin(import_spec)
  ```
  This is not causing any problems as far as I can tell, but still annoying.
- python setup.py test won't work anymore, I can make it work but this
  is not advised by pytest:
  https://github.com/pytest-dev/pytest-runner/#deprecation-notice
- run_test.py is still there but it's not really referenced anymore from
  anywhere and the options it accepts are completely different as it's options
  were based on nose. I would say it should be removed entirely but for now
  it is basically just a wrapper around pytest that basically does nothing.
- Removed references to test attributes as currently they are not being
  used anywhere anyway, I guess we can add them back if there is some
  use for them later.
- A lot of tests are still marked to skip when really they should be marked
  with xfail. This is also affecting the RDFT test manifests and result in
  reports saying tests are skipped when really we know they will fail and
  they are only skipped for this reason. But there is no change here from
  before, and pytest makes it easier to dynamically do expected failures.

Special thanks to Wes Turner for his advice and inputs on this process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1445 from Panaetius/master</title>
<updated>2021-10-18T07:45:20+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-10-18T07:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=d9e86c932695d780bcdcdfadda150e4c1bcf72ef'/>
<id>d9e86c932695d780bcdcdfadda150e4c1bcf72ef</id>
<content type='text'>
replace pkg_resources with importlib.metadata</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
replace pkg_resources with importlib.metadata</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into ttl2</title>
<updated>2021-10-17T11:23:14+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-10-17T11:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=735ecb99b6def1f0dd7aa480e3a81334ae740a0f'/>
<id>735ecb99b6def1f0dd7aa480e3a81334ae740a0f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
