tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-pydantic* dependencies



>>"Classic!"  No mention of what "rust stable" or "rust nightly"
>>actually is in terms of versions, and no mention of when this was
>>uttered.
>
> "stable" is released versions of rust.  "nightly" is the latest
> version of rust, built every day (hence the name), that also enables
> features that have not yet made it into stable rust.

Yes...  But eventually I expect that "nightly" features migrate
over to "stable".  And since neither of those are specified in
terms of actual version numbers, it's essentially impossible from
this to decide what the minimum supported rust version is for
this package.

Nosing around a bit in the py-pydantic-core package I find that
its Cargo.toml file has

rust-version = "1.75"

which by today's standard in the rust universe has already
managed to be "old".  Is this the MSRV?  I suppose this means
that any version >= 1.75 will do?

This points back to whoever wrote that README.md entry which
implicitly said "your rust version is (probably) too old, upgrade
to the most recent stable to ensure that it isn't" was lazy and
just pushed the user to needlessly upgrade when it possibly
wasn't needed for this particular package?

Best regards,

- Håvard


Home | Main Index | Thread Index | Old Index