Relax ruamel.yaml dependency and support python 3.7#189
Relax ruamel.yaml dependency and support python 3.7#189mr-c merged 24 commits intocommon-workflow-language:masterfrom
Conversation
`ruamel.yaml<0.15.37` fails to install with python >= 3.7, as this works with `ruamel.yaml>0.15`, we should allow that to happen.
mr-c
left a comment
There was a problem hiding this comment.
Thanks! Can you add in the appropriate TravisCI and Appveyor, and setup.py classifiers changes too?
.travis.yml
Outdated
| - 3.4 | ||
| - 3.5 | ||
| - 3.6 | ||
| - 3.7 |
There was a problem hiding this comment.
This will fail, travis support for 3.7 requires some effort: 3.7 only works on xenial with sudo enabled; and 3.4 only works on trusty, see travis-ci/travis-ci#9815
Example: https://github.com/jdufresne/psycopg2/blob/a8b9c9971ea18d7581a8aba8cb3b5f336b33672b/.travis.yml
setup.py
Outdated
| 'setuptools', | ||
| 'requests >= 1.0', | ||
| 'ruamel.yaml >= 0.12.4, < 0.15', | ||
| 'ruamel.yaml >= 0.12.4', |
There was a problem hiding this comment.
How about changing that to < 0.16 in case there's another new version? (ruamel.yaml seems to be treating the minor version as if it were the major version...)
This only works with this configuration. See travis-ci/travis-ci#9815
|
Could someone with a windows machine debug the windows failures? I'm having difficulty debugging it on a windows virtual machine. |
|
I'm working on the appveyor side, something isn't right with TravisCI: https://travis-ci.org/common-workflow-language/schema_salad/jobs/404748729 |
|
Ah, that must be due to me using to specify the python versions. I hoped it would work correctly, but instead it seems to have triggered a bug in travis (reported at https://travis-ci.org/common-workflow-language/schema_salad/jobs/404748729#L1) |
|
^ I think you can get python 3.4 tested by using |
|
@ThomasHickman You are welcome to iterate on that in another PR 😭 |
ruamel.yaml<0.15.37fails to install with python >= 3.7, as this works withruamel.yaml>0.15, we should allow that to happen. See common-workflow-language/cwltool#822