pulp / pulp_deb

Debian repository plugin for Pulp (pulpproject.org)
GNU General Public License v2.0
61 stars 76 forks source link

Raise pulpcore requirement to 3.55+ #1101

Closed hstct closed 2 weeks ago

hstct commented 2 weeks ago

closes #1100

mdellweg commented 2 weeks ago

Oh, I think you are in for a search and replace session. e.g. artifacts_api_client is now pulpcore_bindings.ArtifactsApi.

I used this scriptlet:

find . -name "*.py" -exec sed -i \
-e 's/content_api_client/pulpcore_bindings.ContentApi/' \
-e 's/artifacts_api_client/pulpcore_bindings.ArtifactsApi/' \
-e 's/upstream_pulp_api_client/pulpcore_bindings.UpstreamPulpsApi/' \
\{\} +

But you need to adjust the fixture calling in the function headers by hand.