question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ruamel PendingDeprecationWarning

See original GitHub issue

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
strictyaml==1.4.0

Does not replicate with ruamel.yaml==0.16.12

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
crdoconnorcommented, Apr 13, 2021

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 https://github.com/crdoconnor/strictyaml/issues/145#issuecomment-818323125, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOJKNJLLRVWVWCZBYBQ5XTTIOD3JANCNFSM42I75VIA .

1reaction
crdoconnorcommented, Apr 2, 2021

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 https://github.com/crdoconnor/strictyaml/issues/145, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOJKNNJGDQ6O2NXWJFRC3TTGXMU7ANCNFSM42I75VIA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to enable testing for DeprecationWarning and ...
For ruamel.yaml this means that all the module level imports of ruamel.yaml in the test files need to be moved to methods/functions; ...
Read more >
ruamel PendingDeprecationWarning - - Bountysource
Coming soon: A brand new website interface for an even better experience!
Read more >
Basic Usage — Python YAML package documentation
Basic Usage¶. You load a YAML document using: from ruamel.yaml import YAML yaml ...
Read more >
Release notes — conda 22.11.1.post14+4f2f30268 ...
Add a pending deprecation warning for when importing tqdm from conda._vendor . (#12005). Drop ruamel_yaml and ruamel_yaml_conda in favor of ruamel.yaml .
Read more >
setup.cfg · master · Bliss / bliss · GitLab
ruamel.yaml. 64. scipy. 65. silx >=1.1.1. 66. simple-pid. 67. sortedcontainers ... ignore::PendingDeprecationWarning.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found