Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: progval/rdflib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: progval/rdflib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: collection-empty-list
Choose a head ref
  • 18 commits
  • 31 files changed
  • 7 contributors

Commits on Jul 5, 2024

  1. fix: Prevent Collection from add 'rdf:nil rdf:rest rdf:nil.' triples

    Creating 'Collection(graph, RDF.nil)' used to add a 'rdf:nil rdf:rest rdf:nil.'
    triple to the graph, which turned the empty list into an infinite list.
    
    This was a side-effect of unconditionally appending 'seq' to the collection,
    which is not possible when the collection is 'nil' without ill side-effects.
    
    This commit makes the append conditional; and also checks the collection
    is non-empty in case the user explicitly tries to add item to the empty list.
    progval committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    fc02817 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    3cece74 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    99077f3 View commit details
    Browse the repository at this point in the history
  2. Move emptiness check out of _end()

    This will allow using _end() in other methods that would not need to append
    progval committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    548be94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ae46a4 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Also prevent insertion at the end of finalized lists

    Co-authored-by: Ashley Sommer <[email protected]>
    progval and ashleysommer authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    ea81da5 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    c48eb78 View commit details
    Browse the repository at this point in the history
  2. Also prevent .append() on finalized lists

    Co-authored-by: Ashley Sommer <[email protected]>
    progval and ashleysommer authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    859848c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8be2cb2 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Add skolemization support for ntriples, nquads, hextuples and json-ld…

    … support at parse time (RDFLib#2816)
    
    * feat: hextuple handles blank node graph names correctly in parser and serialiser
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks"
    
    This reverts commit 78106bb.
    
    * feat: add skolemization support for ntriples, nquads, hextuples and json-ld at parse time
    
    * fix: mypy errors
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Nicholas Car <[email protected]>
    Co-authored-by: Ashley Sommer <[email protected]>
    4 people authored Jul 28, 2024
    Configuration menu
    Copy the full SHA
    2053ecd View commit details
    Browse the repository at this point in the history
  2. Fix and extend implementation of BytesIOWrapper (RDFLib#2853)

    * Fix implementation of BytesIOWrapper to make it more complete, more useful, and compliant with Python's BufferedIOBase and BinaryIO interface.
    BytesIOWrapper can now also wrap a TextIO Unicode file, or a StringIO, as well as the original wrapped str.
    
    * Add remaining missing methods: truncate, flush, isatty, fileno.
    
    * Catch OSError in BytesIOWrapper on base stream isatty() and fileno(), throw this error when expected when corresponding functions are invoked on the Wrapper.
    
    ---------
    
    Co-authored-by: Nicholas Car <[email protected]>
    ashleysommer and nicholascar authored Jul 28, 2024
    Configuration menu
    Copy the full SHA
    563dfcc View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. build(deps): bump library/python in /docker/unstable (RDFLib#2855)

    Bumps library/python from `52f92c5` to `740d94a`.
    
    ---
    updated-dependencies:
    - dependency-name: library/python
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    90f5cc1 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump library/python in /docker/latest (RDFLib#2856)

    Bumps library/python from `52f92c5` to `740d94a`.
    
    ---
    updated-dependencies:
    - dependency-name: library/python
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    a4b9273 View commit details
    Browse the repository at this point in the history
  3. Add optional orjson support for faster json reading and writing (RDFL…

    …ib#2854)
    
    * initial orjson support, for hextuples parser and serializer, and first stages of json-ld parser.
    This relies on merging of the BytesIOWrapper PR.
    
    * Finish work bringing orjson to JSON-LD Graph Parser
    Add orjson to sparql-results-json parser, and sparql-results-json serializer
    Tangential fixes to all the other non-json SPARQL-Results serializers
    Adding better typing to all SPARQL-Results Serializers.
    Got 7 ignored tests passing for SPARQL-Results Serializers.
    
    * If its known, get FileInputSource encoding from the source itself for JSON-LD Parser.
    
    * Fix MyPy complaint in JSON-LD parser caused by reusing a variable name after it already has a type associated.
    
    * Add orjson support to the newly merged HTMLJSONParser.
    
    * MyPy typing fixes, Black Fixes, and Ruff linting fixes for orjson branch after resolving recent merge conflicts.
    
    * Add missing updated poetry.lock lockfile that is supposed to accompany the `orjson` pyproject addition.
    
    * The linter ignore-assignment-type suppressions aren't used when orjson is not installed throwing a mypy error, but they are needed when orjson is installed to prevent different mypy errors. So add additional unused-ignore suppressions.
    
    * Change internal usages of json serializer indent to 2, so that orjson and stdlib json outputs are the same for docs and comparison purposes.
    
    * Apply Black formatting to the test/ dir too.
    ashleysommer authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    9b3d8a4 View commit details
    Browse the repository at this point in the history
  4. build(deps-dev): bump ruff from 0.5.4 to 0.5.5 (RDFLib#2859)

    * build(deps-dev): bump ruff from 0.5.4 to 0.5.5
    
    Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.5.
    - [Release notes](https://github.com/astral-sh/ruff/releases)
    - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
    - [Commits](astral-sh/ruff@0.5.4...0.5.5)
    
    ---
    updated-dependencies:
    - dependency-name: ruff
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * give Ruff some more wiggle room so Dependabot doesn't need to widen the limit on every new version.
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Ashley Sommer <[email protected]>
    dependabot[bot] and ashleysommer authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    c48f698 View commit details
    Browse the repository at this point in the history
  5. We no longer want Dependabot to keep updating setuptools and types-se…

    …tuptools (RDFLib#2860)
    
    They are only used a couple of tests, there is no need to keep it always on the latest version.
    ashleysommer authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    418b73e View commit details
    Browse the repository at this point in the history
  6. build(deps-dev): bump pytest from 8.3.1 to 8.3.2 (RDFLib#2858)

    Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.1 to 8.3.2.
    - [Release notes](https://github.com/pytest-dev/pytest/releases)
    - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
    - [Commits](pytest-dev/pytest@8.3.1...8.3.2)
    
    ---
    updated-dependencies:
    - dependency-name: pytest
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    46695eb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e65136 View commit details
    Browse the repository at this point in the history
Loading