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

Python 3.12 support #248

Open
Timmeeh opened this issue Oct 16, 2023 · 1 comment
Open

Python 3.12 support #248

Timmeeh opened this issue Oct 16, 2023 · 1 comment

Comments

@Timmeeh
Copy link

Timmeeh commented Oct 16, 2023

Python 3.12 no longer installs setuptools into virtual environments. setuptools is still used by beautysh. Please consider removing the dependency on setuptools or adding it explicitly as a requirement. Similar cases python/cpython#95299.

https://github.com/lovesegfault/beautysh/blob/9845efc3ea3e86cc0d41465d720a47f521b2799c/beautysh/__init__.py#L349C3-L353C25

KyleKing added a commit to KyleKing/mdformat-mkdocs that referenced this issue Nov 3, 2023
KyleKing added a commit to KyleKing/mdformat-mkdocs that referenced this issue Nov 5, 2023
@reinout
Copy link

reinout commented Mar 8, 2024

Temporary workaround: use pre-commit's language_version to specify an older python version explicitly for this hook:

- repo: https://github.com/lovesegfault/beautysh
  rev: v6.2.1
  hooks:
    - id: beautysh
      language_version: "3.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

No branches or pull requests

2 participants