[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [offlist] Re: Merging branches/swig-py3 to trunk

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Fri, 8 Nov 2019 01:39:46 -0500

Since you wrote "Any other opinions?" I assume you intended to send
this to the list... (My reply follows below.)

On Thu, Nov 7, 2019 at 5:31 AM Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:

> Nathan Hartman wrote on Tue, Nov 05, 2019 at 10:59:32 -0500:
> > Correct me if I'm wrong but I'm guessing that for downstream's
> > support/planning purposes, if Python 2.7 could be dropped at any
> > 1.14.x point release, isn't that basically equivalent to saying that
> > Python 2.7 isn't supported at all on 1.14? Because it means that an
> > update could break things at any time.
>
> Yes.
>
> > I'd be perfectly happy to write something like this in the release
> > notes:
> >
> > [[[
> >
> > Support for Python 3.x:
> >
> > Subversion's swig-py bindings and automated test suite now support
> > Python 3.x (and newer).
> >
> > Support for Python 2.7 is being phased out:
> >
> > As of 1 January 2020, Python 2.7 has reached end of life. This means
> > that Python 2.7 will no longer receive maintenance releases or
> > patches, even for security issues. All users are strongly encouraged
> > to move to Python 3.
> >
> > As Subversion 1.14 is a Long Term Support (LTS) release with planned
> > support until 2024, well beyond end-of-life for Python 2.7, the
> > Subversion developers cannot commit to supporting and testing with
> > Python 2.7 for the duration of this release, or to fix bugs that
> > affect Python 2.7 only.
> >
> > This means that although Subversion 1.14.0 still technically works
> > with Python 2.7, any later 1.14.x point release may drop this support
> > if it becomes too difficult to maintain.
> >
> > If you must continue using Python 2.7, our previous Long Term Support
> > release, Subversion 1.10, is supported until 2022. Python 2.7 support
> > will not be removed from Subversion 1.10.
> >
> > If you do not use the swig-py bindings, automated test suite, or other
> > Python-coded tools that ship with Subversion, this change does not
> > affect you.
> >
> > ]]]
>
> Sounds good to me, modulo language changes (s/to fix/to fixing/ and
> s/swig-py/SWIG Python/). Supporting py2 in 1.10 until 2022 is probably
> possible, at least for those of us who use LTS distros that will still
> be maintaining py2.7 then.
>
> Any other opinions?
>
> > But I get the feeling there will be objections.
> >
> > Bottom line: We need to reach some sort of consensus on this issue.
> > I've stated my opinion, but I'll be happy to go with whatever this
> > community decides makes the most sense.
>
> Cheers,
>
> Daniel
>
>
Thank you for those corrections.

In addition, I've tweaked it some more and I added a sentence at the
beginning to "introduce" Python, to avoid assuming knowledge.

Question: Some Python scripts have not been updated for Python 3.x
yet. Should those be listed in the release notes under "Known Issues"?
Should a bug be filed? Or both?

The updated text:

[[[

Support for Python 3.x:

Some optional features of Subversion utilize the Python scripting
language.

Subversion's SWIG Python bindings and automated test suite now support
Python 3.x (and newer).

Support for Python 2.7 is being phased out:

As of 1 January 2020, Python 2.7 has reached end of life. This means
that Python 2.7 will no longer receive maintenance releases or
patches, even for security issues. All users are strongly encouraged
to move to Python 3.

As Subversion 1.14 is a Long Term Support (LTS) release with planned
support into 2024, well beyond end-of-life for Python 2.7, the
Subversion developers cannot commit to supporting and testing with
Python 2.7, or to fixing bugs that affect Python 2.7 only, for the
duration of this support period.

This means that although Subversion 1.14.0 still technically works
with Python 2.7, any later 1.14.x point release may drop this support
if it becomes too difficult to maintain.

If you must continue using Python 2.7, our previous Long Term Support
release, Subversion 1.10, is supported until 2022. Python 2.7 support
will not be removed from Subversion 1.10.

Note that Subversion does not require Python for its basic operation.
If you are not using Subversion's SWIG Python bindings, automated test
suite, or other Python-coded tools that ship with Subversion, this
change does not affect you.

]]]

All thoughts / observations / criticisms welcome...

Kind regards,
Nathan
Received on 2019-11-08 07:40:04 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.