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.  So translated, this means "your rust is probably out of
>> date, please update to whatever is the newest stable version,
>> irrespective of what you might have from before".  Not very helpful
>> for a package maintainer who tries to exactly specify dependencies
>> on tools etc.  But I digress...
>
> % grep rust-version work/devel/py-pydantic-core/work/pydantic_core-2.34.1/Cargo.toml
> rust-version = "1.75"

Thanks, yes, found that.  Perhaps the package should have

RUST_REQ+= 1.75

Not that it would make much of a difference, since that
particular rust version is now several pkgsrc branches old --
2024Q1 had 1.75 by the looks of it.

>> You'll probably note the "version of pydantic-core must be exactly
>> equal to 2.33.1" dependency.
>
> I've relaxed that by patching pyproject.toml.

Thanks!

> If the tests pass, I assume the package works.

I guess.  Personally I have trouble making "make test" work in
the py-pydantic package, but that may be due to ... version skew
in my pkgsrc installation.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index