Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python 3.12: ModuleNotFoundError: No module named 'setuptools' #1640

Closed
@hugovk

Description

@hugovk

ThePython 3.12 release candidate is out! 🚀

Call to action

We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.12 compatibilities during this phase, and where necessary publish Python 3.12 wheels on PyPI to be ready for the final release of 3.12.0.

See alsohttps://dev.to/hugovk/help-test-python-312-beta-1508/

Python 3.12.0 final will be released in one month:https://peps.python.org/pep-0693/


However, when adding 3.12 to the CI likehugovk@427164b, itfails with:

―――――――――――――――――――――― TestInstallation.test_installation ――――――――――――――――――――――self = <test.test_installation.TestInstallation testMethod=test_installation>rw_dir = '/tmp/test_installationo1a7a3rg'@with_rw_directorydeftest_installation(self,rw_dir):self.setUp_venv(rw_dir)        result= subprocess.run(            [self.pip,"install","-r","requirements.txt"],            stdout=subprocess.PIPE,            cwd=self.sources,        )self.assertEqual(0,            result.returncode,            msg=result.stderror result.stdoutor"Can't install requirements",        )        result= subprocess.run(            [self.python,"setup.py","install"],            stdout=subprocess.PIPE,            cwd=self.sources,        )>       self.assertEqual(0,            result.returncode,            msg=result.stderror result.stdoutor"Can't build - setup.py failed",        )E       AssertionError: 0 != 1 : Can't build - setup.py failedtest/test_installation.py:39: AssertionError----------------------------- Captured stderr call -----------------------------Traceback (most recent call last):  File"/home/runner/work/GitPython/GitPython/setup.py", line2, in<module>from setuptoolsimport setup, find_packagesModuleNotFoundError:No module named 'setuptools'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp