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

Add support for ruamel.yaml #287

Merged
merged 4 commits into from
Sep 30, 2019
Merged

Conversation

abergeron
Copy link
Contributor

Since ruamel.yaml merged the size_t fix after a couple of days (https://bitbucket.org/ruamel/yaml.clib/pull-requests/1/use-size_t-for-marks-in-cython-to-handle/diff) and PyYAML has apparently been "considering" a very similar fix for at least a month now: yaml/pyyaml#310, I believe it is in our best interest to possibly switch to ruamel.yaml in order to have a "fixed" version as soon as possible.

Also @ethancaballero and I did some runs using the python version of PyYAML and it is so slow that I consider it unusable for our purposes and therefore removed support.

@abergeron abergeron force-pushed the switch_yaml branch 7 times, most recently from a4aeb13 to c39920f Compare September 30, 2019 18:36
@abergeron
Copy link
Contributor Author

abergeron commented Sep 30, 2019

The CI install modifications are done and working now. I had to create a new conda env because ruamel.yaml is a conda dependency and breaks conda if you install it from pip in the root env.

@breuleux breuleux merged commit beb4057 into mila-iqia:master Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants