Re: rust and python

Marco Atzeri via Cygwin-apps <[email protected]> Mon, 5 Jan 2026 19:43:55 +0100
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
On 30/12/2025 20:02, Marco Atzeri wrote:
> On 30/12/2025 18:42, Jon Turney via Cygwin-apps wrote:
>> On 30/12/2025 11:49, Marco Atzeri via Cygwin-apps wrote:
>>> Hi Mantainers,
>>>
> 
>>>
>>> "python-cryptography" needed an additional package
>>> as the wheel files were NOT in a suitable format
>>>
>>> ./dist/cryptography-46.0.3-cp312-abi3-cygwin_86_64.whl
>>> ./dist/cryptography-46.0.3-cp39-abi3-cygwin_86_64.whl
>>>
>>> after installing the "python-maturin" packages the wheel files
>>> were correctly built
>>>
>>> ./dist/cryptography-46.0.3-cp312-abi3-cygwin_3_6_5_x86_64.whl
>>> ./dist/cryptography-46.0.3-cp39-abi3-cygwin_3_6_5_x86_64.whl
>>
>> Hmm... coincidentally, I was recently looking at this logic [1] which 
>> recognizes .whl filenames
>>
>> I'm not sure if the matching there is just ad-hoc, or what it means 
>> when python chooses to include the 'uname -r' ("kernel version") in 
>> the wheel filename.
>>
>> [1] https://cygwin.com/cgit/cygwin-apps/cygport/tree/cygclass/python- 
>> wheel.cygclass#n193
> 
> it is not just the file name. I patched cygport to bypass the issue
> but pip complained that the file was incorrect.
> 
> no clue why one cryptography has this issue and bcrypt no.
> 
> First time playing with rust for me.

I must have fooled myself with the WHL file names.
Pip was complaining only about the name; renaming file from
  "cygwin_86_64" to "cygwin_3_6_5_x86_64" seems to work

$ mv rpds_py-0.30.0-cp312-cp312-cygwin_86_64.whl 
rpds_py-0.30.0-cp312-cp312-cygwin_3_6_5_x86_64.whl

$ pip3.12 install rpds_py-0.30.0-cp312-cp312-cygwin_3_6_5_x86_64.whl
Processing ./rpds_py-0.30.0-cp312-cp312-cygwin_3_6_5_x86_64.whl
Installing collected packages: rpds-py
ERROR: pip's dependency resolver does not currently take into account 
all the packages that are installed. This behaviour is the source of the 
following dependency conflicts.
jsonschema 4.25.1 requires jsonschema-specifications>=2023.03.6, which 
is not installed.
jsonschema 4.25.1 requires referencing>=0.28.4, which is not installed.
Successfully installed rpds-py-0.30.0