-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add Python 3 to test matrix #29
Conversation
Matrix is configured in tox
I like to keep the matrix as it is easier to see which version fails. You might want to add the explicit environment instead, see: |
`tox` figures it out automatically from testenv prefix https://tox.wiki/en/latest/config.html#tox-environments
I added Python 3.10 to the |
This allows to run in generic environments, such as `py39` tox -e py39
Added |
#14 might have some useful things to work from. I only had one problem with that work, see comments. |
`create_*` functions return bytes https://github.com/pydot/pydot/blob/90936e75462c7b0e4bb16d97c1ae7efdf04e895c/src/pydot/core.py#L1685
Convert `bytes` to string before parsing def parse_graph(graph): result = {} > sio = StringIO(graph.create_plain()) E TypeError: initial_value must be str or None, not bytes
All Python 3 tests fixed. @fschulze this is ready for review. |
This removes Python matrix from actions workflow, because tested Python versions are configured in
tox.ini
.