<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/rdflib/plugins/parsers, branch sdo-https</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/'/>
<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://91.123.203.49/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>Fix typos discovered by codespell</title>
<updated>2021-10-14T13:17:58+00:00</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2021-10-14T13:17:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=a4face17a1a2088b7d8b53e7b0394d197ce8f5b7'/>
<id>a4face17a1a2088b7d8b53e7b0394d197ce8f5b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mypy type errors and add mypy to .drone.yml</title>
<updated>2021-09-10T21:24:36+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2021-09-10T21:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=90f6fe5611f4c7411e5eac347cafb9d009829b6c'/>
<id>90f6fe5611f4c7411e5eac347cafb9d009829b6c</id>
<content type='text'>
Fixes #1311

Add `mypy` to .drone.yml and fix type errors that come up.

Not type checking examples or tests.

Other changes:

- fix return value for `Graph.serialize` (refs #1394)
- remove default value for
  `rdflib.plugins.sparql.algebra.translateAlgebra` (refs #1322)
- add .dockerignore to reduce context size and make docker quicker
  to run.
- add .flake8 config to ignore line length as black is managing
  formatting.
- add mypy to docker-compose, makefile and tox.ini
- fix the way csv2rdf is invoked to ensure that the right code gets
  executed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1311

Add `mypy` to .drone.yml and fix type errors that come up.

Not type checking examples or tests.

Other changes:

- fix return value for `Graph.serialize` (refs #1394)
- remove default value for
  `rdflib.plugins.sparql.algebra.translateAlgebra` (refs #1322)
- add .dockerignore to reduce context size and make docker quicker
  to run.
- add .flake8 config to ignore line length as black is managing
  formatting.
- add mypy to docker-compose, makefile and tox.ini
- fix the way csv2rdf is invoked to ensure that the right code gets
  executed.
</pre>
</div>
</content>
</entry>
<entry>
<title>blacked everything</title>
<updated>2021-07-20T13:13:06+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-07-20T13:13:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=17969dccdc6b182ef19c1a9e0b86a6585026aeab'/>
<id>17969dccdc6b182ef19c1a9e0b86a6585026aeab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix docc build warnings</title>
<updated>2021-07-15T00:04:50+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-07-15T00:04:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=9071117a4a70b8d1dbf9436919ce1d671b2bdc86'/>
<id>9071117a4a70b8d1dbf9436919ce1d671b2bdc86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests</title>
<updated>2021-07-14T14:24:04+00:00</updated>
<author>
<name>Edmond Chuc</name>
<email>e.chuc@uq.edu.au</email>
</author>
<published>2021-07-14T14:24:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=8cda3a473b3435e69ba31efd3d7ac5f23fac934f'/>
<id>8cda3a473b3435e69ba31efd3d7ac5f23fac934f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into hsolbrig/master</title>
<updated>2021-07-14T03:46:02+00:00</updated>
<author>
<name>Edmond Chuc</name>
<email>e.chuc@uq.edu.au</email>
</author>
<published>2021-07-14T03:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=de260a5a3f33abe3133095dbf96cc19a50c90dee'/>
<id>de260a5a3f33abe3133095dbf96cc19a50c90dee</id>
<content type='text'>
# Conflicts:
#	rdflib/namespace/__init__.py
#	rdflib/plugins/sparql/operators.py
#	test/test_namespace.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	rdflib/namespace/__init__.py
#	rdflib/plugins/sparql/operators.py
#	test/test_namespace.py
</pre>
</div>
</content>
</entry>
<entry>
<title>remove bad doctest declarations that are no longer required, were causing subsequent tests to fail</title>
<updated>2021-07-09T05:10:38+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-09T04:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=2df55aa59de3e42d92297971d70ce94b7873a6fc'/>
<id>2df55aa59de3e42d92297971d70ce94b7873a6fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into hsolbrig/master</title>
<updated>2021-07-08T06:12:15+00:00</updated>
<author>
<name>Edmond Chuc</name>
<email>e.chuc@uq.edu.au</email>
</author>
<published>2021-07-08T06:12:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=26dba21d0562fdc8141cf758c61e14dd9edfa972'/>
<id>26dba21d0562fdc8141cf758c61e14dd9edfa972</id>
<content type='text'>
# Conflicts:
#	rdflib/__init__.py
#	rdflib/compat.py
#	rdflib/namespace/__init__.py
#	rdflib/plugins/parsers/rdfxml.py
#	rdflib/plugins/serializers/rdfxml.py
#	rdflib/tools/csv2rdf.py
#	test/test_dawg.py
#	test/test_namespace.py
#	test/test_nt_misc.py
#	test/test_rdfxml.py
#	test/test_seq.py
#	test/test_trig.py
#	test/testutils.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	rdflib/__init__.py
#	rdflib/compat.py
#	rdflib/namespace/__init__.py
#	rdflib/plugins/parsers/rdfxml.py
#	rdflib/plugins/serializers/rdfxml.py
#	rdflib/tools/csv2rdf.py
#	test/test_dawg.py
#	test/test_namespace.py
#	test/test_nt_misc.py
#	test/test_rdfxml.py
#	test/test_seq.py
#	test/test_trig.py
#	test/testutils.py
</pre>
</div>
</content>
</entry>
<entry>
<title>re-blacked JSON-LD code</title>
<updated>2021-07-08T01:08:26+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-08T01:08:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=5c85879d563aa7ceb6f053928c8e71239c716c94'/>
<id>5c85879d563aa7ceb6f053928c8e71239c716c94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
