Package Details: python-graph-tool 2.79-1

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: LGPL3
Conflicts: python3-graph-tool
Provides: python3-graph-tool
Replaces: python3-graph-tool
Submitter: muellner
Maintainer: count0
Last Packager: count0
Votes: 29
Popularity: 0.000000
First Submitted: 2013-11-24 19:22 (UTC)
Last Updated: 2024-10-27 09:12 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 15 Next › Last »

michalT commented on 2019-06-25 11:59 (UTC)

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 (UTC)

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

jg-you commented on 2018-10-12 21:51 (UTC)

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 (UTC) (edited on 2018-08-14 02:29 (UTC) by jg-you)

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 (UTC) (edited on 2018-06-19 13:53 (UTC) by akstrfn)

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 (UTC)

@akstrfn Done.

akstrfn commented on 2018-06-18 08:23 (UTC)

@count0 you should also update .SRCINFO

count0 commented on 2018-06-17 09:39 (UTC)

@lahwaacz This has been fixed.

lahwaacz commented on 2018-06-17 08:15 (UTC)

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:48 (UTC)

The GCC compilation issue has been fixed.