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: 23
Popularity: 0.877018
First Submitted: 2013-11-24 19:22
Last Updated: 2018-10-16 18:39

Latest Comments

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

count0 commented on 2018-10-16 18:41

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

jg-you commented on 2018-10-12 21:51

Release 2.27 no longer compiles (with up-to-date versions of GCC) due to the bug solved upstream in the development version https://git.skewed.de/count0/graph-tool/issues/509.

Fix available at: https://git.skewed.de/count0/graph-tool/commit/aa39e4a6b42d43fac30c841d176c75aff92cc01a

The PKGBUILD should be patched accordingly.

Running from git directly until then.

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