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"

> Version 2.11.3 (our pkgsrc-current version) of py-pydantic's
> pyproject.toml file lists the following dependencies:
> 
> dependencies = [
>    'typing-extensions>=4.12.2',
>    'annotated-types>=0.6.0',
>    # Keep this in sync with the version in the `check_pydantic_core_version()` function:
>    'pydantic-core==2.33.1',
>    'typing-inspection>=0.4.0',
> ]
> 
> 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. If the tests pass, I assume the package works.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index