Skip to content

Conversation

@mina86
Copy link
Contributor

@mina86 mina86 commented Jan 28, 2025

cgi module has been removed in Python 3.13.
Remove the unused import so that the code runs.

@randomstuff
Copy link

There is another one (used as a fallback) in https://github.com/mankyd/htmlmin/blob/master/htmlmin/escape.py#L33

@mina86
Copy link
Contributor Author

mina86 commented Feb 19, 2025

I didn’t touch that one because it’s harmless on newer Pythons and it allows code to run on older Pythons.

@lemonyte
Copy link

lemonyte commented Mar 3, 2025

Hi, what's the status on this PR? Seems like a rather trivial fix to support 3.13.

Edit: I see the package hasn't been updated/maintained in 8 years. Perhaps we could contact the owner to ask if another maintainer can be appointed?

@randomstuff
Copy link

Perhaps we could contact the owner to ask if another maintainer can be appointed?

I have just sent sent an email to the maintainer.

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.

3 participants