From 5eed3c4b3dd7afa4ac9ee3691c97d63dc4d437c7 Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Wed, 22 May 2024 19:27:15 +0200 Subject: [PATCH] =?UTF-8?q?stack/slapos:=20v=E2=86=91=20setuptools-dso=20?= =?UTF-8?q?=202.9=20->=202.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With newer setuptools that is coming via https://lab.nexedi.com/nexedi/slapos/-/merge_requests/1550 (44.1.1 -> 67.8.0) we will need a fix from setuptools-dso 2.10 to handle `python setup develop` well: Previously with setutools-dso 2.9 and setuptools 67.8.0 built shared libraries were not copied back into the working tree upon develop install which made anything using pygolang to fail as e.g. $ ../bin/gpython Traceback (most recent call last): File ".../../bin/gpython", line 20, in sys.exit(gpython.main()) File ".../pygolang/gpython/__init__.py", line 456, in main pymain(argv, init) File ".../pygolang/gpython/__init__.py", line 223, in pymain init() File ".../pygolang/gpython/__init__.py", line 447, in init import golang File ".../pygolang/golang/__init__.py", line 41, in from golang._gopath import gimport # make gimport available from golang File ".../pygolang/golang/_gopath.py", line 65, in from golang import sync File ".../pygolang/golang/sync.py", line 36, in from golang._sync import \ ImportError: liblibgolang.so.0.1: cannot open shared object file: No such file or directory See https://github.com/mdavidsaver/setuptools_dso/pull/29#issuecomment-1745790761 and https://github.com/mdavidsaver/setuptools_dso/commit/2fdf75f2 for details. P.S. NOTE that changing version of a setup-egg required egg currently does _not_ force a rebuild. In other words pushing this change into testnodes won't make pygolang t o be rebuilt at all. I think this is simply a bug in slapos.buildout to fix. /reported-by @xavier_thompson /cc @jerome, @tomo, @kazuhiko /reviewed-on https://lab.nexedi.com/nexedi/slapos/-/merge_requests/1585 --- stack/slapos.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/slapos.cfg b/stack/slapos.cfg index 6f8228c31d..b909e4871a 100644 --- a/stack/slapos.cfg +++ b/stack/slapos.cfg @@ -303,7 +303,7 @@ scikit-learn = 0.20.4 seaborn = 0.7.1 Send2Trash = 1.5.0 setproctitle = 1.1.10 -setuptools-dso = 2.9 +setuptools-dso = 2.10 sgmllib3k = 1.0.0 simplegeneric = 0.8.1 singledispatch = 3.4.0.3