[ANNOUNCEMENT] Test: python packages

Hamish McIntyre-Bhatty hamishmb@live.co.uk
Thu Jan 21 17:06:32 GMT 2021


On 21/01/2021 16:52, Marco Atzeri via Cygwin wrote:
> On 21.01.2021 17:37, Hamish McIntyre-Bhatty via Cygwin wrote:
>> On 21/01/2021 16:27, Marco Atzeri via Cygwin wrote:
>>> On 21.01.2021 17:18, Hamish McIntyre-Bhatty via Cygwin wrote:
>>>> On 19/01/2021 21:08, Marco Atzeri via Cygwin-announce via Cygwin
>>>> wrote:
>>>>> Several python packages have been uploaded as test
>>>
>
>>>
>>> it should pull python38-pylint
>>>
>>> $ cygcheck -l python38-pylint | grep bin
>>> /usr/bin/pylint3.8
>>> /usr/bin/epylint3.8
>>> /usr/bin/pyreverse3.8
>>> /usr/bin/symilar3.8
>>> /usr/bin/pylint
>>> /usr/bin/epylint
>>> /usr/bin/pyreverse
>>> /usr/bin/symilar
>>
>> Okay, just realised I was wrong about the shortcut, as I do have
>> /usr/bin/pylint3.6. My bad.
>>
>> However, it didn't pull python38-pylint in for me. An interesting thing
>> just happened when I opened setup again though: it says pending
>> operations are to remove "pylint" and install "python38-pylint". When I
>> told it I wanted to keep "pylint" I got a dependency issue, see attached
>> screenshot.
>>
>> In case it's helpful to know, I had the old "pylint" package installed
>> already and upgraded it to your test version.
>>
>> Hamish
>>
>
> on the setup.ini you can see
>
> -----------------------------------
> @ python38-pylint
> sdesc: "python code static checker"
> ...
> [test]
> version: 2.6.0-1
> ...
> depends2: python38, python38-astroid, python38-isort, python38-mccabe,
> python38-pytest, python38-toml
>
> obsoletes: pylint    <<<<<<
>
> build-depends: cygport
> --------------------------------
>
> install one and it will remove the other, also as they have
> the same content in this case

That makes sense, but that's not what happened here - it prompted to
remove "pylint" itself and install "python38-plint" but only after
running setup again after installing the new test "pylint" package.
Maybe I'm being a bit stupid but this seems like weird behaviour in
setup.exe - I would have expected it to do this when I asked to upgrade
"pylint" in the first place, or to automatically install
"python38-pylint" when I selected "pylint".

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/028bcc1b/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/028bcc1b/attachment.sig>


More information about the Cygwin mailing list