Skip to content

Conversation

@ulgens
Copy link
Contributor

@ulgens ulgens commented Nov 2, 2025

While coreapi tests were running for Python 3.12, they are being skipped for Python 3.13+. cgi is removed in Python 3.13, and coreapi import is failing because of the missing module.

module is no longer part of the Python standard library. It was removed in Python 3.13 after being deprecated in Python 3.11. The removal was decided in PEP 594.

https://docs.python.org/3/library/cgi.html

This PR adds legacy-cgi dependency for Python>=3.13

Old logs:

New logs:

The change enables 61 coreapi related tests.

> module is no longer part of the Python standard library. It was removed in Python 3.13 after being deprecated in Python 3.11. The removal was decided in PEP 594.

https://docs.python.org/3/library/cgi.html
@auvipy auvipy merged commit 26cf809 into encode:main Nov 3, 2025
7 checks passed
@ulgens ulgens deleted the enable-coreapi-tests-313-314 branch November 3, 2025 20:12
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