Package Details: python-graph-tool 2.27-1

Git Clone URL: https://aur.archlinux.org/python-graph-tool.git (read-only)
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: 21
Popularity: 0.639888
First Submitted: 2013-11-24 19:22
Last Updated: 2018-06-28 15:23

Latest Comments

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

jg-you commented on 2018-08-13 21:42

graph-tool 2.27 has a bug that prevents the import of the draw submodule. The bug is already fixed in the git version of the module, but not in the latest release.

The bug is due to the use of a protected word ('async') as a variable name, on line 1185 and 1247 of src/graph_tool/draw/gtk_draw.py. Since the bug is so small, I suggest that a patch should be added to the PKGBUILD until there's an upstream fix.

Since its only a few lines, the patch is perhaps better done with sed. Here's a command that fixes it.

sed -i \
-e 's/async=False/sync=True/'\
-e "s/async \: bool (optional, default\: \`\`False\`\`)/sync \: bool (optional, default\: \`\`True\`\`)/"\
-e "s/If \`\`True\`\`, run/If \`\`False\`\`, run/"\
-e "s/if async\:/if sync\:/" $srcdir/graph-tool-$pkgver/src/graph_tool/draw/gtk_draw.py

akstrfn commented on 2018-06-18 12:09

Shouldn't boost be in makedepends and boost-lib in depends?

Also namcap shows that there is overlinking in almost all shared libraries i.e. W: Unused shared library. I have --as-needed in my makepkg ld_flags and graph tool has it in configure so I have no idea why.

Update: I tested and it looks like it works without boost and with boost-lib (as it should). I also got an error module 'gi' have no attribute 'require version' which I resolved by installing python-gobject.

count0 commented on 2018-06-18 09:52

@akstrfn Done.

akstrfn commented on 2018-06-18 08:23

@count0 you should also update .SRCINFO

count0 commented on 2018-06-17 09:39

@lahwaacz This has been fixed.

lahwaacz commented on 2018-06-17 08:15

The python3-numpy provides disappeared from the official repositories, so the dependency should be updated to python-numpy.

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/python-numpy&id=e0c1e445f6196a0bebeb1bc0a8e6c5ba479e7f9e

count0 commented on 2018-06-12 09:47

The compilation issue with GCC 8 has been fixed.

manuel.osdoba commented on 2018-06-10 12:32

If your PKGBUILD refers to python-graph-tool 2.26 and you already upgraded to use gcc 8.1.1 then you have to apply the patch https://git.skewed.de/count0/graph-tool/commit/9bd68ef9df7cadb2ca537037a425664ce14dc220.diff

Or you use my compiled packages https://drive.google.com/drive/folders/0B_2Um0ComJq7WUFGdGlRNTB4QW8

count0 commented on 2018-02-22 11:50

@cocconat If boost is updated, the package needs to be recompiled, there is no way around it.

This is not a bug, it is simply how shared libraries work.

cocconat commented on 2018-02-22 11:39

Hi, after boost update to 1.66.0 [1] the python module 'graph_tool' breaks:

ImportError: libboost_iostreams.so.1.63.0: cannot open shared object file

I tried to downgrade boost without success, I tried to update graph-tool, but no update available.

I don't want to disinstall and rebuild couse it requires hours of compilation and my ram prevent me from parallel compilation.

Please help

[1] https://www.archlinux.org/packages/?q=boost