deprecation warnings

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
testing-qa

Research direction

Start by running the tests around more/webassets/tests/conftest.py and more/webassets/tests/test_directives.py to reproduce the warning summary. Separate warnings originating in the repository from those under .tox/py37/site-packages, then determine which warnings can be addressed here; done means the in-scope deprecation warnings are no longer emitted.

Written by the indexing model from the issue text.

Description

=============================================== 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
Dominant language
Python
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.