Skip to content

unittest.loader._FailedTest.suites fails with setuptools 82 due to missing pkg_resources #335

@loqs

Description

@loqs

Steps to reproduce:

$ git clone https://github.com/tarantool/tarantool-python.git
$ cd tarantool-python
$ make testdata
$ TEST_PURE_INSTALL=true python -m unittest test.suites
E
======================================================================
ERROR: suites (unittest.loader._FailedTest.suites)
----------------------------------------------------------------------
ImportError: Failed to import test module: suites
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
  File "/build/python-tarantool/src/tarantool-python/test/suites/__init__.py", line 8, in <module>
    from .test_schema import TestSuiteSchemaUnicodeConnection
  File "/build/python-tarantool/src/tarantool-python/test/suites/test_schema.py", line 8, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions