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

Remove support for py36 and py37 #1850

Merged
merged 1 commit into from
Feb 12, 2022
Merged

Remove support for py36 and py37 #1850

merged 1 commit into from
Feb 12, 2022

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Feb 4, 2022

As part of reduce testing complexity and getting ansible-lint in sync with ansible-core, we will require python_version>=3.8.

This change marks the start of 6.x and once is merged we will create a stable/5.x for the last comment before it. That branch will be used to backport changes needed for the older versions, at least until we can make a full release of 6.x.

One additional reason for making this move is a recent explosion of dependencies dropping support for py36 or even py37: pytest, coverage, pip-compile, tomli.

Please mark your support or lack of on this change as we are aware that it may upset some users that are still stuck on older platform as it will be harder for them to get bugfixes.

Related: ansible/molecule#3436

@ssbarnea ssbarnea added the major Used for release notes, requires major versioning bump label Feb 4, 2022
@ssbarnea ssbarnea added this to the 6.0.0 milestone Feb 4, 2022
@ssbarnea ssbarnea force-pushed the fix/v6 branch 3 times, most recently from 6bac5b4 to 23464e4 Compare February 5, 2022 07:57
@ssbarnea ssbarnea marked this pull request as ready for review February 5, 2022 07:57
@ssbarnea ssbarnea requested a review from a team as a code owner February 5, 2022 07:57
@ssbarnea ssbarnea requested review from relrod, ganeshrn, priyamsahoo, cidrblock, tadeboro, webknjaz and bcoca and removed request for a team February 5, 2022 07:57
@ssbarnea ssbarnea force-pushed the fix/v6 branch 2 times, most recently from 90bdbab to 398c0f9 Compare February 5, 2022 08:18
@webknjaz
Copy link
Member

webknjaz commented Feb 5, 2022

I think this change should add a config for Patchback, then. And maybe for cherry-pick too.

@ssbarnea
Copy link
Member Author

ssbarnea commented Feb 5, 2022

I think this change should add a config for Patchback, then. And maybe for cherry-pick too.

That could count as scope creeping. Anything that is not directly needed should go in follow-ups.

In fact, I suppose that backports will likely be done manually as I expect to see the codebase diverge.

@greg-hellings
Copy link
Contributor

+1 from me.

@ssbarnea ssbarnea force-pushed the fix/v6 branch 4 times, most recently from 2f3e17f to f425817 Compare February 12, 2022 11:51
As part of reduce testing complexity and getting ansible-lint in sync
with  ansible-core, we drop support for older python versions.

This change marks the start of `6.x` and once is merged we will
create a `stable/5.x` for the last comment before it. That branch
will be used to backport changes needed for the older versions, at
least until we can make a full release of 6.x.

One additional reason for making this move is a recent explosion
of dropping support for py36 and sometimes even py37 on other
dependencies, such pytest, coverage, pip-compile, tomli.
@ssbarnea ssbarnea merged commit fe5c4aa into ansible:main Feb 12, 2022
@ssbarnea ssbarnea deleted the fix/v6 branch February 12, 2022 12:07
ssbarnea added a commit to ansible/ansible-compat that referenced this pull request Feb 25, 2022
ssbarnea added a commit to ansible/ansible-compat that referenced this pull request Feb 25, 2022
ssbarnea added a commit to ansible/ansible-compat that referenced this pull request Feb 25, 2022
ssbarnea added a commit to ansible/ansible-compat that referenced this pull request Feb 25, 2022
ziegenberg added a commit to ziegenberg/ansible-lint that referenced this pull request Apr 29, 2022
PR ansible#1850 removed support for python 3.6 and python 3.7 so this
should be reflected in the package metadata for setuptools

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ziegenberg added a commit to ziegenberg/ansible-lint that referenced this pull request Apr 29, 2022
Since PR ansible#1850 removed support for python 3.6 and python 3.7
some special code paths can be now be removed.

This also allows updating some test and typing dependencies
which very pinned for python 3.6 and python 3.7 support.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
ssbarnea pushed a commit that referenced this pull request Apr 29, 2022
#2087)

Since PR #1850 removed support for python 3.6 and python 3.7
some special code paths can be now be removed.

This also allows updating some test and typing dependencies
which very pinned for python 3.6 and python 3.7 support.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Used for release notes, requires major versioning bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants