Skip to content

Incompatibility with setuptools v74.0.0 #451

@gutsytechster

Description

@gutsytechster
Traceback (most recent call last):
  File "/home/gutsytechster/Documents/work/bin/delivery-shub", line 13, in <module>
    import shub.tool
  File "/home/gutsytechster/Documents/work/.venv/lib64/python3.11/site-packages/shub/tool.py", line 57, in <module>
    command_module = importlib.import_module(module_path)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/gutsytechster/Documents/work/.venv/lib64/python3.11/site-packages/shub/deploy.py", line 10, in <module>
    import setuptools.msvc  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'setuptools.msvc'

https://github.com/pypa/setuptools/blob/v73.0.1/setuptools/msvc.py
https://github.com/pypa/setuptools/blob/v74.0.0/setuptools/msvc.py (file removed in v74)
pypa/setuptools@b4fb917

@cyberplant @kalessin found the root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions