veekun / pokedex

more than you ever wanted to know about Pokémon
MIT License
1.44k stars 637 forks source link

Update python-markdown #369

Open giginet opened 1 year ago

giginet commented 1 year ago

This PR is the same submitted to a forked repository. https://github.com/PokeAPI/pokedex/pull/113


I'd like to run pokedex on macOS with Apple Silicon. However, the old python-markdown doesn't support building for M1 chips.

I updated python-markdown for the latest version.

markdown.util.etree is deprecated on 3.2. According to the official documentation, use xml.etree.ElementTree instead. https://python-markdown.github.io/change_log/release-3.2/#markdownutiletree-deprecated
latest python-markdown doesn't support ancient Pythons. So I dropped 2.7 support. Python 2.x is no longer supported officially.