From bc225557a5d7f266a4783c13cb3cd0aad09219bf Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 31 Oct 2022 08:19:25 +0100 Subject: Adjust warnings and changelog URLs for new pytest --- pytest.ini | 4 ++++ scripts/dev/changelog_urls.json | 1 - scripts/dev/misc_checks.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index d32746281..50682a2cc 100644 --- a/pytest.ini +++ b/pytest.ini @@ -91,4 +91,8 @@ filterwarnings = # https://github.com/HypothesisWorks/hypothesis/issues/3309 ignore:module 'sre_constants' is deprecated:DeprecationWarning ignore:module 'sre_parse' is deprecated:DeprecationWarning + # https://github.com/pytest-dev/pytest-bdd/issues/568 + ignore:The hookimpl pytest_.* uses old-style configuration options:pytest.PytestDeprecationWarning:pytest_bdd\.plugin + # https://github.com/pytest-dev/pytest-instafail/pull/26 + ignore:The hookimpl pytest_.* uses old-style configuration options:pytest.PytestDeprecationWarning:pytest_instafail faulthandler_timeout = 90 diff --git a/scripts/dev/changelog_urls.json b/scripts/dev/changelog_urls.json index b65db1ba1..5af1229ef 100644 --- a/scripts/dev/changelog_urls.json +++ b/scripts/dev/changelog_urls.json @@ -8,7 +8,6 @@ "mccabe": "https://github.com/PyCQA/mccabe#changes", "pytest-cov": "https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst", "pytest-xdist": "https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst", - "pytest-forked": "https://github.com/pytest-dev/pytest-forked/blob/master/CHANGELOG.rst", "pytest-xvfb": "https://github.com/The-Compiler/pytest-xvfb/blob/master/CHANGELOG.rst", "PyVirtualDisplay": "https://github.com/ponty/PyVirtualDisplay/commits/master", "execnet": "https://execnet.readthedocs.io/en/latest/changelog.html", diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py index 6759fc474..487672ea3 100644 --- a/scripts/dev/misc_checks.py +++ b/scripts/dev/misc_checks.py @@ -38,7 +38,7 @@ from scripts import utils from scripts.dev import recompile_requirements BINARY_EXTS = {'.png', '.icns', '.ico', '.bmp', '.gz', '.bin', '.pdf', - '.sqlite', '.woff2', '.whl'} + '.sqlite', '.woff2', '.whl', '.egg'} def _get_files( -- cgit v1.2.3-54-g00ecf