Of course the swh-scrubber package fails to build, because swh-graph hasn't built in Debian for ages, and the swh-scrubber tests depend on a recent version it. Sigh.
So, I've fixed the swh.graph Debian build (for version 2.1.2). I've fixed the pipeline for package updates to newer versions. I've triggered the update of the Debian package to 2.2.0 (which is the last version that has successfully built for PyPI, somehow).
looks like the staging package is not up to date in staging but the migration script of the v1.0.2 was applied on the database:
swh-scrubber=> select * from dbversion; version | release | description---------+-------------------------------+-------------------------------------------------------------------------------------------------------------- 1 | 2022-04-06 14:34:47.749172+00 | DB initialization 2 | 2022-05-30 16:09:08.853451+00 | Upgraded to version 2 using /usr/lib/python3/dist-packages/swh/scrubber/sql/upgrades/2.sql 3 | 2022-08-18 15:04:59.449096+00 | Upgraded to version 3 using /home/nicolasd/work/swh-environment/swh-scrubber/swh/scrubber/sql/upgrades/3.sql 4 | 2022-10-18 08:28:05.858321+00 | Upgraded to version 4 using /usr/lib/python3/dist-packages/swh/scrubber/sql/upgrades/4.sql 5 | 2023-03-28 13:04:10.350812+00 | Upgraded to version 5 using /usr/lib/python3/dist-packages/swh/scrubber/sql/upgrades/5.sql(5 rows)Time: 5.128 ms
scrubber0 ~ % apt list --upgradableListing... Donepython3-swh.core/unknown 2.22.0-1~swh1~bpo10+1 all [upgradable from: 2.21.3-1~swh1~bpo10+1]python3-swh.model/unknown 6.7.0-1~swh1~bpo10+1 all [upgradable from: 6.6.3-1~swh1~bpo10+1]python3-swh.scheduler/unknown 1.8.0-1~swh1~bpo10+1 all [upgradable from: 1.7.0-1~swh1~bpo10+1]python3-swh.scrubber/unknown 1.0.2-1~swh1~bpo10+1 all [upgradable from: 1.0.1-2~swh1~bpo10+1]python3-swh.storage/unknown 1.12.0-1~swh1~bpo10+1 all [upgradable from: 1.11.0-1~swh1~bpo10+1]
As the 1.0.2 version is only a fix on the migration script the package can be upgraded without impacts.
root@scrubber0:~# apt install python3-swh.scrubberReading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages will be upgraded: python3-swh.scrubber1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.Need to get 25.8 kB of archives.After this operation, 0 B of additional disk space will be used.Get:1 https://debian.softwareheritage.org buster-swh/main amd64 python3-swh.scrubber all 1.0.2-1~swh1~bpo10+1 [25.8 kB]Fetched 25.8 kB in 0s (783 kB/s)Reading changelogs... Done(Reading database ... 65769 files and directories currently installed.)Preparing to unpack .../python3-swh.scrubber_1.0.2-1~swh1~bpo10+1_all.deb ...Unpacking python3-swh.scrubber (1.0.2-1~swh1~bpo10+1) over (1.0.1-2~swh1~bpo10+1) ...Setting up python3-swh.scrubber (1.0.2-1~swh1~bpo10+1) ...
In production:
vsellier@scrubber1 ~ % apt info python3-swh.scrubberPackage: python3-swh.scrubberVersion: 1.0.2-1~swh1~bpo10+1