Skip to content

Drop support for EOL Python 2.7 and 3.5 #1606

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

Merged
merged 11 commits into from
Jul 14, 2022
Merged

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Jun 5, 2022

Fixes #1604.
Fixes #1596.

Done from #1604:

  • Run pyupgrade --py36-plus and flynt on all the code
  • Remove dependency on six and ipaddress packages
  • Update python_requires in setup.py to be >=3.6
  • Remove outdated classifiers from setup.py
  • Remove outdated versions from continuous integration configuration
  • Remove mentions of Python 2.7, 3.3, 3.4, 3.5 from docs/comments in the code
  • Bump version on main to be (8, 0, 0)

Also:

  • Remove unused mock backport (#1596)
  • Simplify collections.abc import
  • Remove universal wheel, only needed to support Python 2 and 3
  • Update Black target version

Not done from #1604:

  • Remove "required commit statuses" from the main branch protection rules -> admin task

Copy link
Contributor

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @hugovk!

@sethmlarson sethmlarson merged commit f7f85a5 into elastic:master Jul 14, 2022
@hugovk hugovk deleted the rm-eol branch July 14, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for Python 2.7 and 3.5 use unittest.mock instead of mock
2 participants