Drop support for Python 3.9 (EOL)#539
Drop support for Python 3.9 (EOL)#539jorenham wants to merge 1 commit intopydot:mainpydot/pydot:mainfrom
Conversation
|
Hi @jorenham, thanks for the PR. Edit: disregard the previous comment, this is the first time I saw the diff through the mobile app and got confused... Embarrassing! I'll look at this soon. |
The mobile app kinda sucks, so no worries :) |
|
First: There's a single commit here that mixes up style fixes (removal of trailing whitespace, at least) with functional changes. I don't mind the style fixes (in fact, they're always appreciated), but I do mind them not being in a separate commit. That aside, I'm not sure we want to do this. Pydot has traditionally had a policy of supporting older, even EOL, Python versions as long as there's meaningful demand for them. We're well aware 3.9 is EOL, in fact several Python 3.9 fixes were added AFTER it became EOL. As long as there's still significant Pydot download traffic on PyPi from Python 3.9 installs, it's worth (minimally) supporting. (And our support is minimal. We don't even Last I heard from @lkk7 regarding the PyPi stats, there was still a depressingly significant amount of Python 3.SEVEN traffic, to say nothing of 3.8 and 3.9. Until whatever Ubuntu LTS release shipped with Python 3.9 is itself EOL, there will still be a lot of demand. Because Ubuntu's LTS policies have ultimately proven more contagious than the GPL. |
Ah sorry, that wasn't intentional; it was just VSCode being "helpful". I'll revert it
If you publish a new pydot release that doesn't support those versions, then that doesn't mean that things will break for those that are still using the (very insecure) EOL Python versions; they just won't be able to use the latest pydot version; they probably wouldn't even notice. |
|
Oh and for context: My plan was to improve type annotation coverage of pydot. Doing so would be significantly easier if we don't have to take these EOL Python versions into account, because then we'd be able to use the fancy And to be clear; if you really don't want to drop these Python versions, then that's not a deal-breaker for me or anything. I just figured that it's something you'd wanted to do anyways 🤷. |
|
Thoughts @ferdnyc? |
Python 3.9 Eind of life was at 2025-10-31 (https://devguide.python.org/versions/). This drops support for
python<3.10, and removes the relevant code paths.