diff --git a/CHANGES/554.bugfix b/CHANGES/554.bugfix new file mode 100644 index 000000000..d0cf5201a --- /dev/null +++ b/CHANGES/554.bugfix @@ -0,0 +1 @@ +Fixed syncing failing when using bandersnatch 5.3.0 diff --git a/pulp_python/app/tasks/sync.py b/pulp_python/app/tasks/sync.py index 8e19b6e2f..064f2e388 100644 --- a/pulp_python/app/tasks/sync.py +++ b/pulp_python/app/tasks/sync.py @@ -240,7 +240,7 @@ async def create_content(self, pkg): await self.python_stage.put(dc) - def finalize_sync(self): + def finalize_sync(self, *args, **kwargs): """No work to be done currently""" pass diff --git a/requirements.txt b/requirements.txt index e6c644912..8e3b588bc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ pulpcore>=3.17.0,<3.25 pkginfo~=1.8.2 packaging~=21.3 -bandersnatch~=5.0 +bandersnatch>=5.0.0,<5.4 pypi-simple~=0.9.0