fralau / mkdocs-mermaid2-plugin

A Mermaid graphs plugin for mkdocs
https://mkdocs-mermaid2.readthedocs.io
MIT License
214 stars 26 forks source link

Setup Tools 72.0.0 breaks setup.py test #107

Closed aldman123 closed 2 months ago

aldman123 commented 2 months ago

https://setuptools.pypa.io/en/stable/history.html#v72-0-0

The recent release of setuptools 72.0.0 is causing issues downstream for several users. https://stackoverflow.com/questions/78806100/no-module-named-setuptools-command-test

However 72.0.0 seems to be yanked and undone, which might resolve the issue without changes needed from mkdocs-mermaid2-plugin. https://pypi.org/project/setuptools/72.0.0/#history

github-actions[bot] commented 2 months ago

Thank you for your contribution! This is very appreciated.

fralau commented 2 months ago

Thanks! Shouldn't it be possible to blacklist a version, so as not to change the code in the future?

e.g.:

setup(
    name="my_package",
    version="1.0.0",
    install_requires=[
        "requests >=2.0.0, !=2.3.4, !=2.4.0, !=2.4.1",
        # other dependencies...
    ],
    # other configuration options...
)
fralau commented 2 months ago

Closing per comment on PR #106