<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_extras/test_infixowl, branch main</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>test: add `webtest` marker to tests that use the internet (#2295)</title>
<updated>2023-03-21T21:31:52+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-21T21:31:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=cfe6e378e6b0aff106f6baf3b5d82adbeb547236'/>
<id>cfe6e378e6b0aff106f6baf3b5d82adbeb547236</id>
<content type='text'>
This is being done so that it is easier for downstream packagers to run the test
suite without requiring internet access.

To run only tests that does not use the internet, run `pytest -m "not webtest"`.

The validation workflow validates that test run without internet access by
running the tests inside `firejail --net=none`.

- Closes &lt;https://github.com/RDFLib/rdflib/issues/2293&gt;.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is being done so that it is easier for downstream packagers to run the test
suite without requiring internet access.

To run only tests that does not use the internet, run `pytest -m "not webtest"`.

The validation workflow validates that test run without internet access by
running the tests inside `firejail --net=none`.

- Closes &lt;https://github.com/RDFLib/rdflib/issues/2293&gt;.</pre>
</div>
</content>
</entry>
<entry>
<title>build(deps-dev): bump black from 22.12.0 to 23.1.0 (#2248)</title>
<updated>2023-03-11T12:40:15+00:00</updated>
<author>
<name>dependabot[bot]</name>
<email>49699333+dependabot[bot]@users.noreply.github.com</email>
</author>
<published>2023-03-11T12:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=fcfa4950426719ef62e231147f5fa098f58272c6'/>
<id>fcfa4950426719ef62e231147f5fa098f58272c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: InfixOWL: eliminate use of mutable data structures in args (#2033)</title>
<updated>2022-07-18T12:34:31+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjhiggins@users.noreply.github.com</email>
</author>
<published>2022-07-18T12:34:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=8d5a14ffb39a811add09c41ea2c6a9da3d08325a'/>
<id>8d5a14ffb39a811add09c41ea2c6a9da3d08325a</id>
<content type='text'>
Maintenance-positive changes recommended by
[flake8-bugbear](https://pypi.org/project/flake8-bugbear/), mostly explicitly
indicating unused loop variables with a prefixing underscore (it identified one
case where _none_ of the loop variables were being used) and a couple of
don't-use-mutable-objects-as-args instances.

1. Added leading underscore to unused loop variables, removed mutable objects
   from args, (replacing with None and then performing an explicit “if None”
   assignment in the body of the method).

2. Swapped out an excessively weak, coverage-motivated length test of __hash__()
   (which was causing intermittent test failures) for an equality test of two
   runs, fixes issue #2030</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Maintenance-positive changes recommended by
[flake8-bugbear](https://pypi.org/project/flake8-bugbear/), mostly explicitly
indicating unused loop variables with a prefixing underscore (it identified one
case where _none_ of the loop variables were being used) and a couple of
don't-use-mutable-objects-as-args instances.

1. Added leading underscore to unused loop variables, removed mutable objects
   from args, (replacing with None and then performing an explicit “if None”
   assignment in the body of the method).

2. Swapped out an excessively weak, coverage-motivated length test of __hash__()
   (which was causing intermittent test failures) for an equality test of two
   runs, fixes issue #2030</pre>
</div>
</content>
</entry>
<entry>
<title>fix: InfixOWL fixes and cleanup (#2024)</title>
<updated>2022-07-17T13:17:51+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjhiggins@users.noreply.github.com</email>
</author>
<published>2022-07-17T13:17:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=40eaa269d7050983f5d1768fa1986d6fba1b4155'/>
<id>40eaa269d7050983f5d1768fa1986d6fba1b4155</id>
<content type='text'>
- InfixOWL fixes and cleanup.
  [PR #2024](https://github.com/RDFLib/rdflib/pull/2024).
  - `rdflib.extras.infixowl.Restriction.__init__` will now raise a `ValueError`
    if there is no restriction value instead of an `AssertionError`.
  - Fixed numerous issues with
    `rdflib.extras.infixowl.Restriction.restrictionKind` which was essentially
    not working at all.
  - Fixed how `rdflib.extras.infixowl.Property.__repr__` uses
    `rdflib.namespace.OWL`. 
  - Removed `rdflib.extras.infixowl.Infix.__ror__` and
    `rdflib.extras.infixowl.Infix.__or__` as they were broken.
  - Removed unused `rdflib.extras.infixowl.termDeletionDecorator`.
  - Added `rdflib.extras.infixowl.MalformedClassError` which will replace
    `rdflib.extras.infixowl.MalformedClass` (which is an exception) in the next
    major version.

Final stage of update to InfixOWL, removing unused code, tidying, adding some docu-comments, minor improvements in robustness, updating previously-failing tests, adding more tests. Expanded documentation to follow.

Co-authored-by: Iwan Aucamp &lt;aucampia@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- InfixOWL fixes and cleanup.
  [PR #2024](https://github.com/RDFLib/rdflib/pull/2024).
  - `rdflib.extras.infixowl.Restriction.__init__` will now raise a `ValueError`
    if there is no restriction value instead of an `AssertionError`.
  - Fixed numerous issues with
    `rdflib.extras.infixowl.Restriction.restrictionKind` which was essentially
    not working at all.
  - Fixed how `rdflib.extras.infixowl.Property.__repr__` uses
    `rdflib.namespace.OWL`. 
  - Removed `rdflib.extras.infixowl.Infix.__ror__` and
    `rdflib.extras.infixowl.Infix.__or__` as they were broken.
  - Removed unused `rdflib.extras.infixowl.termDeletionDecorator`.
  - Added `rdflib.extras.infixowl.MalformedClassError` which will replace
    `rdflib.extras.infixowl.MalformedClass` (which is an exception) in the next
    major version.

Final stage of update to InfixOWL, removing unused code, tidying, adding some docu-comments, minor improvements in robustness, updating previously-failing tests, adding more tests. Expanded documentation to follow.

Co-authored-by: Iwan Aucamp &lt;aucampia@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Continuation of infixowl update and coverage improvement (#2001)</title>
<updated>2022-07-13T20:01:07+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjhiggins@users.noreply.github.com</email>
</author>
<published>2022-07-13T20:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=ac8ef91065f35cc4c2d39f442859dd159ab25781'/>
<id>ac8ef91065f35cc4c2d39f442859dd159ab25781</id>
<content type='text'>
Update of infixowl including a couple of minor run-time changes to avoid exceptions currently xfailing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update of infixowl including a couple of minor run-time changes to avoid exceptions currently xfailing.</pre>
</div>
</content>
</entry>
<entry>
<title>Infixowl cleanup (#1996)</title>
<updated>2022-06-23T19:26:45+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjhiggins@users.noreply.github.com</email>
</author>
<published>2022-06-23T19:26:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=0198c0d0acbf5d22304dde55d04c26bad4d1fc8d'/>
<id>0198c0d0acbf5d22304dde55d04c26bad4d1fc8d</id>
<content type='text'>
Whitespace gardening for `rdflb/extras/infixowl.py` and additional tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whitespace gardening for `rdflb/extras/infixowl.py` and additional tests.</pre>
</div>
</content>
</entry>
</feed>
