Package Details: python-graph-tool 2.33-2

Git Clone URL: https://aur.archlinux.org/python-graph-tool.git (read-only, click to copy)
Package Base: python-graph-tool
Description: A Python module for manipulation and statistical analysis of graphs
Upstream URL: https://graph-tool.skewed.de
Keywords: graphs networks science
Licenses: GPL3
Conflicts: python3-graph-tool
Provides: python3-graph-tool
Replaces: python3-graph-tool
Submitter: muellner
Maintainer: count0
Last Packager: count0
Votes: 28
Popularity: 0.28
First Submitted: 2013-11-24 19:22
Last Updated: 2020-06-26 13:32

Latest Comments

1 2 3 4 5 6 ... Next › Last »

user20159 commented on 2020-04-03 20:04

Just to give some figures: Building this with 8 threads required at the maximum around 35GB of RAM on my machine. Building with one thread maxed out at around 5-6GB. So PKGBUILD contains -j 1 for a reason :)

count0 commented on 2020-03-01 22:31

@LukeLR this is a bug in boost 1.72 in fact. The current version now has a simple workaround.

user20159 commented on 2020-02-25 09:13

There is an upstream bug filed for this at https://git.skewed.de/count0/graph-tool/issues/629. Any ideas?

user20159 commented on 2020-02-19 08:11

@count0 Thanks, I thought I hadn't upgraded any packages after compilation of python-graph-tool, but apparently I did a pacman -Syu without thinking about it.

However, when compiling now, I get the following error:

graph_cairo_draw.cc: In function ‘boost::python::api::object cairo_draw(graph_tool::GraphInterface&, boost::any, boost::any, boost::any, bool, boost::python::dict, boost::python::dict, boost::python::dict, boost::python::dict, double, int64_t, boost::python::api::object)’:
graph_cairo_draw.cc:1868:34: error: ‘CoroGenerator’ was not declared in this scope
 1868 |     return boost::python::object(CoroGenerator(dispatch));
      |                                  ^~~~~~~~~~~~~
In file included from graph_cairo_draw.cc:43:
/usr/lib/python3.8/site-packages/cairo/include/py3cairo.h: At global scope:
/usr/lib/python3.8/site-packages/cairo/include/py3cairo.h:268:1: warning: ‘int import_cairo()’ defined but not used [-Wunused-function]
  268 | import_cairo(void)
      | ^~~~~~~~~~~~
make[4]: *** [Makefile:582: graph_cairo_draw.lo] Error 1
make[4]: Leaving directory '/home/user/AUR/python-graph-tool/src/graph-tool-2.29/src/graph/draw'
make[3]: *** [Makefile:809: all-recursive] Error 1
make[3]: Leaving directory '/home/user/AUR/python-graph-tool/src/graph-tool-2.29/src/graph'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/home/user/AUR/python-graph-tool/src/graph-tool-2.29/src'
make[1]: *** [Makefile:599: all-recursive] Error 1
make[1]: Leaving directory '/home/user/AUR/python-graph-tool/src/graph-tool-2.29'
make: *** [Makefile:486: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Is it just me, or is there a compatibility issue with boost 1.72?

count0 commented on 2020-02-18 15:39

@LukeLR, this error just means you need to re-compile graph-tool after installing a new version of Boost.

user20159 commented on 2020-02-18 14:33

I have the recent version 1.72 of boost and boost-libs installed. However, import graph_tool fails with the following error:

>>> import graph_tool
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/graph_tool/__init__.py", line 114, in <module>
    dl_import("from . import libgraph_tool_core as libcore")
  File "/usr/lib/python3.8/site-packages/graph_tool/dl_import.py", line 61, in dl_import
    exec(import_expr, local_dict, global_dict)
  File "<string>", line 1, in <module>
ImportError: libboost_iostreams.so.1.71.0: cannot open shared object file: No such file or directory

Shouldn't graph_tool therefore depend on boost-libs=1.71 instead? I have just submitted the package boost171 in AUR to fullfill this task. Using this package, graph_tool works. Or is there a better solution?

michalT commented on 2019-06-25 12:48

Great, thanks a lot

count0 commented on 2019-06-25 12:31

@michaIT This has been fixed now!

michalT commented on 2019-06-25 11:59

Compilation of graph-tool fails on GCC 9.1.0 in graph_blockmodel_dynamics_epidemics.lo. This bug was reported upstream as https://git.skewed.de/count0/graph-tool/issues/591 and solved by commit https://git.skewed.de/count0/graph-tool/commit/c3a5066bc256e5d7ed450f89b324e84eb42fb511

count0 commented on 2018-10-16 18:41

@jg-you Both issues have been patched. @akstrfn The dependencies have been fixed.