Page MenuHomeSoftware Heritage

Debian package python3-swh.graph.client
Closed, MigratedEdits Locked


This should only package the swh/graph/client and naive_client* modules (and their tests).

Event Timeline

ardumont changed the task status from Open to Work in Progress.Sep 1 2021, 3:16 PM
ardumont claimed this task.
ardumont triaged this task as Normal priority.
ardumont created this task.
ardumont moved this task from Backlog to in-progress on the System administration board.
  • Add 'has debian packaging branch' tag to the repository
  • Install hook to cascade the debian packaging build [1]
  • Ensure necessary ci jobs is installed to build package (already there)


root@tate:~# phabricator-setup-hook /srv/phabricator/repos/187 post-receive-swh-modules
/srv/phabricator/repos/187 already has a post-receive hook:
lrwxrwxrwx 1 phabricator phabricator 39 Aug 22  2019 post-receive -> ../../../hooks/post-receive-swh-modules


Packaging ok:

root@worker3:~# hostname -f
root@worker3:~# apt install python3-swh.graph.client
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
Suggested packages:
The following NEW packages will be installed:
  python3-psutil python3-swh.graph.client
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 183 kB of archives.
After this operation, 1,001 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 buster/main amd64 python3-psutil amd64 5.5.1-1 [166 kB]
Get:2 buster-swh/main amd64 python3-swh.graph.client all 0.5.0-1+swh1~bpo10+1 [16.6 kB]
Fetched 183 kB in 0s (6,498 kB/s)
Selecting previously unselected package python3-psutil.
(Reading database ... 61038 files and directories currently installed.)
Preparing to unpack .../python3-psutil_5.5.1-1_amd64.deb ...
Unpacking python3-psutil (5.5.1-1) ...
Selecting previously unselected package python3-swh.graph.client.
Preparing to unpack .../python3-swh.graph.client_0.5.0-1+swh1~bpo10+1_all.deb ...
Unpacking python3-swh.graph.client (0.5.0-1+swh1~bpo10+1) ...
Setting up python3-psutil (5.5.1-1) ...
Setting up python3-swh.graph.client (0.5.0-1+swh1~bpo10+1) ...
root@worker3:~# ipython3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
Type "copyright", "credits" or "license" for more information.

IPython 5.8.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import swh.graph.client
ardumont moved this task from in-progress to done on the System administration board.