Skip to content

Commit

Permalink
version set to 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascar committed Sep 17, 2021
1 parent e280956 commit 7985b21
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 14 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
2021/09/17 RELEASE 6.0.1
========================
Minor release to fix a few small errors, in particular with JSON-LD parsing & serializing integration from rdflib-jsonld. Also, a few other niceties, such as allowing graph `add()`, `remove()` etc. to be chainable.

* Add test for adding JSON-LD to guess_format()
[PR #1408](https://github.com/RDFLib/rdflib/pull/1408)
* Add JSON-LD to guess_format()
[PR #1403](https://github.com/RDFLib/rdflib/pull/1403)
* add dateTimeStamp, fundamental & constraining facets, 7-prop data model
[PR #1399](https://github.com/RDFLib/rdflib/pull/1399)
* fix: remove log message on import
[PR #1398](https://github.com/RDFLib/rdflib/pull/1398)
* Make graph and other methods chainable
[PR #1394](https://github.com/RDFLib/rdflib/pull/1394)
* fix: use correct name for json-ld
[PR #1388](https://github.com/RDFLib/rdflib/pull/1388)
* Allowing Container Membership Properties in RDF namespace (#873)
[PR #1386](https://github.com/RDFLib/rdflib/pull/1386)
* Update intro_to_sparql.rst
[PR #1386](https://github.com/RDFLib/rdflib/pull/1384)
* Iterate over dataset return quads
[PR #1382](https://github.com/RDFLib/rdflib/pull/1382)

2021/07/20 RELEASE 6.0.0
========================
6.0.0 is a major stable release that drops support for Python 2 and Python 3 < 3.7. Type hinting is now present in much
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@

Aaron Swartz
Andrew Eland
Alex Nelson
Andrew Kuchling
Ashley Sommer
Arve Knudsen
Benjamin Cogrel
Boris Pelakh
Chimezie Ogbuji
Chris Markiewicz
Chris Mungall
Dan Scott
Daniel Krech
David H Jones
Don Bowman
Donny Winston
Drew Perttula
Edmond Chuc
Expand All @@ -28,6 +31,7 @@ Jamie McCusker
Jeroen van der Ham
Jerven Bolleman
Joern Hees
Juan José González
Kendall Clark
Leandro López
Lucio Torre
Expand All @@ -45,6 +49,7 @@ Remi Chateauneu
Sidnei da Silva
Simon McVittie
Stefan Niederhauser
Stig B. Dørmænen
Tom Gillespie
Thomas Kluyver
Urs Holzer
Expand Down
6 changes: 3 additions & 3 deletions rdflib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
__docformat__ = "restructuredtext en"

# The format of the __version__ line is matched by a regex in setup.py
__version__ = "6.0.1a0"
__date__ = "2021-07-21"
__version__ = "6.0.1"
__date__ = "2021-09-17"

__all__ = [
"URIRef",
Expand Down Expand Up @@ -96,7 +96,7 @@
and sys.stdout is not None
and sys.stderr.isatty()
):
# show log messages in interactive mode
# show log messages in interactive mode
logger.setLevel(logging.INFO)
logger.addHandler(logging.StreamHandler())
del __main__
Expand Down
1 change: 0 additions & 1 deletion rdflib/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,6 @@ def __iter__(self) -> Generator[DatasetQuad, None, None]:
return self.quads((None, None, None, None))



class QuotedGraph(Graph):
"""
Quoted Graphs are intended to implement Notation 3 formulae. They are
Expand Down
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ def find_version(filename):
return version_match.group(1)


def open_local(paths, mode='r', encoding='utf8'):
path = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
*paths
)
def open_local(paths, mode="r", encoding="utf8"):
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), *paths)
return codecs.open(path, mode, encoding)


with open_local(['README.md'], encoding='utf-8') as readme:
with open_local(["README.md"], encoding="utf-8") as readme:
long_description = readme.read()

version = find_version("rdflib/__init__.py")
Expand Down
9 changes: 5 additions & 4 deletions test/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ def testIter(self):

d.add_graph(URIRef("https://example.com/g1"))
d.add((uri_a, uri_b, uri_c, URIRef("https://example.com/g1")))
d.add((uri_a, uri_b, uri_c, URIRef(
"https://example.com/g1"))) # pointless addition: duplicates above
d.add(
(uri_a, uri_b, uri_c, URIRef("https://example.com/g1"))
) # pointless addition: duplicates above

d.add_graph(URIRef("https://example.com/g2"))
d.add((uri_a, uri_b, uri_c, URIRef("https://example.com/g2")))
Expand All @@ -195,8 +196,8 @@ def testIter(self):
i_new += 1

self.assertEqual(i_new, i_trad) # both should be 3


# dynamically create classes for each registered Store

pluginname = None
Expand Down

0 comments on commit 7985b21

Please sign in to comment.