Author: Bernhard M. Wiedemann Date: Wed Dec 13 09:28:20 2023 +0100 Mark Restriction and Individual as private Fixes https://github.com/RDFLib/rdflib/issues/2645 Without this patch, the graph's random identifier leaked into html/apidocs/rdflib.extras.html See https://reproducible-builds.org/ for why this matters. This patch was done while working on reproducible builds for openSUSE. Index: rdflib-6.1.1/rdflib/extras/infixowl.py =================================================================== --- rdflib-6.1.1.orig/rdflib/extras/infixowl.py +++ rdflib-6.1.1/rdflib/extras/infixowl.py @@ -365,6 +365,8 @@ class TermDeletionHelper: class Individual(object): """ A typed individual + + :meta private: """ factoryGraph = Graph() @@ -1606,6 +1608,7 @@ class Restriction(Class): individualRestrictionComponent { individualRestrictionComponent } ')' + :meta private: """ restrictionKinds = [