feat(overrides): add pydantic-core and pydantic 2

Pydantic 2 uses hatchling as a build system. It depends on pydantic-core, which is written in Rust and needs Maturin to build. Pydantic-core defaults to wheel now.
This commit is contained in:
Jairo Llopis 2023-07-14 09:01:24 +01:00
parent 9e7d4b07a0
commit a4df25b29e
No known key found for this signature in database
GPG key ID: E47E3BE44B940490
2 changed files with 20 additions and 2 deletions

View file

@ -12519,8 +12519,22 @@
"setuptools"
],
"pydantic": [
"cython",
"setuptools"
{
"buildSystem": "cython",
"until": "2.0.0"
},
{
"buildSystem": "setuptools",
"until": "2.0.0"
},
{
"buildSystem": "hatchling",
"from": "2.0.0"
},
{
"buildSystem": "hatch-fancy-pypi-readme",
"from": "2.0.0"
}
],
"pydantic-dydb": [
"poetry-core"

View file

@ -1820,6 +1820,10 @@ lib.composeManyExtensions [
}
);
pydantic-core = super.pydantic-core.override {
preferWheel = true;
};
py-solc-x = super.py-solc-x.overridePythonAttrs (
old: {
preConfigure = ''