Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Python 3.13 support (i.e. need to migrate off of stdlib package cgi) #160

Closed
hartwork opened this issue Mar 12, 2024 · 1 comment · Fixed by #195
Closed

Python 3.13 support (i.e. need to migrate off of stdlib package cgi) #160

hartwork opened this issue Mar 12, 2024 · 1 comment · Fixed by #195

Comments

@hartwork
Copy link
Collaborator

This is the official messaging about it:

# pytest -v |& grep -A3 'warnings summary' | sed "s,${PWD},[..],"
=============================== warnings summary ===============================
hashin.py:10
  [..]/hashin.py:10: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

Let's get pull request #159 merged first, though.

@hartwork
Copy link
Collaborator Author

Update: Python 3.13 has been released.

# hashin --help
Traceback (most recent call last):
  File "/tmp/tmp.EWI8aI2WD6/venv/bin/hashin", line 5, in <module>
    from hashin import main
  File "/tmp/tmp.EWI8aI2WD6/venv/lib/python3.13/site-packages/hashin.py", line 10, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'

@hartwork hartwork changed the title Need to migrate off of stdlib package cgi for Python >=3.13 support some time Python 3.13 support (i.e. need to migrate off of stdlib package cgi) Oct 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant