<#3388 Use setuptools&lt;82.0.0> Pull request open...
# flyte-github
a
#3388 Use setuptools&lt;82.0.0 Pull request opened by pingsutw ## Tracking issue NA ## Why are the changes needed? unit tests are failing
Copy code
/opt/hostedtoolcache/Python/3.12.12/arm64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/flytekit/unit/core/test_type_engine.py:24: in <module>
    from marshmallow_jsonschema import JSONSchema
/opt/hostedtoolcache/Python/3.12.12/arm64/lib/python3.12/site-packages/marshmallow_jsonschema/__init__.py:1: in <module>
    from pkg_resources import get_distribution
E   ModuleNotFoundError: No module named 'pkg_resources'
## What changes were proposed in this pull request? The issue was that setuptools 82.0.0 (the latest version) removed pkg_resources entirely. I downgraded to setuptools 69.5.1, which still includes it ## How was this patch tested? ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link flyteorg/flytekit