This is mostly an internal change that should go unnoticed by most
users, especially those upgrading through pip or a software
distribution. import pydot should work as it did before.
Special cases:
import dot_parser no longer works. Change it to
from pydot import dot_parser or see if you can use the wrappers
pydot.graph_from_dot_data() or pydot.graph_from_dot_file().
USER FEEDBACK REQUESTED
We assume pydot users do not often directly import dot_parser.
If you do, please report your reasons, so that we can consider
making it available again before the final release of pydot 2.0:
pydot/pydot#230
If you use pydot from a (cloned) pydot source tree:
The pydot source modules moved from the top directory to
subdirectory src/pydot/.
When using a PYTHONPATH environment variable: Append /src,
e.g. PYTHONPATH=~/Development/pydot/src. If you need to switch
between pydot 1.x and pydot 2.x, add both, e.g.
PYTHONPATH=~/Development/pydot/src:~/Development/pydot
When using an editable install (development mode): Re-run
pip install -e . from the top directory of the source tree to
update the links.
For users of the test suite:
The test suite no longer refuses to run from the top of the
source tree.
This makes the test suite option --no-check redundant. It has
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 show 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)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Updates the requirements on pydot to permit the latest version.
Changelog
Sourced from pydot's changelog.
... (truncated)
Commits
85a756e
Preparing release 2.0.08e7b8de
fix output problems for non-default progs (#276)b450074
Update MANIFEST.in for better sdist contents (#307)e96bf9a
Prepare the 2.0.0 release (#305)c2187f1
Do not run tests forREADME.md
,LICENSE
, andChangeLog
changesf1355bf
Improve test clarity (#304)23f6105
Remove an unusedg
variable inpydot_unittest.py
(#298)5efc6cc
Update gitignore to contain test.svg and .DS_Store (#297)eabcff2
Fix multiple breaking issues from newpyparsing
versions (#296)803114c
Add workflow job to label PRs with conflicts (#303)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 show