Skip to content

Bump prov from 1.5.1 to 3.2.3 - #112

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/prov-3.2.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/prov-3.2.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps prov from 1.5.1 to 3.2.3.

Release notes

Sourced from prov's releases.

3.2.3 is a bug-fix release that also warns about input 3.3.0 rejects or reads differently. No dependency or Python-floor changes; one additive class, prov.model.ProvFutureRejectionWarning. In the PROV-JSON read benchmark, the new checks make reading about 8% slower than in 3.2.2.

Five kinds of fix change behaviour that existing code may rely on:

  • Some errors change type. An empty PROV-N namespace IRI raises ProvNSyntaxError, not ValueError (#512). A PROV-JSON formal attribute written as an empty array raises ProvJSONException, not IndexError. So does a time written as a value object that is not an xsd:dateTime, which raised AttributeError (#554)
  • A PROV-JSONLD value with both @id and @value, which read as the @value, now raises ProvJSONLDException (#545)
  • An ill-formed typed literal, such as "abc" %% xsd:int, stays a Literal instead of raising (#522)
  • unified() leaves alternateOf, specializationOf, mentionOf and hadMember records out of the merge by identifier, so equal ones stay two and differing ones no longer raise (#530). prov_to_graph() and prov_to_dot() draw such records as separate edges
  • The writers change their output for non-finite doubles (#550), a prefix named default (#518), default-namespace names containing : (#517) and xsi: names (#510)

Warnings ahead of 3.3.0

prov now emits ProvFutureRejectionWarning, a new subclass of ProvWarning, for input that 3.3.0 rejects or reads differently, and still reads that input as before. Each message ends with the issue that tracks the 3.3.0 rule, such as ([#529](https://github.com/trungdong/prov/issues/529)). The warnings cover:

  • PROV-N: a repeated default, a prefix name PROV-N does not allow, an xsi: name with no prefix xsi, whitespace PROV-N does not allow, an attribute named after one of the statement's arguments, and four strict-profile rules (#508, #509, #510, #511, #519, #523)
  • Any reader or code: timezone offsets beyond ±14:00, malformed language tags, local parts PROV-N cannot write, Python values with no PROV form, and qualified names that do not resolve or are full IRIs (#472, #482, #513, #516, #524, #553)
  • PROV-JSON: repeated keys, malformed times, one-element arrays, nulls, names that are not strings, unknown value-object keys, a $ that is not a string, undeclared datatypes, and full IRIs as names (#528, #529, #531, #532, #551, #552, #555, #597)
  • unified(): an empty non-expandable position merged with a filled one (#547)

Prepare for prov 3.3.0 lists every message, the input that triggers it and what to write instead. It also shows how to turn the warnings into errors to check a corpus.

Fixes

  • The PROV-JSONLD reader accepts a qualified name written as a node reference,

... (truncated)

Changelog

Sourced from prov's changelog.

Changelog archive (1.5.3 and earlier)

Releases before 2.0.0. For 2.0.0 and later, see the current changelog.

1.5.3 (2018-11-20)

  • Reorganised source code to /src
  • Added Python 3.7 support
  • Removed Python 3.3 support due to end-of-life
  • plus minor improvements and bug fixes

1.5.2 (2018-02-06)

  • Fixed association relation in RDF serialisation
  • Fixed compatibility with networkx 2.0+
Commits
  • f9fe019 Merge pull request #603 from trungdong/release/3.2.3
  • a12a51d release: 3.2.3
  • c0977b3 Merge pull request #602 from trungdong/docs/3.2.3-changelog-readability
  • 47556a0 docs: reword the PROV-N writer's %25 warning entry
  • 00b8cac docs: file #545 as its own behaviour change and restore the PROV-N writer's %...
  • 29b2e11 docs: summarise the 3.2.3 warnings and behaviour changes, and link to the how-to
  • 7018a3c docs: tighten the #522 and #530 behaviour-change bullets
  • 2ef6aed docs: add #554 to the 3.2.3 behaviour changes and rewrap the edited text
  • 1e8f842 docs: correct the rewritten 3.2.3 claims and list the behaviour changes
  • d450072 docs: make the 3.2.3 changelog and the 3.3.0 how-to easier to read
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
prov [>= 2.dev0, < 3]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prov](https://github.com/trungdong/prov) from 1.5.1 to 3.2.3.
- [Release notes](https://github.com/trungdong/prov/releases)
- [Changelog](https://github.com/trungdong/prov/blob/main/docs/changelog-archive.md)
- [Commits](trungdong/prov@1.5.1...3.2.3)

---
updated-dependencies:
- dependency-name: prov
  dependency-version: 3.2.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 27, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #113.

@dependabot dependabot Bot closed this Nov 30, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/prov-3.2.3 branch November 30, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants