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

Collections Deprecation Warning #202

Closed
jeoffridavis opened this issue Jul 10, 2018 · 4 comments
Closed

Collections Deprecation Warning #202

jeoffridavis opened this issue Jul 10, 2018 · 4 comments
Labels

Comments

@jeoffridavis
Copy link

Warning
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

Offending Code
In constructor.py , line 126:
if not isinstance(key, collections.Hashable):

@tirkarthi
Copy link

tirkarthi commented Sep 20, 2018

Relevant PR : #212

Thanks

@jfthuong
Copy link

jfthuong commented Jan 16, 2019

Relevant PR : #212

Thanks

And also #181 ... I guess everyone coming to this issue wants to report it. It's good ;)

@et304383
Copy link

Why isn't this fixed yet?

@perlpunk
Copy link
Member

Fixed by #181

jenisys added a commit to behave/behave that referenced this issue May 6, 2023
* Causes problems for Python >= 3.8 due to bundled YAML
  RELATED TO: collections.Hashable (DEPRECATED)
* Use invoke >= 1.7.0 (that fixes the problem)

SEE:

* https://www.pyinvoke.org/changelog.html
* yaml/pyyaml#202
jenisys added a commit to behave/behave that referenced this issue May 6, 2023
* Causes problems for Python >= 3.8 due to bundled YAML
  RELATED TO: collections.Hashable (DEPRECATED)
* Use invoke >= 1.7.0 (that fixes the problem)

SEE:

* https://www.pyinvoke.org/changelog.html
* yaml/pyyaml#202
zhwei820 pushed a commit to zhwei820/behave that referenced this issue Jan 8, 2024
* Causes problems for Python >= 3.8 due to bundled YAML
  RELATED TO: collections.Hashable (DEPRECATED)
* Use invoke >= 1.7.0 (that fixes the problem)

SEE:

* https://www.pyinvoke.org/changelog.html
* yaml/pyyaml#202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants