Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
76a870c
7.1.3 prep (#3036)
edmondchuc Jan 16, 2025
4b0f580
7.1.3-pre-release
nicholascar Jan 18, 2025
006949a
small docco update (#3053)
nicholascar Jan 18, 2025
f4f3b73
7.1.3-post-release; some updated release info for devs (#3054)
nicholascar Jan 18, 2025
7d3666e
build(deps): bump orjson from 3.10.13 to 3.10.15 (#3055)
dependabot[bot] Jan 23, 2025
62c528d
build(deps-dev): bump ruff from 0.8.6 to 0.9.2 (#3047)
dependabot[bot] Jan 23, 2025
47165fc
build(deps): bump html5rdf from 1.2.0 to 1.2.1 in /docker/latest (#3045)
dependabot[bot] Feb 19, 2025
74afcb0
build(deps): bump html5rdf from 1.2 to 1.2.1 (#3048)
dependabot[bot] Feb 19, 2025
cfd4222
build(deps-dev): bump wheel from 0.44.0 to 0.45.1 (#3051)
dependabot[bot] Feb 19, 2025
89103ec
build(deps-dev): bump ruff 0.9.2 - 0.9.6 + readthedocs conf (#3072)
dependabot[bot] Mar 22, 2025
282ed56
build(deps): bump lxml from 5.3.0 to 5.3.1 (#3071)
dependabot[bot] Mar 22, 2025
62685d8
Cope with Namespace annotations in Python 3.14 (#3084)
nphilipp Mar 22, 2025
9af9a40
build(deps): bump dorny/test-reporter from 1 to 2 (#3081)
dependabot[bot] Mar 22, 2025
c1fc39e
build(deps-dev): bump pytest from 8.3.4 to 8.3.5 (#3079)
dependabot[bot] Mar 22, 2025
e4d28f1
build(deps): bump library/python in /docker/unstable (#3067)
dependabot[bot] Mar 22, 2025
69b7d6c
build(deps): bump library/python in /docker/latest (#3066)
dependabot[bot] Mar 22, 2025
b74c657
remove old hacks against 2to3 (#3076)
a-detiste Mar 22, 2025
c560028
Downgrade log message about plugin without override argument to debu…
yarikoptic Mar 22, 2025
7d1f4c7
[pre-commit.ci] pre-commit autoupdate (#3056)
pre-commit-ci[bot] Mar 22, 2025
8bbb30d
Reduce warnings (#3085)
nicholascar Mar 23, 2025
4cf2180
Reduce warnings (#3087)
nicholascar Mar 24, 2025
0c277e9
Allow multi subjects & objects in graph funcs (#3086)
nicholascar Mar 24, 2025
d220ee3
build(deps): bump library/python in /docker/unstable (#3089)
dependabot[bot] Mar 24, 2025
721164c
7.1.4 pre-release (#3098)
nicholascar Mar 29, 2025
c580c00
Merge 7-maintenance branch into 7.x (#3222)
edmondchuc Sep 18, 2025
747b8d3
[7.x] notation3.py: don't normalize float representation (#3221)
edmondchuc Sep 18, 2025
f276bd6
Fix incorrect deskolemization of literals (#3127) (#3223)
edmondchuc Sep 18, 2025
19a0ccf
chore: prep 7.2.0 release (#3224)
edmondchuc Sep 18, 2025
856c1af
chore: prep 7.2.1 release (#3225)
edmondchuc Sep 19, 2025
28261ff
chore: 7.2.1 post release (#3226)
edmondchuc Sep 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
checks: write
statuses: write
steps:
- uses: dorny/test-reporter@v1
- uses: dorny/test-reporter@v2
with:
artifact: /(.*)-mypy-junit-xml$/
name: mypy report
path: "*.xml"
reporter: java-junit
fail-on-error: "false"
- uses: dorny/test-reporter@v1
- uses: dorny/test-reporter@v2
with:
artifact: /(.*)-pytest-junit-xml$/
name: pytest report
Expand Down
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# WARNING: Ruff version should be the same as in `pyproject.toml`
rev: v0.5.4
rev: v0.11.0
hooks:
- id: ruff
args: ["--fix"]
Expand All @@ -21,9 +21,8 @@ repos:
require_serial: true
args: ["."]
- repo: https://github.com/python-poetry/poetry
rev: 1.8.3
rev: 2.1.1
hooks:
- id: poetry-check
- id: poetry-lock
# sadly `--no-update` does not work on pre-commit.ci
args: ["--check"]
args: ["--lock"]
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# https://docs.readthedocs.io/en/stable/config-file/v2.html
version: 2
# NOTE: not builing epub because epub does not know how to handle .ico files
# NOTE: not building epub because epub does not know how to handle .ico files
# which results in a warning which causes the build to fail due to
# `sphinx.fail_on_warning`
# https://github.com/sphinx-doc/sphinx/issues/10350
Expand All @@ -27,4 +27,5 @@ build:
- python -c "from rdflib import Graph; print(Graph)"

sphinx:
configuration: docs/conf.py
fail_on_warning: true
179 changes: 178 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,181 @@
## 2025-09-19 RELEASE 7.2.1

A tiny clean up release.

Fixes:
- Previous RDFLib releases required all downstream projects to specify <4.0.0. This release relaxes this requirement to allow Python 3.8.1 and later.

## 2025-09-19 RELEASE 7.2.0

This release contains a number of fixes and improvements to RDFLib.

New features:
- Canonicalization is now optional in the longturtle serializer. When serializing with the `longturtle` format, set `canon=True` to enable canonicalization.
- General type hints enhancements

Fixes:
- Fixed deskolemization of literals
- Fixed round-tripping of floats in N3 - floating point and scientific notation handling
- Fixed CI validation workflow, including regressions in tests
- Fixed `Literal.toPython` date conversion for gYear/gYearMonth
- Fixed namespace prefixes in longturtle serialization
- Fixed missing dot in RDF patch serialization

PRs merged:

* 2025-09-18 - [7.x] Fix incorrect deskolemization of literals
[PR #3223](https://github.com/RDFLib/rdflib/pull/3223)
* 2025-09-18 - Fix incorrect deskolemization of literals
[PR #3127](https://github.com/RDFLib/rdflib/pull/3127)
* 2025-09-18 - notation3.py: don't normalize float representation
[PR #3020](https://github.com/RDFLib/rdflib/pull/3020)
* 2025-09-18 - [7.x] notation3.py: don't normalize float representation
[PR #3221](https://github.com/RDFLib/rdflib/pull/3221)
* 2025-09-18 - Merge 7-maintenance branch into 7.x
[PR #3222](https://github.com/RDFLib/rdflib/pull/3222)
* 2025-09-17 - Allow lxml 6
[PR #3219](https://github.com/RDFLib/rdflib/pull/3219)
* 2025-09-16 - ci: fix firejail command for poetry 2.1.0
[PR #3218](https://github.com/RDFLib/rdflib/pull/3218)
* 2025-09-16 - chore: address dependabot security vulnerabilities
[PR #3210](https://github.com/RDFLib/rdflib/pull/3210)
* 2025-09-09 - Merge 7-maintenance changes into main
[PR #3202](https://github.com/RDFLib/rdflib/pull/3202)
* 2025-09-08 - feat: canonicalization with longturtle serializer now optional
[PR #3197](https://github.com/RDFLib/rdflib/pull/3197)
* 2025-09-03 - Specify `Optional` parameters in `Graph.triples_choices`
[PR #3075](https://github.com/RDFLib/rdflib/pull/3075)
* 2025-08-29 - Fix failing webtest
[PR #3194](https://github.com/RDFLib/rdflib/pull/3194)
* 2025-08-29 - Revert "remove old hacks against 2to3 (#3076)"
[PR #3195](https://github.com/RDFLib/rdflib/pull/3195)
* 2025-08-18 - Fix #3181
[PR #3182](https://github.com/RDFLib/rdflib/pull/3182)
* 2025-08-18 - Fix contributing guide link in README.md
[PR #3158](https://github.com/RDFLib/rdflib/pull/3158)
* 2025-08-18 - Creation of an RDFLib Charter
[PR #3178](https://github.com/RDFLib/rdflib/pull/3178)
* 2025-08-11 - Feature: Add Tentris Plugin to docs
[PR #3177](https://github.com/RDFLib/rdflib/pull/3177)
* 2025-06-02 - Replacement for #3125
[PR #3146](https://github.com/RDFLib/rdflib/pull/3146)
* 2025-06-01 - Cope with Namespace annotations in Python 3.14
[PR #3132](https://github.com/RDFLib/rdflib/pull/3132)
* 2025-06-01 - replace PR 3109; improve plugins modules docs; change header colour t…
[PR #3145](https://github.com/RDFLib/rdflib/pull/3145)
* 2025-06-01 - Pr/3143
[PR #3144](https://github.com/RDFLib/rdflib/pull/3144)
* 2025-05-31 - fix: remove Literal.toPython date conversion for gYear/gYearMonth
[PR #3115](https://github.com/RDFLib/rdflib/pull/3115)
* 2025-05-31 - fix: do not automatically generate header id in RDF patch generation and fix missing fullstop
[PR #3141](https://github.com/RDFLib/rdflib/pull/3141)
* 2025-05-31 - fix namespace prefixes in longturtle serialization
[PR #3106](https://github.com/RDFLib/rdflib/pull/3106)
* 2025-05-20 - [7.x] fix namespace prefixes in longturtle serialization
[PR #3134](https://github.com/RDFLib/rdflib/pull/3134)
* 2025-05-20 - List on docs the COTTAS store backend
[PR #3139](https://github.com/RDFLib/rdflib/pull/3139)
* 2025-03-29 - 7.1.4 pre-release
[PR #3098](https://github.com/RDFLib/rdflib/pull/3098)


* 2025-09-16 - build(deps): bump poetry from 2.0.0 to 2.1.4 in /devtools
[PR #3176](https://github.com/RDFLib/rdflib/pull/3176)
* 2025-09-16 - build(deps): bump library/python from `8220cce` to `58c30f5` in /docker/latest
[PR #3217](https://github.com/RDFLib/rdflib/pull/3217)
* 2025-09-16 - build(deps): bump library/python from `8220cce` to `58c30f5` in /docker/unstable
[PR #3216](https://github.com/RDFLib/rdflib/pull/3216)
* 2025-09-16 - build(deps-dev): bump ruff from 0.8.6 to 0.13.0
[PR #3213](https://github.com/RDFLib/rdflib/pull/3213)
* 2025-09-16 - build(deps-dev): bump pip-tools from 7.4.1 to 7.5.0
[PR #3211](https://github.com/RDFLib/rdflib/pull/3211)
* 2025-09-16 - build(deps-dev): bump mkdocstrings from 0.29.1 to 0.30.0
[PR #3214](https://github.com/RDFLib/rdflib/pull/3214)
* 2025-09-12 - build(deps): bump library/python from 3.13.3-slim to 3.13.7-slim in /docker/unstable
[PR #3183](https://github.com/RDFLib/rdflib/pull/3183)
* 2025-09-12 - build(deps): bump actions/checkout from 4 to 5
[PR #3184](https://github.com/RDFLib/rdflib/pull/3184)
* 2025-09-12 - build(deps): bump library/python from 3.13.3-slim to 3.13.7-slim in /docker/latest
[PR #3185](https://github.com/RDFLib/rdflib/pull/3185)
* 2025-09-12 - build(deps): bump actions/setup-java from 4 to 5
[PR #3189](https://github.com/RDFLib/rdflib/pull/3189)
* 2025-09-12 - build(deps-dev): bump pytest-cov from 6.1.1 to 6.3.0
[PR #3203](https://github.com/RDFLib/rdflib/pull/3203)
* 2025-09-12 - build(deps-dev): bump typing-extensions from 4.13.2 to 4.15.0
[PR #3204](https://github.com/RDFLib/rdflib/pull/3204)
* 2025-09-12 - build(deps-dev): bump pytest from 8.3.5 to 8.4.2
[PR #3205](https://github.com/RDFLib/rdflib/pull/3205)
* 2025-09-12 - build(deps-dev): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.7
[PR #3207](https://github.com/RDFLib/rdflib/pull/3207)
* 2025-09-12 - build(deps): bump actions/setup-python from 5 to 6
[PR #3206](https://github.com/RDFLib/rdflib/pull/3206)
* 2025-09-12 - build(deps-dev): bump mkdocs-material from 9.6.14 to 9.6.19
[PR #3208](https://github.com/RDFLib/rdflib/pull/3208)
* 2025-09-12 - build(deps-dev): bump coverage from 7.8.2 to 7.10.6
[PR #3209](https://github.com/RDFLib/rdflib/pull/3209)
* 2025-05-31 - build(deps-dev): bump coverage from 7.7.1 to 7.8.2
[PR #3142](https://github.com/RDFLib/rdflib/pull/3142)
* 2025-05-31 - build(deps-dev): bump typing-extensions from 4.13.0 to 4.13.2
[PR #3121](https://github.com/RDFLib/rdflib/pull/3121)
* 2025-05-31 - build(deps): bump library/python from 3.13.1-slim@sha256:1127090f9fff0b8e7c3a1367855ef8a3299472d2c9ed122948a576c39addeaf1 to sha256:34dc8eb488136014caf530ec03a3a2403473a92d67a01a26256c365b5b2fc0d4 in /docker/unstable
[PR #3118](https://github.com/RDFLib/rdflib/pull/3118)
* 2025-05-31 - build(deps): bump library/python from 3.13.1-slim@sha256:1127090f9fff0b8e7c3a1367855ef8a3299472d2c9ed122948a576c39addeaf1 to sha256:34dc8eb488136014caf530ec03a3a2403473a92d67a01a26256c365b5b2fc0d4 in /docker/latest
[PR #3117](https://github.com/RDFLib/rdflib/pull/3117)
* 2025-05-27 - build(deps): bump rdflib from 7.1.2 to 7.1.4 in /docker/latest
[PR #3101](https://github.com/RDFLib/rdflib/pull/3101)

## 2025-03-29 RELEASE 7.1.4

A tidy-up release with no major updates over 7.1.3. This may be the last 7.x
release as we move to a version 8 with breaking changes to Dataset and a few
APIs.

Interesting PRs merged:

* 2025-03-24 - remove old hacks against 2to3
[PR #3095](https://github.com/RDFLib/rdflib/pull/3095)
* 2025-03-24 - Allow multi subjects & objects in graph funcs
[PR #3086](https://github.com/RDFLib/rdflib/pull/3086)
* 2025-03-24 - Reduce test warnings
[PR #3085](https://github.com/RDFLib/rdflib/pull/3085)
* 2025-03-22 - Downgrade log message about plugin
[PR #3063](https://github.com/RDFLib/rdflib/pull/3063)
* 2025-03-22 - remove old hacks against 2to3
[PR #3076](https://github.com/RDFLib/rdflib/pull/3076)
* 2025-03-22 - Cope with Namespace annotations in Python 3.14
[PR #3084](https://github.com/RDFLib/rdflib/pull/3084)
* 2025-01-18 - small docco update
[PR #3053](https://github.com/RDFLib/rdflib/pull/3053)

... and lots of boring dependency bump PRs merged!

## 2025-01-17 RELEASE 7.1.3

A fix-up release that re-adds support for Python 3.8 after it was accidentally
removed in Release 7.1.2.

This release cherrypicks many additions to 7.1.2 added to 7.1.1 but leaves out
typing changes that are not compatible
with Python 3.8.

Also not carried over from 7.1.2 is the change from Poetry 1.x to 2.0.

Included are PRs such as _Defined Namespace warnings fix_, _sort longturtle
blank nodes_, _deterministic longturtle serialisation_ and _Dataset documentation
improvements_.

For the full list of included PRs, see the preparatory PR:
<https://github.com/RDFLib/rdflib/pull/3036>.

## 2025-01-10 RELEASE 7.1.2

A minor release that inadvertently removed support for Python 3.8. This release
how now been deleted.

All the improved features initially made available in this release that were
compatible with Python 3.8 have been preserved in the 7.1.3 release. The main
additions to 7.1.2 not preserved in 7.1.3 are updated type hints.

## 2024-10-17 RELEASE 7.1.1

This minor release removes the dependency on some only Python packages, in particular
Expand Down Expand Up @@ -31,7 +209,6 @@ Merged PRs:
* 2024-10-23 - build(deps-dev): bump ruff from 0.6.9 to 0.7.0
[PR #2942](https://github.com/RDFLib/rdflib/pull/2942)


## 2024-10-17 RELEASE 7.1.0

This minor release incorporates just over 100 substantive PRs - interesting
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ authors:
- family-names: "Stuart"
given-names: "Veyndan"
title: "RDFLib"
version: 7.1.1
date-released: 2024-10-28
version: 7.2.1
date-released: 2025-09-19
url: "https://github.com/RDFLib/rdflib"
doi: 10.5281/zenodo.6845245
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2002-2024, RDFLib Team
Copyright (c) 2002-2025, RDFLib Team
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ RDFLib

RDFLib is a pure Python package for working with [RDF](http://www.w3.org/RDF/). RDFLib contains most things you need to work with RDF, including:

* parsers and serializers for RDF/XML, N3, NTriples, N-Quads, Turtle, TriX, Trig and JSON-LD
* parsers and serializers for RDF/XML, N3, NTriples, N-Quads, Turtle, TriX, Trig, JSON-LD and even HexTuples
* a Graph interface which can be backed by any one of a number of Store implementations
* store implementations for in-memory, persistent on disk (Berkeley DB) and remote SPARQL endpoints
* Store implementations for in-memory, persistent on disk (Berkeley DB) and remote SPARQL endpoints
* additional Stores can be supplied via plugins
* a SPARQL 1.1 implementation - supporting SPARQL 1.1 Queries and Update statements
* SPARQL function extension mechanisms

Expand All @@ -29,10 +30,8 @@ The RDFlib community maintains many RDF-related Python code repositories with di

* [rdflib](https://github.com/RDFLib/rdflib) - the RDFLib core
* [sparqlwrapper](https://github.com/RDFLib/sparqlwrapper) - a simple Python wrapper around a SPARQL service to remotely execute your queries
* [pyLODE](https://github.com/RDFLib/pyLODE) - An OWL ontology documentation tool using Python and templating, based on LODE.
* [pyrdfa3](https://github.com/RDFLib/pyrdfa3) - RDFa 1.1 distiller/parser library: can extract RDFa 1.1/1.0 from (X)HTML, SVG, or XML in general.
* [pymicrodata](https://github.com/RDFLib/pymicrodata) - A module to extract RDF from an HTML5 page annotated with microdata.
* [pySHACL](https://github.com/RDFLib/pySHACL) - A pure Python module which allows for the validation of RDF graphs against SHACL graphs.
* [pyLODE](https://github.com/RDFLib/pyLODE) - An OWL ontology documentation tool using Python and templating, based on LODE
* [pySHACL](https://github.com/RDFLib/pySHACL) - A pure Python module which allows for the validation of RDF graphs against SHACL graphs
* [OWL-RL](https://github.com/RDFLib/OWL-RL) - A simple implementation of the OWL2 RL Profile which expands the graph with all possible triples that OWL RL defines.

Please see the list for all packages/repositories here:
Expand All @@ -43,8 +42,14 @@ Help with maintenance of all of the RDFLib family of packages is always welcome

## Versions & Releases

* `main` branch in this repository is the unstable release
* `7.1.1` current stable release, bugfixes to 7.1.0
* `main` branch in this repository is the current unstable release - version 8 alpha
* `7.2.1` tiny clean up release, relaxes Python version requirement
* `7.2.0` general fixes and usability improvements, see changelog for details
* `7.1.4` tidy-up release, possibly last 7.x release
* `7.1.3` current stable release, small improvements to 7.1.1
* `7.1.2` previously deleted release
* `7.1.1` previous stable release
* see <https://github.com/RDFLib/rdflib/releases/tag/7.1.1>
* `7.0.0` previous stable release, supports Python 3.8.1+ only.
* see [Releases](https://github.com/RDFLib/rdflib/releases)
* `6.x.y` supports Python 3.7+ only. Many improvements over 5.0.0
Expand All @@ -68,8 +73,6 @@ Some features of RDFLib require optional dependencies which may be installed usi
Alternatively manually download the package from the Python Package
Index (PyPI) at https://pypi.python.org/pypi/rdflib

The current version of RDFLib is 7.1.1, see the ``CHANGELOG.md`` file for what's new in this release.

### Installation of the current main branch (for developers)

With *pip* you can also install rdflib from the git repository with one of the following options:
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ tasks:

pip-compile:
cmds:
- cmd: "{{.PIP_COMPILE}} --quiet --annotate --emit-options --resolver=backtracking {{.CLI_ARGS}}"
- cmd: "{{.PIP_COMPILE}} --quiet --annotate --emit-options --resolver=backtracking --no-strip-extras {{.CLI_ARGS}}"

docker:prepare:
cmds:
Expand Down
8 changes: 6 additions & 2 deletions admin/get_merged_prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import urllib.request

# https://api.github.com/search/issues?q=repo:rdflib/rdflib+is:pr+merged:%3E=2023-08-02&per_page=300&page=1
LAST_RELEASE_DATE = "2024-10-17"
LAST_RELEASE_DATE = "2025-03-29"
ISSUES_URL = "https://api.github.com/search/issues"
ITEMS = []
PAGE = 1
Expand All @@ -23,7 +23,11 @@
print(f"Getting {url}")
with urllib.request.urlopen(url) as response:
response_text = response.read()
link_headers = response.info()["link"].split(",") if response.info()["link"] is not None else None
link_headers = (
response.info()["link"].split(",")
if response.info()["link"] is not None
else None
)

json_data = json.loads(response_text)
ITEMS.extend(json_data["items"])
Expand Down
2 changes: 1 addition & 1 deletion devtools/requirements-poetry.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Fixing this here as readthedocs can't use the compiled requirements-poetry.txt
# due to conflicts.
poetry==1.8.4
poetry==1.8.5
2 changes: 1 addition & 1 deletion docker/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/python:3.12.7-slim@sha256:af4e85f1cac90dd3771e47292ea7c8a9830abfabbe4faa5c53f158854c2e819d
FROM docker.io/library/python:3.13.2-slim@sha256:ae9f9ac89467077ed1efefb6d9042132d28134ba201b2820227d46c9effd3174

COPY docker/latest/requirements.txt /var/tmp/build/

Expand Down
6 changes: 2 additions & 4 deletions docker/latest/requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# This file is used for building a docker image of the latest rdflib release. It
# will be updated by dependabot when new releases are made.
rdflib==7.1.0
html5rdf==1.2.0
# html5lib-modern is required to allow the Dockerfile to build on with pre-RDFLib-7.1.1 releases.
html5lib-modern==1.2.0
rdflib==7.2.1
html5rdf==1.2.1
12 changes: 4 additions & 8 deletions docker/latest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile docker/latest/requirements.in
# pip-compile --cert=None --client-cert=None --index-url=None --pip-args=None docker/latest/requirements.in
#
html5rdf==1.2
# via
# -r docker/latest/requirements.in
# rdflib
html5lib-modern==1.2
html5rdf==1.2.1
# via -r docker/latest/requirements.in
pyparsing==3.0.9
# via rdflib
rdflib==7.1.0
rdflib==7.2.1
# via -r docker/latest/requirements.in
2 changes: 1 addition & 1 deletion docker/unstable/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/python:3.12.7-slim@sha256:af4e85f1cac90dd3771e47292ea7c8a9830abfabbe4faa5c53f158854c2e819d
FROM docker.io/library/python:3.13.2-slim@sha256:8f3aba466a471c0ab903dbd7cb979abd4bda370b04789d25440cc90372b50e04

# This file is generated from docker:unstable in Taskfile.yml
COPY var/requirements.txt /var/tmp/build/
Expand Down
Loading