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

Compatibility with Python 3.12 or 3.13? #1015

Open
tianhuil opened this issue Nov 22, 2024 · 5 comments
Open

Compatibility with Python 3.12 or 3.13? #1015

tianhuil opened this issue Nov 22, 2024 · 5 comments

Comments

@tianhuil
Copy link

It looks like invoke only works up to Python 3.11. Is there any interest in moving up to later version of python? This is a great project and I haven't found a replacement for it! Please maintain it.

@alwaysmpe
Copy link

What problem are you having? I'm using invoke on 3.13 without problems (although the type annotations need refining) so it at least partially works

@SnoopJ
Copy link

SnoopJ commented Dec 3, 2024

Not sure if there was a particular problem @tianhuil was having, but at the very least the classifier list and test environments do not go past Python 3.11 and should probably be updated to include those newer versions.

@sandeep-gh
Copy link

i am having this issue with python 3.12:

from patchwork.files import exists
  File "/home/kabira/Development/cloudworks-monallabs/patchwork/patchwork/files.py", line 7, in <module>
    from invoke.vendor import six
ImportError: cannot import name 'six' from 'invoke.vendor' (/home/adming/Execution/cloudworks/venv/lib/python3.12/site-packages/invoke/vendor/__init__.py)

@alwaysmpe
Copy link

alwaysmpe commented Jan 16, 2025

@sandeep-gh that looks like a version problem, the main branch of invoke doesn't vendorize six, so you might need to get a different version of invoke, either one provided by the project you're using or an older version, or update the project you're using

@sandeep-gh
Copy link

yes, my bad. Its the patchwork module that has not been updated and is causing the problem.

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

4 participants