<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_store, branch dependabot/docker/docker/unstable/library/python-286f2f1</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/'/>
<entry>
<title>test: Eliminate flake8 errors in tests (#2353)</title>
<updated>2023-04-14T19:26:10+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-04-14T19:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=cbd61510ec581aee262bc2bb8ad95d94f7784842'/>
<id>cbd61510ec581aee262bc2bb8ad95d94f7784842</id>
<content type='text'>
Eliminate some occurrences of the following flake8 errors in tests:

* E265 block comment should start with '# '
* E266 too many leading '#' for block comment
* E402 module level import not at top of file
* E712 comparison to False should be 'if cond is False:' or 'if not cond:'
* E712 comparison to True should be 'if cond is True:' or 'if cond:'
* E722 do not use bare 'except'
* F401 ... imported but unused
* F403 ... used; unable to detect undefined names
* F405 ... may be undefined, or defined from star imports: ...
* F541 f-string is missing placeholders
* F841 local variable 'result' is assigned to but never used
* N806 variable 'TEST_DIR' in function should be lowercase

This is pursuant to eliminating
[flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
supports the latest version of flake8
[[ref](https://github.com/flakeheaven/flakeheaven/issues/132)].</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate some occurrences of the following flake8 errors in tests:

* E265 block comment should start with '# '
* E266 too many leading '#' for block comment
* E402 module level import not at top of file
* E712 comparison to False should be 'if cond is False:' or 'if not cond:'
* E712 comparison to True should be 'if cond is True:' or 'if cond:'
* E722 do not use bare 'except'
* F401 ... imported but unused
* F403 ... used; unable to detect undefined names
* F405 ... may be undefined, or defined from star imports: ...
* F541 f-string is missing placeholders
* F841 local variable 'result' is assigned to but never used
* N806 variable 'TEST_DIR' in function should be lowercase

This is pursuant to eliminating
[flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
supports the latest version of flake8
[[ref](https://github.com/flakeheaven/flakeheaven/issues/132)].</pre>
</div>
</content>
</entry>
<entry>
<title>fix: correct imports and `__all__` (#2340)</title>
<updated>2023-04-12T20:10:43+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-04-12T20:10:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=7df77cd3fa0381ae2b309981230eaa0d42e90b79'/>
<id>7df77cd3fa0381ae2b309981230eaa0d42e90b79</id>
<content type='text'>
Disable
[`implicit_reexport`](https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport)
and eliminate all errors reported by mypy after this.

This helps ensure that import statements import from the right module and that
the `__all__` variable is correct.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable
[`implicit_reexport`](https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport)
and eliminate all errors reported by mypy after this.

This helps ensure that import statements import from the right module and that
the `__all__` variable is correct.</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix deprecation warnings (#2260)</title>
<updated>2023-03-11T13:16:39+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-11T13:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=09b90693ee519ba84e14f17a3a57d3d884c3082f'/>
<id>09b90693ee519ba84e14f17a3a57d3d884c3082f</id>
<content type='text'>
This changes the test the code to avoid deprecation warnings that
occur. Mostly related to changes in python threading and pytest.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the test the code to avoid deprecation warnings that
occur. Mostly related to changes in python threading and pytest.</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://trove.baserock.org/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: missing query string params in sparqlconnector when using POST method  (#2180)</title>
<updated>2023-01-02T18:16:17+00:00</updated>
<author>
<name>David Andreoletti</name>
<email>david.andreoletti.dev@gmail.com</email>
</author>
<published>2023-01-02T18:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=9b778b39a7759a9c94d5437e1d5f02196bdc9c51'/>
<id>9b778b39a7759a9c94d5437e1d5f02196bdc9c51</id>
<content type='text'>
The SPARQLConnector instance created by a SPARQLStore instance providing endpoint url + query string params using POST method did not append the query string to endpoint url.

Co-authored-by: Iwan Aucamp &lt;aucampia@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SPARQLConnector instance created by a SPARQLStore instance providing endpoint url + query string params using POST method did not append the query string to endpoint url.

Co-authored-by: Iwan Aucamp &lt;aucampia@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix: don't reuse same dict for headers in SPARQL HTTP requests</title>
<updated>2022-12-24T12:24:12+00:00</updated>
<author>
<name>gitmpje</name>
<email>61799691+gitmpje@users.noreply.github.com</email>
</author>
<published>2022-12-24T12:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=36c35a801a0391c88d200c23dedb34d1913bb830'/>
<id>36c35a801a0391c88d200c23dedb34d1913bb830</id>
<content type='text'>
Copy kwargs dict to prevent POST headers to be used in GET request and vice versa.

Co-authored-by: Mark van der Pas &lt;mark.van.der.pas@semaku.com&gt;
Co-authored-by: Iwan Aucamp &lt;aucampia@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copy kwargs dict to prevent POST headers to be used in GET request and vice versa.

Co-authored-by: Mark van der Pas &lt;mark.van.der.pas@semaku.com&gt;
Co-authored-by: Iwan Aucamp &lt;aucampia@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix: add charset encoding to SPARQLConnector.update() request. (#2112)</title>
<updated>2022-09-15T18:09:25+00:00</updated>
<author>
<name>Robert Casties</name>
<email>1488847+robcast@users.noreply.github.com</email>
</author>
<published>2022-09-15T18:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=91e9842cf7e49d509096adc4abfb748d181fd956'/>
<id>91e9842cf7e49d509096adc4abfb748d181fd956</id>
<content type='text'>
Add encoding "charset=UTF-8" to Content-Type header in `SPARQLConnector.update()` request.

Fixes #2095 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add encoding "charset=UTF-8" to Content-Type header in `SPARQLConnector.update()` request.

Fixes #2095 </pre>
</div>
</content>
</entry>
<entry>
<title>test: content-type handling with SPARQLStore + CONSTRUCT queries (#2092)</title>
<updated>2022-08-23T17:42:20+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-08-23T17:42:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=2ce4e2bcc709dcb1aebea6022d24cff42b8d30b8'/>
<id>2ce4e2bcc709dcb1aebea6022d24cff42b8d30b8</id>
<content type='text'>
Confirm various content type values are handled correctly with CONSTRUCT
queries and SPARQLStore.

This aims to confirm that #1195 is fixed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Confirm various content type values are handled correctly with CONSTRUCT
queries and SPARQLStore.

This aims to confirm that #1195 is fixed.</pre>
</div>
</content>
</entry>
<entry>
<title>test: convert more test from unittest to pytest (#2089)</title>
<updated>2022-08-23T17:40:44+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-08-23T17:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=97ed8437c6fdd0b857cec8cb95a0298314d31ced'/>
<id>97ed8437c6fdd0b857cec8cb95a0298314d31ced</id>
<content type='text'>
Fairly straight forward conversions with minimal changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fairly straight forward conversions with minimal changes.</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove unused imports in test code</title>
<updated>2022-05-16T22:38:56+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2022-05-16T18:44:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=5a0c55959ea13f29407f4d265fa4d5ffef89c37e'/>
<id>5a0c55959ea13f29407f4d265fa4d5ffef89c37e</id>
<content type='text'>
This patch removes unused imports in test code. This is mainly to remove
the potential snag for flake8/flakeheaven.

The actual cleanup was done with `pycln --all test`.

Also:
 - Remove superflous `pass` statements.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes unused imports in test code. This is mainly to remove
the potential snag for flake8/flakeheaven.

The actual cleanup was done with `pycln --all test`.

Also:
 - Remove superflous `pass` statements.
</pre>
</div>
</content>
</entry>
</feed>
