python-patterns icon indicating copy to clipboard operation
python-patterns copied to clipboard

Remove deprecated Python versions

Open cdorsman opened this issue 9 months ago • 9 comments

There are multiple references to Python versions that are officially EOL. And there is no support for newer versions yet.

cdorsman avatar Apr 23 '25 09:04 cdorsman

Hi. Where are the references to specific versions? In the linter?

faif avatar Apr 25 '25 14:04 faif

From the files I found:

python-patterns/blob/master/setup.cfg python-patterns/blob/master/setup.py (Python 2 and 2.7 is even mentioned) python-patterns/blob/master/.travis.yml python-patterns/blob/master/lint.sh python-patterns/blob/master/tox.ini

According to https://devguide.python.org/versions 3.8 is already deprecated and 3.9 is later this year.

cdorsman avatar Apr 25 '25 14:04 cdorsman

Good catch, thanks. Feel free to create a pull request to address this.

faif avatar Apr 25 '25 17:04 faif

Wel. I would love to. But.

It didn't occur to me at first, but there are two things I want to point out:

  • In the README there is something like "2.7" compatibility flag. Is this still a thing?

If not. It will means that the patterns need to be checked as well if this flag is still defined.

  • The possibility to replace setup.* with pyproject.toml. Bring the project right more up-to-date

I can still remove the old 3.8 and 3.9 out and include 3.10 to 3.13.

cdorsman avatar Apr 25 '25 18:04 cdorsman

There's no need for backwards compatibility. People who really want 2.x compatible code can checkout the legacy branch. Replacing the older with newer versions sounds good

faif avatar May 02 '25 21:05 faif

I have added a PR for solving the issue

cdorsman avatar May 03 '25 13:05 cdorsman

Hey, just check out my PR, resolving this issue and also various other issues.

PraveenMudalgeri avatar Jul 30 '25 02:07 PraveenMudalgeri

hlo i have liked your project please assign me this issue

KubanjaElijahEldred avatar Oct 17 '25 23:10 KubanjaElijahEldred

Hi,

Thanks for the interest. I think that this is already addressed. Can you still find references to EOL versions?

faif avatar Oct 19 '25 15:10 faif