Skip to content

Pytest RemovedInPytest4Warning Warning #100

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

Closed
orenhecht opened this issue Nov 10, 2018 · 2 comments
Closed

Pytest RemovedInPytest4Warning Warning #100

orenhecht opened this issue Nov 10, 2018 · 2 comments

Comments

@orenhecht
Copy link

Getting the following warning:

/usr/local/lib/python3.6/dist-packages/pytest_verbose_parametrize.py:20
  /usr/local/lib/python3.6/dist-packages/pytest_verbose_parametrize.py:20: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to
 deal with correctly.
  Please use node.get_closest_marker(name) or node.iter_markers(name).
  Docs: https://docs.pytest.org/en/latest/mark.html#updating-code
    if 'ids' not in markers.kwargs:
jcfr added a commit to jcfr/pytest-plugins that referenced this issue Mar 7, 2019
jcfr added a commit to jcfr/pytest-plugins that referenced this issue Mar 7, 2019
This commit fixes the following error:

  >           root_uri.append(request.getfuncargvalue('pyramid_server').uri)
  E           RemovedInPytest4Warning: getfuncargvalue is deprecated, use getfixturevalue

  pytest_webdriver.py:62: RemovedInPytest4Warning

See man-group#100
jcfr added a commit to jcfr/pytest-plugins that referenced this issue Mar 20, 2019
----
ci: Test against Python 3.7

----
ci: Skip Coveralls submission if COVERALLS_REPO_TOKEN env. var is empty

----
ci: Update circleci image to allow install of python 3.7
See https://circleci.com/docs/2.0/configuration-reference/#machine

----
pytest-server-fixture: Fix rethinkdb tests requiring rethinkdb < 2.4.0

The current implementation needs to be refactored to support the latest
release of rethinkdb-python package. See man-group#132

----
wheels: Generate universal wheels installable with both python 2.x and 3.x
See man-group#125

Fix DeprecationWarning warnings using "logger.warning()" function

----
pytest-virtualenv: Add virtualenv as install requirement. Fixes man-group#122

Remove requirement for pytest<4.0.0
See man-group#100

----
pytest-webdriver: Fix RemovedInPytest4Warning using getfixturevalue

This commit fixes the following error:

  >           root_uri.append(request.getfuncargvalue('pyramid_server').uri)
  E           RemovedInPytest4Warning: getfuncargvalue is deprecated, use getfixturevalue

  pytest_webdriver.py:62: RemovedInPytest4Warning

See man-group#100

----
pytest-verbose-parametrize: Add support for revamped marker infrastructure

This commit fixes tests failing with pytest > 4.0.0

----
pytest-verbose-parametrize: Fix integration tests to support pytest >= 4.1.0

This commit updates tests to support version of pytest with
pytest-dev/pytest@e9b2475e2 (Display actual test ids in `--collect-only`)

----
dist: Remove support for building and distributing *.egg files

Wheel is currently considered the standard for built and binary
packaging for Python

See https://packaging.python.org/discussions/wheel-vs-egg/

See man-group#125

----
VagrantFile: Install python 3.7 and initialize python 3.7 by default
jcfr added a commit to jcfr/pytest-plugins that referenced this issue Mar 20, 2019
----
ci: Test against Python 3.7

----
ci: Skip Coveralls submission if COVERALLS_REPO_TOKEN env. var is empty

----
ci: Update circleci image to allow install of python 3.7
See https://circleci.com/docs/2.0/configuration-reference/#machine

----
pytest-server-fixture: Fix rethinkdb tests requiring rethinkdb < 2.4.0

The current implementation needs to be refactored to support the latest
release of rethinkdb-python package. See man-group#132

----
wheels: Generate universal wheels installable with both python 2.x and 3.x
See man-group#125

Fix DeprecationWarning warnings using "logger.warning()" function

----
pytest-virtualenv: Add virtualenv as install requirement. Fixes man-group#122

Remove requirement for pytest<4.0.0
See man-group#100

----
pytest-webdriver: Fix RemovedInPytest4Warning using getfixturevalue

This commit fixes the following error:

  >           root_uri.append(request.getfuncargvalue('pyramid_server').uri)
  E           RemovedInPytest4Warning: getfuncargvalue is deprecated, use getfixturevalue

  pytest_webdriver.py:62: RemovedInPytest4Warning

See man-group#100

----
pytest-verbose-parametrize: Add support for revamped marker infrastructure

This commit fixes tests failing with pytest > 4.0.0

----
pytest-verbose-parametrize: Fix integration tests to support pytest >= 4.1.0

This commit updates tests to support version of pytest with
pytest-dev/pytest@e9b2475e2 (Display actual test ids in `--collect-only`)

----
dist: Remove support for building and distributing *.egg files

Wheel is currently considered the standard for built and binary
packaging for Python

See https://packaging.python.org/discussions/wheel-vs-egg/

See man-group#125

----
VagrantFile: Install python 3.7 and initialize python 3.7 by default
@jcfr
Copy link
Contributor

jcfr commented May 28, 2019

@eeaston This issue can now be closed. It was fixed in jcfr@abffd67#diff-608c200a11232b8a1fe71095f515b966

@eeaston
Copy link
Collaborator

eeaston commented May 28, 2019

Released in 1.7.0 - many apologies all for the delay in releasing to pypi.

@eeaston eeaston closed this as completed May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants