Python - plan & execution

Marco Atzeri marco.atzeri@gmail.com
Mon May 25 05:02:30 GMT 2020


On 10.04.2020 14:52, Marco Atzeri wrote:
> Am 26.03.2020 um 08:19 schrieb Yaakov Selkowitz:
>> On Thu, 2020-03-26 at 06:54 +0100, Marco Atzeri via Cygwin-apps wrote:
>>> Am 20.03.2020 um 04:47 schrieb Yaakov Selkowitz:
> 
>>
>> I would suggest the following:
>>
>> * python2-2.7.z continues to provide all '2' symlinks.
>>
>> * python38 be updated to 3.8.2, and 3.8 be designated the next default
>> 'python3' version (with the '3' symlinks continued to be kept
>> separate), and adjust python-wheel.cygclass accordingly.
>>
>> * Similarly, a separate package (in Fedora it's called 'python-
>> unversioned-command') provide unversioned symlinks, pointing to 2.7 for
>> now (for compatibility).

I do not found a package called python-unversioned-command
on fedora

https://apps.fedoraproject.org/packages/s/python-unversioned-command
page is empty

and google seems suggest only discussion on the matter

>>
>> * Anything currently dependent on 'python' or 'python2' should either
>> be dropped if no longer needed, switched to 3 is possible, otherwise
>> rebuilt.
>>
>> * Drop 2.7 from the "default" version set in python-wheel.cygclass, and
>> only build those modules that are actually needed by other things by
>> specifying "all".
>>
>> * Once that's done, look at what's still depending on /usr/bin/python
>> ('python-unversioned-command'), and based on that decide when that can
>> be changed to point to python3.
>>
>> HTH,
>>
>> -- 
>> Yaakov

> first steps done:
> - updated 3.8 to 3.8.2
> - updated 3.7 to 3.7.7
> - updated also their python doc
> - upload of all of them is in progress
> 
> next steps:
> - I assume we can drop 3.5
> - for the time being no need to update 2.7 and 3.6
>    (we are just one version behind)
> 
> - verify which python packages we need to build/rebuild
> 
> currently we have
> 
> 119 *python27*
> 114 *python36*
> 115 *python37*
> 10  *python38*
> 
> and ~ 225 other *python* packages (plus 10 for python35)
> 
> - verify the fedora python-unversioned-command
> 
> 
> Regards
> Marco


what will be the drow back to use alternative to manage

/usr/bin/python and /usr/bin/python3 ?

we can put priorities for python as  2.7 3.8 3.7 3.6
and for python3 as 3.8 3.7 3.6

and rebuild python3 as empty package that pulls 3.6 (or 3.7 ?) now and 
3.8 in future

Regards
Marco






More information about the Cygwin-apps mailing list