Skip to content

Conversation

@lexdene
Copy link
Contributor

@lexdene lexdene commented Jul 29, 2024

setuptools 72.0.0, which released about 7 hours ago, has removed setuptools.command.test module.
ref: pypa/setuptools#4458, pypa/setuptools#4518, pypa/setuptools#4519

So I removed pytest from setup.py, and used a pytest command instead of python setup.py test.

fix:

Traceback (most recent call last):
  File "/home/runner/work/libmc/libmc/setup.py", line 12, in <module>
    from setuptools.command.test import test as TestCommand
ModuleNotFoundError: No module named 'setuptools.command.test'

@lexdene lexdene changed the title fix ci fix ci for setuptools 72 Jul 29, 2024
@lexdene lexdene marked this pull request as ready for review July 29, 2024 09:10
@lexdene lexdene merged commit b27448b into douban:master Jul 29, 2024
@lexdene lexdene deleted the fix_ci branch July 29, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant