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

Deprecation warining #21

Closed
thmxv opened this issue Aug 9, 2018 · 1 comment
Closed

Deprecation warining #21

thmxv opened this issue Aug 9, 2018 · 1 comment

Comments

@thmxv
Copy link

thmxv commented Aug 9, 2018

I get the following deprecation warning

/usr/lib/python3.7/site-packages/pathspec/pathspec.py:27: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
self.patterns = patterns if isinstance(patterns, collections.Container) else list(patterns)

@cpburnz
Copy link
Owner

cpburnz commented Aug 14, 2018

This is now fixed. It will use collections.abc where it's available (Python 3.3+), and fallback to collections for 2.6-3.2.

bors bot added a commit to rehandalal/therapist that referenced this issue Aug 14, 2018
27: Update pathspec to 0.5.7 r=rehandalal a=pyup-bot


This PR updates [pathspec](https://pypi.org/project/pathspec) from **0.5.6** to **0.5.7**.



<details>
  <summary>Changelog</summary>
  
  
   ### 0.5.7
   ```
   ------------------

- -Issue 21`_: Fix collections deprecation warning.

.. _`Issue 21`: cpburnz/python-pathspec#21
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pathspec
  - Changelog: https://pyup.io/changelogs/pathspec/
  - Repo: https://github.com/cpburnz/python-path-specification
</details>



Co-authored-by: pyup-bot <[email protected]>
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

No branches or pull requests

2 participants