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 Python 3.6 Support #8518

Closed
wants to merge 1 commit into from
Closed

Drop Python 3.6 Support #8518

wants to merge 1 commit into from

Conversation

auvipy
Copy link
Member

@auvipy auvipy commented Jun 8, 2022

as python 3.6 is EOL

@auvipy
Copy link
Member Author

auvipy commented Jun 8, 2022

I can also drop un supported or EOL django versions either in this PR or in a separate one. it's the maintainers call

@wieczorek1990
Copy link
Contributor

Seems ok.

@auvipy auvipy mentioned this pull request Sep 9, 2022
@auvipy
Copy link
Member Author

auvipy commented Sep 9, 2022

@tomchristie boss O:)

@onegreyonewhite
Copy link
Contributor

@tomchristie does it really necessary in 3.14? You haven't updated any dependence which requires that. You haven't used any syntaxes which requires the dropping old version. It will create more problems for developers but there are no profits for you.

I hope you will make informed decision. Thank you🙏🏼

@adamchainz adamchainz changed the title drop python 3.6 Drop Python 3.6 Support Sep 9, 2022
@auvipy
Copy link
Member Author

auvipy commented Sep 9, 2022

Python 3.6 is EOL, it is not wise to continue using it.

@onegreyonewhite
Copy link
Contributor

onegreyonewhite commented Sep 9, 2022

Python 3.6 is EOL

OK. What's latest version of Python you can install to CentOS/RH 7 (which supports until 2024)?

It's not a wise to drop support without real need.

P.S.: django 2.2 EOL too. May be should cut it too?

@auvipy
Copy link
Member Author

auvipy commented Sep 10, 2022

you should not use the system python on the first place. and you can upgrade to centOS 8 as well. and django 2.2, 3.0, 3.1 etc should also should not be used as they reached EOL.

@auvipy
Copy link
Member Author

auvipy commented Sep 10, 2022

And you can use Pyenv for installing any non EOL python versions

@onegreyonewhite
Copy link
Contributor

And you can use Pyenv for installing any non EOL python versions

I think you've confused development tools with production delivery tools.
Bringing your own python into each system is a dumb idea.

Well, it's your decision, I understand.

@auvipy
Copy link
Member Author

auvipy commented Sep 10, 2022

I think you've confused development tools with production delivery tools.
Bringing your own python into each system is a dumb idea.

I understand how up to date you are.

@tomchristie
Copy link
Member

Thank you @auvipy. Reasonable suggestion, yup. 😌

We don't have a clear policy on which Python versions we support.
I'd suggest that we should simply follow whatever Django requires.

We then need to clarify what policy we have for "which versions of Django should we support?".

Here's what I'd propose...

  • We release new versions of REST framework twice a year. Same as for Django.
  • We aim each new release to arrive shortly after each Django release.
  • We always support the latest 5 Django releases.
  • We support whichever Python versions are required by Django.

Why "support the latest 5 Django releases"? Well, because I'd like it to always be a simple fixed number, and (unless I'm messing this up?) that's the lowest number we could pick that ensures we never drop a Django version that's still covered by their "extended support" policy.

release-roadmap 4cf783b31fbe

The implication for our upcoming 3.14 release is that we ought to support...

@auvipy
Copy link
Member Author

auvipy commented Sep 15, 2022

that would be a reasonable default policy

@tomchristie
Copy link
Member

Alrighty then, let's close this off (for now).

Thanks for your time on it @auvipy. Good to get to a sensible policy here.

@wieczorek1990
Copy link
Contributor

wieczorek1990 commented Oct 11, 2022 via email

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.

4 participants