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

chore: Update build to support python 3.11 #296

Open
disaac opened this issue Jul 1, 2024 · 1 comment
Open

chore: Update build to support python 3.11 #296

disaac opened this issue Jul 1, 2024 · 1 comment

Comments

@disaac
Copy link
Collaborator

disaac commented Jul 1, 2024

  • Python 3.11 has deprecated the import statement used in the celery 4.4.7 installed vine five.py resulting in the following error.
five.py", line 364, in <module>
    from inspect import formatargspec, getargspec as _getargspec  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'formatargspec' from 'inspect' 
  • To work around this issue during development ensure you are using python 3.9.
  • See celery/celery PR-7879
@lardbit
Copy link
Owner

lardbit commented Jul 11, 2024

Yeah, we should upgrade to python 3.11. nefarious is currently built using python 3.9 (see the Dockerfile) which its EOL is 2025-10. So we do have some time.

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