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 warnings #10

Open
jugmac00 opened this issue Jan 20, 2021 · 1 comment
Open

deprecation warnings #10

jugmac00 opened this issue Jan 20, 2021 · 1 comment

Comments

@jugmac00
Copy link
Member

=============================================== warnings summary ===============================================
more/webassets/tests/conftest.py:7
  /home/jugmac00/Projects/more.webassets/more/webassets/tests/conftest.py:7: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture

more/webassets/tests/test_directives.py::test_webasset_environment
  /home/jugmac00/Projects/more.webassets/.tox/py37/lib/python3.7/site-packages/scss/types.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    from collections import Iterable

more/webassets/tests/test_directives.py: 154 warnings
  /home/jugmac00/Projects/more.webassets/.tox/py37/lib/python3.7/site-packages/scss/namespace.py:172: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
    argspec = inspect.getargspec(function)

more/webassets/tests/test_directives.py::test_webasset_environment
  /home/jugmac00/Projects/more.webassets/.tox/py37/lib/python3.7/site-packages/scss/selector.py:54: FutureWarning: Possible nested set at position 329
    ''', re.VERBOSE | re.MULTILINE)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
@jugmac00
Copy link
Member Author

The one deprecation warning in our source code was fixed, the others arise from https://github.com/Kronuz/pyScss/

There are even open pull requests to fix the deprecation warnings, but the project seems to go very slow.
Kronuz/pyScss#410

Nothing we can do at the moment.

Keeping the issue as open anyway.

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

1 participant