public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Allen Hewes <allen@decisiv.com>
To: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: RE: python-cryptography >= 3.4.0 and Rust
Date: Fri, 4 Feb 2022 15:28:10 +0000	[thread overview]
Message-ID: <MN2PR17MB39998CA7661B9F889C0C5AF4B8299@MN2PR17MB3999.namprd17.prod.outlook.com> (raw)
In-Reply-To: <c0a74a44-b1f4-c51a-ad12-b521063c20a8@gmail.com>

> -----Original Message-----
> From: Cygwin-apps <cygwin-apps-bounces+allen=decisiv.com@cygwin.com>
> On Behalf Of Marco Atzeri
> Sent: Friday, February 4, 2022 1:52 AM
> To: cygwin-apps@cygwin.com
> Subject: Re: python-cryptography >= 3.4.0 and Rust
>
> On 03.02.2022 23:11, Allen Hewes wrote:
> > Hi @all,
> >
> > I use Cygwin pretty much like Linux in/on my Windows machines. Meaning,
> I am not using it for POSIX reasons. I do like Cygwin a lot, I prefer Cygwin over
> WSL/WSL2.
> >
> > A PyPI package I wanted to use has a hard dependency on
> cryptography>=35.0.
> >
> > So I downloaded the Cygwin source for python-cryptography and got to
> work on updating it to 35.0.
> >
> > Welp, then the wheels came off. I am assuming that Cygwin's python-
> cryptography is still at 3.3.2 b/c of this Rust issue?
> >
>
> Hi Allen,
> it is correct. I released the last version that was still on C
>

It's still on C but the authors have been adding new features in Rust. They are using the Python Rust API bridge for the integration between the two.

> > Rust is making more in-roads into software I use frequently or like to use. Is
> there any efforts or discussions about getting Rust able to target Cygwin?
>
> Not that I aware of.
> We have already problem to update clang that is already behind.
>

Many of the shiny new sysadmin/sysutils are written in Rust or Go.

The reason why I brought up python cryptography and Cygwin is that the current version of python cryptography doesn't support OpenSSL 3 (AFAIK). Only the most recent cryptography does. At some point in the future, this will have to be addressed, wouldn't it (IMHO)? Python cryptography is fundamental in the Python ecosystem. Pythonistas who use Cygwin will need an update to cryptography. How can this happen?

> Rust and Go are purely wish, they both requires specific expertize and time.
>

...except for then those languages make in-roads into the bits/ecosystem that Cygwin has packaged/supported (for a long time in some cases). From what I can tell, these ecosystems think WSL/WSL2 is their "best effort" for Linux-y (or POSIX) on Windows.

> Feel free to work on it

Based on the conversation in rigrep (a Rust grepper), it sounds like it's a large amount of work that would not be accepted/entertained by upstream:
https://github.com/BurntSushi/ripgrep/issues/269

/allen

________________________________

Disclaimer Confidentiality Notice: This e-mail, and any attachments and/or documents linked to this email, are intended for the addressee and may contain information that is privileged, confidential, proprietary, or otherwise protected by law. Any dissemination, distribution, or copying is prohibited. This notice serves as a confidentiality marking for the purpose of any confidentiality or nondisclosure agreement. If you have received this communication in error, please contact the original sender.

  reply	other threads:[~2022-02-04 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 22:11 Allen Hewes
2022-02-04  6:52 ` Marco Atzeri
2022-02-04 15:28   ` Allen Hewes [this message]
2022-02-04 21:28     ` Marco Atzeri
2022-02-07  4:02       ` Allen Hewes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN2PR17MB39998CA7661B9F889C0C5AF4B8299@MN2PR17MB3999.namprd17.prod.outlook.com \
    --to=allen@decisiv.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).