-
Notifications
You must be signed in to change notification settings - Fork 61
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
ruamel PendingDeprecationWarning #145
Comments
Thanks I'll check it out.
…On Fri, 2 Apr 2021, 16:07 Bede Constantinides, ***@***.***> wrote:
Hi! I'm a huge fan of strictyaml, thank you for releasing and maintaining
it. Just FYI.
/Users/bede/conda/envs/konsteltest/lib/python3.9/site-packages/strictyaml/parser.py:280: PendingDeprecationWarning:
load will be removed, use
yaml=YAML(typ='unsafe', pure=True)
yaml.load(...)
instead
document = ruamelyaml.load(yaml_string, Loader=DynamicStrictYAMLLoader)
Python 3.9.2, abridged pip freeze:
ruamel.yaml==0.17.2
ruamel.yaml.clib==0.2.2
six==1.15.0
strictyaml==1.4.0
Does not replicate with ruamel.yaml==0.16.12
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#145>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOJKNNJGDQ6O2NXWJFRC3TTGXMU7ANCNFSM42I75VIA>
.
|
Also
My
|
Thanks for pointing it out. Will get to this tomorrow or day after.
…On Tue, Apr 13, 2021 at 1:11 AM cowlinator ***@***.***> wrote:
Also
venv\lib\site-packages\strictyaml\representation.py:270: PendingDeprecationWarning:
dump will be removed, use
yaml=YAML(typ='unsafe', pure=True)
yaml.dump(...)
instead
dumped = dump(self.as_marked_up(), Dumper=StrictYAMLDumper, allow_unicode=True)
My pip freeze returns
ruamel.yaml==0.17.4
strictyaml==1.4.0
...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOJKNJLLRVWVWCZBYBQ5XTTIOD3JANCNFSM42I75VIA>
.
|
It seems that it's not quite as simple as just putting in the suggested code. This might take a few more days. |
3 tasks
I'm getting the same error for a python 3.11 migration
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I'm a huge fan of strictyaml, thank you for releasing and maintaining it. Just FYI.
Python 3.9.2, abridged
pip freeze
:Does not replicate with
ruamel.yaml==0.16.12
The text was updated successfully, but these errors were encountered: