Closed IL-William closed 9 months ago
https://github.com/InfuseAI/piperider/blob/276a0c5138a1a715e20aea50dad86aead078f5e3/piperider_cli/yaml/__init__.py#L5
Hi there, After installing piperider for the first time, I get the following ruaml issue
piperider
Looking at the specified file, I can see that the import is as follow
from ruamel.yaml import StreamTextType, StreamType, VersionType
This file was inserted from v0.38.0.
v0.38.0
I can see that it is specified that ruaml should be < 0.17.40.
ruaml
< 0.17.40
However, I had a look at ruamel repo using 0.17.40, and I can see it was already using from ruamel.yaml.compat
from ruamel.yaml.compat
This means that the import should be as follows
from ruamel.yaml.compat import StreamTextType, StreamType, VersionType
Alternatively, I don't know if the requested version should be downgraded to work as it is currently?
After manual modification, I can use piperider.
In the meantime, I'll use v0.37.1 as this file was not existing yet, and there is no issue currently with it.
v0.37.1
Hi @IL-William, Thanks for your feedback.
I have opened sc-32539 for internal tracking.
May be related to #912
Fixed in release v0.40.0
https://github.com/InfuseAI/piperider/blob/276a0c5138a1a715e20aea50dad86aead078f5e3/piperider_cli/yaml/__init__.py#L5
Hi there, After installing
piperider
for the first time, I get the following ruaml issueLooking at the specified file, I can see that the import is as follow
This file was inserted from
v0.38.0
.I can see that it is specified that
ruaml
should be< 0.17.40
.However, I had a look at ruamel repo using 0.17.40, and I can see it was already using
from ruamel.yaml.compat
This means that the import should be as follows
Alternatively, I don't know if the requested version should be downgraded to work as it is currently?
After manual modification, I can use
piperider
.In the meantime, I'll use
v0.37.1
as this file was not existing yet, and there is no issue currently with it.