Re: [ITP] python-pycairo

Hamish McIntyre-Bhatty via Cygwin-apps <[email protected]> Mon, 18 May 2026 16:50:30 +0100
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
On 23/04/2026 22:26, Brian Inglis via Cygwin-apps wrote:
> On 2026-04-23 08:16, Hamish McIntyre-Bhatty via Cygwin-apps wrote:
>> Hi all,
>>
>> pycairo (https://pypi.org/project/pycairo/) is an optional dependency 
>> of wxPython, which I maintain, and as such I'd like to package it for 
>> Cygwin. This is more of a future-dependency, as pycairo no longer 
>> supports Python 3.9, which is the only Python version that the 
>> currently-built version of wxPython supports. As such, I'm just doing 
>> this in advance of needing it for wxPython 4.2.x
>>
>> The cygport file for this package is attached.
>>
>> pycairo is in various Linux distros: https://repology.org/project/ 
>> python%3Apycairo/versions
>>
>> I am currently unable to push to Cygwin's playground repository as 
>> noted in a reply to my last ITP, so I can't show that the package 
>> build succeeds that way unfortunately.
>
> Hi Hamish,
>
> Unless something has changed, as a maintainer, you should be able to 
> push like:
>
> #!/bin/sh
> # cyg-git-play-push-f.sh - git push Cygwin specific sources to 
> playground repo
>
> ssh=ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org/git/cygwin-packages 
>
>
> pkg=${1:-playground}
> ref=${2:-playground}
>
> git push --set-upstream $ssh/$pkg.git $ref -f 

python-pycairo is building now as well: 
https://github.com/cygwin/scallywag/actions/runs/26043666399

The Fedora spec is at: 
https://src.fedoraproject.org/rpms/pycairo/blob/rawhide/f/pycairo.spec

If there's nothing else to do, can we get this approved now?

Best,

Hamish