<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/docs, 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>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://91.123.203.49/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>docs: fix typo in security considerations documentation</title>
<updated>2023-04-07T09:22:07+00:00</updated>
<author>
<name>Elliot Ford</name>
<email>elliot.ford@hotmail.co.uk</email>
</author>
<published>2023-04-07T09:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=93d876ceccb96145fd0cf9c2fcead24ef2060cc6'/>
<id>93d876ceccb96145fd0cf9c2fcead24ef2060cc6</id>
<content type='text'>
Replaced "access" with "accessed".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaced "access" with "accessed".</pre>
</div>
</content>
</entry>
<entry>
<title>build: upgrade sphinx and change flake8 and related to only install on python &gt;=3.8 (#2288)</title>
<updated>2023-03-21T21:29:13+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-21T21:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=dd44ae186183b0da8fef63853c9da2be826eb643'/>
<id>dd44ae186183b0da8fef63853c9da2be826eb643</id>
<content type='text'>
The main aim of this change is to get to a newer version of Sphinx.

However, if just Sphinx is upgraded, poetry can't do version solving because of
the version of `importlib-metadata` that flake8 needs:

```console
$ poetry install
Updating dependencies
Resolving dependencies... (0.6s)

Because no versions of flakeheaven match &gt;3.2.1,&lt;4.0.0
 and flakeheaven (3.2.1) depends on flake8 (&gt;=4.0.1,&lt;5.0.0), flakeheaven (&gt;=3.2.1,&lt;4.0.0) requires flake8 (&gt;=4.0.1,&lt;5.0.0).
And because no versions of flake8 match &gt;4.0.1,&lt;5.0.0
 and flake8 (4.0.1) depends on importlib-metadata (&lt;4.3), flakeheaven (&gt;=3.2.1,&lt;4.0.0) requires importlib-metadata (&lt;4.3).
And because sphinx (5.3.0) depends on importlib-metadata (&gt;=4.8)
 and no versions of sphinx match &gt;5.3.0,&lt;6.0.0, flakeheaven (&gt;=3.2.1,&lt;4.0.0) is incompatible with sphinx (&gt;=5.3.0,&lt;6.0.0).
So, because rdflib depends on both sphinx (^5.3.0) and flakeheaven (^3.2.1), version solving failed.
```

To make things work, flake8 and related is only installed for Python &gt;=3.8,
where the built-in `importlib.metadata` is used instead of the
`importlib-metadata` package.

This means no more flake8 on python 3.7, but it is a reasonable trade-off to get
to a newer version of Sphinx, and Python 3.7 support will be dropped by
2023-06-27 anyway.

Other changes:
- Changed Read the Docs to use the Sphinx version from poetry instead of the
  custom version that was in `devtools/requirements-rtd.txt`.
- Added `typing-extensions` to the poetry `docs` dependency group as it is
  needed for docs to build correctly.
- Changed the tox `docs` environment to be closer to the Read the Docs
  environment.

Closes &lt;https://github.com/RDFLib/rdflib/issues/2272&gt;.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The main aim of this change is to get to a newer version of Sphinx.

However, if just Sphinx is upgraded, poetry can't do version solving because of
the version of `importlib-metadata` that flake8 needs:

```console
$ poetry install
Updating dependencies
Resolving dependencies... (0.6s)

Because no versions of flakeheaven match &gt;3.2.1,&lt;4.0.0
 and flakeheaven (3.2.1) depends on flake8 (&gt;=4.0.1,&lt;5.0.0), flakeheaven (&gt;=3.2.1,&lt;4.0.0) requires flake8 (&gt;=4.0.1,&lt;5.0.0).
And because no versions of flake8 match &gt;4.0.1,&lt;5.0.0
 and flake8 (4.0.1) depends on importlib-metadata (&lt;4.3), flakeheaven (&gt;=3.2.1,&lt;4.0.0) requires importlib-metadata (&lt;4.3).
And because sphinx (5.3.0) depends on importlib-metadata (&gt;=4.8)
 and no versions of sphinx match &gt;5.3.0,&lt;6.0.0, flakeheaven (&gt;=3.2.1,&lt;4.0.0) is incompatible with sphinx (&gt;=5.3.0,&lt;6.0.0).
So, because rdflib depends on both sphinx (^5.3.0) and flakeheaven (^3.2.1), version solving failed.
```

To make things work, flake8 and related is only installed for Python &gt;=3.8,
where the built-in `importlib.metadata` is used instead of the
`importlib-metadata` package.

This means no more flake8 on python 3.7, but it is a reasonable trade-off to get
to a newer version of Sphinx, and Python 3.7 support will be dropped by
2023-06-27 anyway.

Other changes:
- Changed Read the Docs to use the Sphinx version from poetry instead of the
  custom version that was in `devtools/requirements-rtd.txt`.
- Added `typing-extensions` to the poetry `docs` dependency group as it is
  needed for docs to build correctly.
- Changed the tox `docs` environment to be closer to the Read the Docs
  environment.

Closes &lt;https://github.com/RDFLib/rdflib/issues/2272&gt;.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: fix typo in NamespaceManager documentation (#2291)</title>
<updated>2023-03-19T15:27:13+00:00</updated>
<author>
<name>Charles Tapley Hoyt</name>
<email>cthoyt@gmail.com</email>
</author>
<published>2023-03-19T15:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=7a05c15b25b5929696e30c5c96cd4bfbe566fd4b'/>
<id>7a05c15b25b5929696e30c5c96cd4bfbe566fd4b</id>
<content type='text'>
Changed `cdterms` to `dcterms`, see &lt;https://github.com/RDFLib/rdflib/issues/2196&gt; for more info.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed `cdterms` to `dcterms`, see &lt;https://github.com/RDFLib/rdflib/issues/2196&gt; for more info.</pre>
</div>
</content>
</entry>
<entry>
<title>chore: prepare for release 6.3.1 (#2285)</title>
<updated>2023-03-18T13:08:47+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-18T13:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=f3d31b002dda6d20247619b9606eff07039099df'/>
<id>f3d31b002dda6d20247619b9606eff07039099df</id>
<content type='text'>
Update everything to reflect release version 6.3.1.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update everything to reflect release version 6.3.1.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: don't use kroki (#2284)</title>
<updated>2023-03-17T21:24:31+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-17T21:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=bea782f925991d61923b6ec5f57098e9ac19acf0'/>
<id>bea782f925991d61923b6ec5f57098e9ac19acf0</id>
<content type='text'>
The Kroki server is currently experiencing some issues which breaks our
build, this change eliminates the use of Kroki in favour of directly
using the generated SVG images which is checked into git alongside the
PlantUML sources.

I also added a task to the Taskfile to re-generate the SVG images from
the PlantUML sources by calling docker.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Kroki server is currently experiencing some issues which breaks our
build, this change eliminates the use of Kroki in favour of directly
using the generated SVG images which is checked into git alongside the
PlantUML sources.

I also added a task to the Taskfile to re-generate the SVG images from
the PlantUML sources by calling docker.</pre>
</div>
</content>
</entry>
<entry>
<title>chore: prepare for release 6.3.0 (#2276)</title>
<updated>2023-03-16T22:26:37+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-16T22:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=309848bda0098e8d5dc3dcec179d9ca0e2196455'/>
<id>309848bda0098e8d5dc3dcec179d9ca0e2196455</id>
<content type='text'>
Update the changelog and other parts to prepare for the 6.3.0 release.

This will be tagged to 6.3.0.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the changelog and other parts to prepare for the 6.3.0 release.

This will be tagged to 6.3.0.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: document avaiable security measures (#2270)</title>
<updated>2023-03-16T19:56:48+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-16T19:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=1c256765ac7d5e7327695a44269be09e51bd88b1'/>
<id>1c256765ac7d5e7327695a44269be09e51bd88b1</id>
<content type='text'>
docs: document available security measures

Several security measures can be used to mitigate risk when processing
potentially malicious input.

This change adds documentation about available security measures and
examples and tests that illustrate their usage.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
docs: document available security measures

Several security measures can be used to mitigate risk when processing
potentially malicious input.

This change adds documentation about available security measures and
examples and tests that illustrate their usage.</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>feat: add parser type hints (#2232)</title>
<updated>2023-03-05T20:48:40+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2023-03-05T20:48:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=123edf52a0fc9c5d76efb2caa5f532956b3437ce'/>
<id>123edf52a0fc9c5d76efb2caa5f532956b3437ce</id>
<content type='text'>
Add type hints to:
- `rdflib/parser.py`
- `rdflib/plugins/parser/*.py`
- some JSON-LD utils
- `rdflib/exceptions.py`.

This is mainly because the work I'm doing to fix
&lt;https://github.com/RDFLib/rdflib/issues/1844&gt; is touching some of
this parser stuff and the type hints are useful to avoid mistakes.

No runtime changes are included in this PR.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add type hints to:
- `rdflib/parser.py`
- `rdflib/plugins/parser/*.py`
- some JSON-LD utils
- `rdflib/exceptions.py`.

This is mainly because the work I'm doing to fix
&lt;https://github.com/RDFLib/rdflib/issues/1844&gt; is touching some of
this parser stuff and the type hints are useful to avoid mistakes.

No runtime changes are included in this PR.</pre>
</div>
</content>
</entry>
</feed>
