Title: Python 3.12: ModuleNotFoundError: No module named 'setuptools' · Issue #1640 · gitpython-developers/GitPython · GitHub
Open Graph Title: Python 3.12: ModuleNotFoundError: No module named 'setuptools' · Issue #1640 · gitpython-developers/GitPython
X Title: Python 3.12: ModuleNotFoundError: No module named 'setuptools' · Issue #1640 · gitpython-developers/GitPython
Description: The Python 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 whe...
Open Graph Description: The Python 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...
X Description: The Python 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...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1640
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python 3.12: ModuleNotFoundError: No module named 'setuptools'","articleBody":"The [Python 3.12 release candidate](https://discuss.python.org/t/python-3-12-0-release-candidate-1-released/31137?u=hugovk) is out! :rocket:\r\n\r\n\u003e ## Call to action\r\n\u003e \r\n\u003e 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.\r\n\r\nSee also https://dev.to/hugovk/help-test-python-312-beta-1508/\r\n\r\nPython 3.12.0 final will be released in one month: https://peps.python.org/pep-0693/\r\n\r\n\r\n---\r\n\r\nHowever, when adding 3.12 to the CI like https://github.com/hugovk/GitPython/commit/427164b56ac4dec10b7d3fea27e7485643550776, it [fails](https://github.com/hugovk/GitPython/actions/runs/6063520672/job/16450971945#step:7:333) with:\r\n\r\n\r\n```pytb\r\n―――――――――――――――――――――― TestInstallation.test_installation ――――――――――――――――――――――\r\n\r\nself = \u003ctest.test_installation.TestInstallation testMethod=test_installation\u003e\r\nrw_dir = '/tmp/test_installationo1a7a3rg'\r\n\r\n @with_rw_directory\r\n def test_installation(self, rw_dir):\r\n self.setUp_venv(rw_dir)\r\n result = subprocess.run(\r\n [self.pip, \"install\", \"-r\", \"requirements.txt\"],\r\n stdout=subprocess.PIPE,\r\n cwd=self.sources,\r\n )\r\n self.assertEqual(\r\n 0,\r\n result.returncode,\r\n msg=result.stderr or result.stdout or \"Can't install requirements\",\r\n )\r\n result = subprocess.run(\r\n [self.python, \"setup.py\", \"install\"],\r\n stdout=subprocess.PIPE,\r\n cwd=self.sources,\r\n )\r\n\u003e self.assertEqual(\r\n 0,\r\n result.returncode,\r\n msg=result.stderr or result.stdout or \"Can't build - setup.py failed\",\r\n )\r\nE AssertionError: 0 != 1 : Can't build - setup.py failed\r\n\r\ntest/test_installation.py:39: AssertionError\r\n----------------------------- Captured stderr call -----------------------------\r\nTraceback (most recent call last):\r\n File \"/home/runner/work/GitPython/GitPython/setup.py\", line 2, in \u003cmodule\u003e\r\n from setuptools import setup, find_packages\r\nModuleNotFoundError: No module named 'setuptools'\r\n```","author":{"url":"https://github.com/hugovk","@type":"Person","name":"hugovk"},"datePublished":"2023-09-03T09:01:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1640/GitPython/issues/1640"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c30e19fc-340c-ded3-d3f5-47c720898ee0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 804C:3196AE:27E7FA:3827AC:696915BA |
| html-safe-nonce | ad280fe56b29b3fc1e163bf34a08ed8cb439e8bf18ffc3a591ecaee54253c940 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDRDOjMxOTZBRToyN0U3RkE6MzgyN0FDOjY5NjkxNUJBIiwidmlzaXRvcl9pZCI6IjQ1MTM3NTY2MDQwMjM3NzI2MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a2dd0703ff33f2605cd0745b3e9aa8503913616e626cb46fdb974d3205ee6e9 |
| hovercard-subject-tag | issue:1879001541 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1640/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2d6ab77bcb21c179aa2eefc5716af50b27b347b632cc865c4e700c20dca1e09/gitpython-developers/GitPython/issues/1640 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2d6ab77bcb21c179aa2eefc5716af50b27b347b632cc865c4e700c20dca1e09/gitpython-developers/GitPython/issues/1640 |
| og:image:alt | The Python 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hugovk |
| hostname | github.com |
| expected-hostname | github.com |
| None | afd5814870f8609d217a32dd3bccc05a5df5f5699df4d458c242e80fdfddcc2e |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 572e69339f2401a569f15071214cbbee314ea8bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width