digitalbazaar / digitalbazaar/pyld

Deprecate jsonld.parse_nquads

Open
#315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
683
Forks
138
Avg merge
2d 14h
Merged PRs (30d)
15

Description

With the integration of RDFLib, there's really no reason to keep parse_nquads besides backwards-compatibility, as one can use NQuadsParser() directly.

We could do the following:

  • mark parse_nquads as deprecated in 4.0.0
  • in later versions
    • remove parse_nquads OR
    • keep parse_nquads with to_legacy_dataset (no legacyMode) OR
    • keep parse_nquads and the old parser

Originally posted by @mielvds in https://github.com/digitalbazaar/pyld/pull/254#discussion_r3773910435

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the jsonld.parse_nquads entry point and the NQuadsParser implementation, then inspect related compatibility tests and versioning guidance. Confirm which of the proposed post-deprecation paths is intended, and consider the work done when the selected behavior is implemented with deprecation or removal coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.