You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like with setuptools 68.0.0 and pytest 7.4.0 test suite is failing with deprecation errors
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-packaging-0.12.3-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-jupyter-packaging-0.12.3-4.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra -m 'not network'============================= test session starts ==============================platform linux -- Python 3.8.17, pytest-7.4.0, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/jupyter-packaging-0.12.3configfile: pyproject.tomltestpaths: tests/plugins: mock-3.11.1, timeout-2.1.0timeout: 300.0stimeout method: signaltimeout func_only: Falsecollected 13 items / 14 errors==================================== ERRORS ====================================___________________ ERROR collecting tests/test_build_api.py ___________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_build_api.py:7: in <module> from jupyter_packaging.build_api import build_sdist, build_wheeljupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html___________________ ERROR collecting tests/test_build_api.py ___________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_build_api.py:7: in <module> from jupyter_packaging.build_api import build_sdist, build_wheeljupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html________________ ERROR collecting tests/test_core_functions.py _________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_core_functions.py:6: in <module> from jupyter_packaging.setupbase import npm_builder, wrap_installersjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html________________ ERROR collecting tests/test_core_functions.py _________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_core_functions.py:6: in <module> from jupyter_packaging.setupbase import npm_builder, wrap_installersjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html________________ ERROR collecting tests/test_datafiles_paths.py ________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_datafiles_paths.py:1: in <module> from jupyter_packaging.setupbase import get_data_filesjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html________________ ERROR collecting tests/test_datafiles_paths.py ________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_datafiles_paths.py:1: in <module> from jupyter_packaging.setupbase import get_data_filesjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html__________________ ERROR collecting tests/test_deprecated.py ___________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_deprecated.py:9: in <module> import jupyter_packaging.setupbase as pkgjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html__________________ ERROR collecting tests/test_deprecated.py ___________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_deprecated.py:9: in <module> import jupyter_packaging.setupbase as pkgjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html___________________ ERROR collecting tests/test_is_stale.py ____________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_is_stale.py:1: in <module> from jupyter_packaging.setupbase import is_stalejupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html___________________ ERROR collecting tests/test_is_stale.py ____________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_is_stale.py:1: in <module> from jupyter_packaging.setupbase import is_stalejupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html_____________________ ERROR collecting tests/test_main.py ______________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_main.py:1: in <module> from jupyter_packaging.__main__ import mainjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html_____________________ ERROR collecting tests/test_main.py ______________________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_main.py:1: in <module> from jupyter_packaging.__main__ import mainjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html_______________ ERROR collecting tests/test_utility_functions.py _______________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/doctest.py:547: in collect module = import_path(/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_utility_functions.py:6: in <module> import jupyter_packaging.setupbase as pkgjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html_______________ ERROR collecting tests/test_utility_functions.py _______________/usr/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func()/usr/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda> call = CallInfo.from_call(lambda: list(collector.collect()), "collect")/usr/lib/python3.8/site-packages/_pytest/python.py:536: in collect self._inject_setup_module_fixture()/usr/lib/python3.8/site-packages/_pytest/python.py:550: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module")/usr/lib/python3.8/site-packages/_pytest/python.py:315: in obj self._obj = obj = self._getobj()/usr/lib/python3.8/site-packages/_pytest/python.py:533: in _getobj return self._importtestmodule()/usr/lib/python3.8/site-packages/_pytest/python.py:622: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath)/usr/lib/python3.8/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name)/usr/lib64/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level)<frozen importlib._bootstrap>:1014: in _gcd_import ???<frozen importlib._bootstrap>:991: in _find_and_load ???<frozen importlib._bootstrap>:975: in _find_and_load_unlocked ???<frozen importlib._bootstrap>:671: in _load_unlocked ???/usr/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__)tests/test_utility_functions.py:6: in <module> import jupyter_packaging.setupbase as pkgjupyter_packaging/__init__.py:6: in <module> from .setupbase import * # noqajupyter_packaging/setupbase.py:44: in <module> from setuptools.command.develop import develop/usr/lib/python3.8/site-packages/setuptools/command/develop.py:8: in <module> from setuptools.command.easy_install import easy_install/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py:48: in <module> from setuptools.sandbox import run_setup/usr/lib/python3.8/site-packages/setuptools/sandbox.py:13: in <module> import pkg_resources/usr/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn(E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html=========================== short test summary info ============================ERROR tests/test_build_api.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_build_api.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_core_functions.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_core_functions.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_datafiles_paths.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_datafiles_paths.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_deprecated.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_deprecated.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_is_stale.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_is_stale.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_main.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_main.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_utility_functions.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...ERROR tests/test_utility_functions.py - DeprecationWarning: pkg_resources is deprecated as an API. See https://setu...!!!!!!!!!!!!!!!!!!! Interrupted: 14 errors during collection !!!!!!!!!!!!!!!!!!!============================== 14 errors in 3.30s ==============================
The text was updated successfully, but these errors were encountered:
Looks like with
setuptools
68.0.0 andpytest
7.4.0 test suite is failing with deprecation errorsThe text was updated successfully, but these errors were encountered: