[ANNOUNCEMENT] Test: python packages

Hamish McIntyre-Bhatty hamishmb@live.co.uk
Thu Jan 21 16:18:34 GMT 2021


On 19/01/2021 21:08, Marco Atzeri via Cygwin-announce via Cygwin wrote:
> Several python packages have been uploaded as test
>
> idle38-3.8.7-1
> python38-3.8.7-1
> python38-devel-3.8.7-1
> python38-test-3.8.7-1
> python38-tkinter-3.8.7-1
>
> python36-astroid-2.4.2-1
> python37-astroid-2.4.2-1
> python38-astroid-2.4.2-1
>
> python36-isort-5.7.0-1
> python37-isort-5.7.0-1
> python38-isort-5.7.0-1
>
> python36-mccabe-0.6.1-1
> python37-mccabe-0.6.1-1
> python38-mccabe-0.6.1-1
>
> python36-pylint-2.6.0-1
> python37-pylint-2.6.0-1
> python38-pylint-2.6.0-1
>
> python36-pytest-benchmark-3.2.3-1
> python37-pytest-benchmark-3.2.3-1
> python38-pytest-benchmark-3.2.3-1
>
> python36-lazy-object-proxy-1.5.2-1
> python37-lazy-object-proxy-1.5.2-1
> python38-lazy-object-proxy-1.5.2-1
>
> python36-wrapt-1.12.1-1
> python37-wrapt-1.12.1-1
> python38-wrapt-1.12.1-1
>
> CYGWIN CHANGES
>
> As python2 is no longer supported
>
> https://devguide.python.org/devcycle/#end-of-life-branches
>
> the package are updated to include postinstall script that
> use "alternatives" to define for
>
>   /usr/bin/python
>
>   /usr/bin/python3
>   /usr/bin/idle3
>   /usr/bin/pydoc3
>
> a default to the highest package available.
>
> $ alternatives --display python
> python - status is auto.
>  link currently points to /usr/bin/python3.8
> /usr/bin/python3.7 - priority 37
> /usr/bin/python3.8 - priority 38
> /usr/bin/python3.6 - priority 36
> /usr/bin/python2.7 - priority 27
> Current `best' version is /usr/bin/python3.8.
>
> The following link are not provided anymore.
> /usr/bin/idle
> /usr/bin/pydoc
>
> The python3 package will pull python38 package.
>
> Rationale:
> https://www.python.org/dev/peps/pep-0394/
> In other systems as Debian
> /usr/bin/python is discouraged.
>
> As on Cygwin we have still several third packages depending on
> python2, the usage of alternatives should allow to manage
> until all are updated to python3
>
> DESCRIPTION
> Python is a programming language that lets you work quickly
> and integrate systems more effectively.
> Python is powerful... and fast; plays well with others;
> runs everywhere; is friendly & easy to learn; is Open.
>
> HOMEPAGE
> https://www.python.org/
>
> Regards
> Marco Atzeri

Thanks for packaging pylint Marco, should be very useful.

While things are mostly fine (I tested with 32-bit and 64-bit with
python36-pylint), I did notice a few things with the pylint packages:

1: The "pylint" package itself (the test package) doesn't install any of
the python3x-pylint packages - is this intentional?

2: There is no "pylint" or "pylint3" command available in the terminal
after install. Not a deal breaker as one can use "python3.x -m pylint
./file.py" but being able to run "pylint(3) ./file.py" is a nice
convenience feature :)

Hamish

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x87B761FE07F548D6.asc
Type: application/pgp-keys
Size: 3183 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20210121/9c98cf9f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://cygwin.com/pipermail/cygwin/attachments/20210121/9c98cf9f/attachment.sig>


More information about the Cygwin mailing list