Summary
pulp-glue 0.39.1 and 0.39.2 declare pydantic<2.13,>=2.9.2 in pyproject.toml, but pydantic 2.13.x has been released and appears to be compatible. This upper bound is now blocking downstream RPM packaging that includes both pulp-glue 0.39.x and pydantic 2.13.x in the same repository.
Context
In the theforeman/pulpcore-packaging RPM repository, both pulp-glue 0.39.1 and pydantic 2.13.4 land in the same nightly staging repository. The pulp-glue RPM is built with pyproject_rpm_macros which generates Requires: python3.12-pydantic < 2.13 from the wheel metadata. This causes dnf repoclosure to fail:
package: python3.12-pulp-glue-0.39.1-1.el9.noarch
unresolved deps:
(python3.12dist(pydantic) < 2.13 with python3.12dist(pydantic) >= 2.9.2)
python3.12-pydantic < 2.13
Request
Please relax the pydantic upper bound to <2.14 (or <3.0 if upstream testing confirms broader compatibility) in the next pulp-glue release.
Workaround
Until a new pulp-glue release ships with a relaxed bound, the RPM spec is patching pyproject.toml in %prep:
sed -i 's/pydantic<2\.13/pydantic<2.14/g' pyproject.toml
Affected versions
pulp-glue 0.39.1 — pydantic<2.13,>=2.9.2
pulp-glue 0.39.2 — pydantic<2.13,>=2.9.2 (same constraint)
pydantic 2.13.4 — released, in use downstream
Summary
pulp-glue 0.39.1and0.39.2declarepydantic<2.13,>=2.9.2inpyproject.toml, butpydantic 2.13.xhas been released and appears to be compatible. This upper bound is now blocking downstream RPM packaging that includes bothpulp-glue 0.39.xandpydantic 2.13.xin the same repository.Context
In the theforeman/pulpcore-packaging RPM repository, both
pulp-glue 0.39.1andpydantic 2.13.4land in the same nightly staging repository. Thepulp-glueRPM is built withpyproject_rpm_macroswhich generatesRequires: python3.12-pydantic < 2.13from the wheel metadata. This causesdnf repoclosureto fail:Request
Please relax the pydantic upper bound to
<2.14(or<3.0if upstream testing confirms broader compatibility) in the nextpulp-gluerelease.Workaround
Until a new
pulp-gluerelease ships with a relaxed bound, the RPM spec is patchingpyproject.tomlin%prep:sed -i 's/pydantic<2\.13/pydantic<2.14/g' pyproject.tomlAffected versions
pulp-glue 0.39.1—pydantic<2.13,>=2.9.2pulp-glue 0.39.2—pydantic<2.13,>=2.9.2(same constraint)pydantic 2.13.4— released, in use downstream