Add legacy-cgi for newer Python versions#1301
Conversation
|
Could you include python 13 in the cicd build system? |
|
Great! Thanks! Now we only need to update the readme https://github.com/PokeAPI/pokeapi/blob/master/README.md?plain=1#L36 and we can merge :) Thanks! |
|
My bad, I actually completely missed that when looking through things the other day! I thought that wasn't posted anywhere |
phalt
left a comment
There was a problem hiding this comment.
One minor then I'd be happy to merge this.
|
A PokeAPI/api-data refresh has started. In ~45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data. |
|
Thanks @jonbarrow ! |
As mentioned in #1300, this project is not currently usable by the latest versions of Python due to the Django version being a year and 2 major versions out of date. The version of Django currently used relies on the
cgimodule that was removed from Python in version 3.13I still believe that updating to the latest version of Django is the better long term fix, but for now adding
legacy-cgias dependency at least gets things rolling with no code changeI will leave the mentioned issue open as I still believe it is relevant and this to not be a "proper" fix for the mentioned issue(s), this is just meant to be a temporary work-around