Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graphviz requirement from <0.19,>=0.14 to >=0.14,<0.20 #38

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2021

Updates the requirements on graphviz to permit the latest version.

Changelog

Sourced from graphviz's changelog.

Version 0.19

Add PendingDeprecationWarning to calls using positional arguments that will be deprecated in a later version. The future API will allow from one to three positional arguments depending on the method or function. Keyword-only arguments where not around when this library was created. This signals dependents and in general users to start updating or pinning to the wanted version (or range). Crucially, this helps new users with a safer API that allows to avoid some common mistakes. Warnings reported in tests.

Add keyword-only outfile argument to .render() and stand-alone graphviz.render(). Allows to override the rendered output file name: .render(filename='spam.gv', outfile='spam.pdf') Allows to derive the format and the filename from the rendered outfile name: .render(outfile='spam.svg') Tries to infer default format from the outfile suffix. You can override by setting format explicitly. Warns with a graphviz.FormatSuffixMismatchWarning if there is a mismatch between given format and the inferred format from outfile suffix. Warns with a graphviz.UnknownSuffixWarning if format is given and outfile uses a suffix that cannot be mapped to a supported format.

Add graphviz.set_jupyter_format() to set the output format used by the Jupyter visualization of graphviz.Graph, graphviz.Digraph, and graphviz.Source (supported formats: 'svg', 'png', 'jpeg'). Replace _repr_svg_() internally with _repr_mimebundle_(include, exclude) returning a mimebundle {'image/svg+xml', '<?xml version=...'} by default. Adds support for IPython.display.display_png(). Adds support for IPython.display.display_jpeg(). PR [#150](https://github.com/xflr6/graphviz/issues/150) <https://github.com/xflr6/graphviz/pull/150>_ Christoph Boeddeker.

Add keyword-only raise_if_result_exists argument to .render() and stand-alone graphviz.render(). Raises graphviz.FileExistsError if the rendered file already exists.

Add support to for .render() and stand-alone .render() to overwrite the input source file with the rendered output when using the outfile keyword-only argument. This probably only makes sense for text-based Graphviz formats such as dot or plain. You need to specify overwrite_filepath=True to enable this.

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 29, 2021
@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2021

Codecov Report

Merging #38 (45ba9a7) into master (e31e8c4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           96        96           
  Branches        14        14           
=========================================
  Hits            96        96           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e31e8c4...45ba9a7. Read the comment docs.

@kinow
Copy link
Owner

kinow commented Nov 29, 2021

@dependabot rebase

Updates the requirements on [graphviz](https://github.com/xflr6/graphviz) to permit the latest version.
- [Release notes](https://github.com/xflr6/graphviz/releases)
- [Changelog](https://github.com/xflr6/graphviz/blob/master/CHANGES.rst)
- [Commits](xflr6/graphviz@0.14...0.19)

---
updated-dependencies:
- dependency-name: graphviz
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/graphviz-gte-0.14-and-lt-0.20 branch from 45ba9a7 to 418459d Compare November 29, 2021 04:14
@kinow kinow merged commit d31a9b2 into master Nov 29, 2021
@dependabot dependabot bot deleted the dependabot/pip/graphviz-gte-0.14-and-lt-0.20 branch November 29, 2021 04:16
@kinow kinow added this to the 0.9 milestone Dec 8, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants