Closed dvzrv closed 6 months ago
The errors seem to be about pydantic
being present, yet pydantic
was removed as a dependency in 7.2.0. My suspicion - you're using inflect 7.2 tests against an older inflect version.
I don't think there's anything this project can do. Please inspect your environment and report back if you think there's a defect this project can address.
The errors seem to be about pydantic being present, yet pydantic was removed as a dependency in 7.2.0.
I'm aware that there has been a change and I removed the dependency when I built 7.2.0, see: https://gitlab.archlinux.org/archlinux/packaging/packages/python-inflect/-/commit/802b67343696b0d846049d48bea0cd04edaceeaf
With 7.2.0-1 I had the following packages installed:
repod-file package inspect -Bp $PWD/python-inflect-7.2.0-1-any.pkg.tar.zst | jq -r '.installed[] |select(startswith("python"))'
python-3.11.8-1-x86_64
python-annotated-types-0.6.0-1-any
python-autocommand-2.2.2-4-any
python-build-1.2.1-1-any
python-fastjsonschema-2.19.1-1-any
python-importlib_resources-6.4.0-1-any
python-inflect-7.0.0-3-any
python-iniconfig-2.0.0-4-any
python-installer-0.7.0-4-any
python-jaraco.context-4.3.0-3-any
python-jaraco.functools-4.0.0-1-any
python-jaraco.text-3.12.0-1-any
python-more-itertools-10.2.0-1-any
python-ordered-set-4.1.0-4-any
python-packaging-23.2-1-any
python-platformdirs-4.2.0-1-any
python-pluggy-1.4.0-2-any
python-pydantic-2.6.4-1-any
python-pydantic-core-1:2.16.3-1-x86_64
python-pyproject-hooks-1.0.0-5-any
python-pytest-1:8.1.1-1-any
python-pytest-enabler-3.1.1-1-any
python-setuptools-1:69.0.3-4-any
python-setuptools-scm-8.0.4-1-any
python-toml-0.10.2-9-any
python-tomli-2.0.1-3-any
python-trove-classifiers-2024.3.25-1-any
python-typeguard-4.2.0-1-any
python-typing_extensions-4.10.0-1-any
python-validate-pyproject-0.13-1-any
python-wheel-0.43.0-1-any
python-zipp-3.17.0-1-any
As you can see, python-inflect is a circular dependency on itself for build requirements via python-inflect
-> python-jaraco.text
-> python-setuptools
and for test requirements via python-inflect
-> python-jaraco.itertools
-> python-zipp
-> python-importlib_resources
-> python-pytest-enabler
.
It therefore pulls in itself in an older version.
Hi! When upgrading the package on Arch Linux to 7.2.0 I ran into four failing tests:
python-inflect-7.2.0-1-x86_64-build.log python-inflect-7.2.0-1-x86_64-check.log