Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ci for setuptools 72 #128

Merged
merged 1 commit into from
Jul 29, 2024
Merged

fix ci for setuptools 72 #128

merged 1 commit into from
Jul 29, 2024

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
28 checks passed
@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