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.13 incompatability #991

Open
ausil opened this issue Aug 26, 2024 · 1 comment
Open

python 3.13 incompatability #991

ausil opened this issue Aug 26, 2024 · 1 comment

Comments

@ausil
Copy link

ausil commented Aug 26, 2024

According to https://docs.python.org/3.13/whatsnew/3.13.html

PEP 594: Remove the cgi and cgitb modules, deprecated in Python 3.11.

Traceback (most recent call last):
  File "/home/dennis/.local/bin/prusalink", line 5, in <module>
    from prusa.link.__main__ import main
  File "/home/dennis/.local/lib/python3.13/site-packages/prusa/link/__main__.py", line 29, in <module>
    from .daemon import Daemon  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dennis/.local/lib/python3.13/site-packages/prusa/link/daemon.py", line 10, in <module>
    from .printer_adapter import prusa_link
  File "/home/dennis/.local/lib/python3.13/site-packages/prusa/link/printer_adapter/prusa_link.py", line 26, in <module>
    from ..conditions import HW, ROOT_COND, UPGRADED, use_connect_errors
  File "/home/dennis/.local/lib/python3.13/site-packages/prusa/link/conditions.py", line 8, in <module>
    from poorwsgi import state
  File "/home/dennis/.local/lib/python3.13/site-packages/poorwsgi/__init__.py", line 24, in <module>
    from poorwsgi.wsgi import Application
  File "/home/dennis/.local/lib/python3.13/site-packages/poorwsgi/wsgi.py", line 24, in <module>
    from poorwsgi.request import Request, SimpleRequest
  File "/home/dennis/.local/lib/python3.13/site-packages/poorwsgi/request.py", line 9, in <module>
    from cgi import FieldStorage as CgiFieldStorage, parse_header
ModuleNotFoundError: No module named 'cgi'


@ausil
Copy link
Author

ausil commented Aug 26, 2024

I filed an issue in poorwsgi also PoorHttp/PoorWSGI#36

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

1 participant