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 fix to run webapp with python3.10 #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nicojmn
Copy link

@nicojmn nicojmn commented Jul 19, 2022

We have updated some lines of the code in libs/html.py and common/utils to make ictv work with python3.10. These changes are also compatible with version 3.6 for production.

@@ -224,11 +224,12 @@
XHTML support was contributed by Michael Haubenwallner.
'''
from __future__ import with_statement
from cgitb import html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this package will be deprecated in Python 3.11. Can you see if this can't be replaced by any Flask API ?

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

Successfully merging this pull request may close these issues.

2 participants