Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python < 3.7 #350

Closed
sergeyklay opened this issue May 3, 2023 · 2 comments · Fixed by #371
Closed

Drop support for Python < 3.7 #350

sergeyklay opened this issue May 3, 2023 · 2 comments · Fixed by #371

Comments

@sergeyklay
Copy link
Member

sergeyklay commented May 3, 2023

I would like to propose dropping support for Python versions below 3.7 in our project. Active development of Python 3.6 ended over 6 years ago (22 December 2016), and since then, some of libraries that we use began to drop support of older Python versions, including Python 3.6.

Main problems of supporting Python < 3.7:

  • Outdated code: Supporting older Python versions may lead to the use of outdated and less optimal solutions.
  • Increased development and debugging time: Supporting older Python versions requires extra effort as we need to take into account the peculiarities of each supported version.
  • Library compatibility issues: Many modern libraries no longer support older Python versions, which may create difficulties in their usage and integration.
  • Missing new features: Older Python versions do not support some of the new features and improvements that have been introduced in more recent versions, such as f-strings, type annotations, data classes, and others.
  • Decreased performance: Supporting older Python versions may reduce the project's performance as some optimizations are only available in newer versions.
  • Complicated testing: Maintaining (including tricks with CI/CD, Docker support, and local testing) across exotic Python versions requires more time and resources.

Considering the aforementioned problems, it is recommended to drop support for Python versions below 3.7, which will allow us to improve code quality, speed up development, and reduce the risk of errors arising from the use of outdated features and libraries.

/cc @mikegeeves

@YOU54F
Copy link
Member

YOU54F commented May 3, 2023

rationale makes total sense, we will be dropping node 14 in pact js and pact js core as they went eol last week.

we’ve just been upgrading the ruby codebases for 3.2

checking python eol, python 3.7 drops support in 1 month and 3 weeks

https://endoflife.date/python

do we consider tabling that aswell, as part of this or a further motion.

i am all for supporting and advocating our users upgrading to the latest versions, i appreciate there are cases where they may not be able to, but as our tools are open source they can maintain older versions themselves if required

@sergeyklay
Copy link
Member Author

Yes, 3.7 will lose active support very soon. All I want from the resolution of this issue is to stop supporting at least 3.6. And we can get rid of 3.7 later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants