Package Details: python-ffc 2019.1.0-2

Git Clone URL: (read-only, click to copy)
Package Base: python-ffc
Description: A compiler for finite element variational forms (stable).
Upstream URL:
Licenses: LGPL3
Conflicts: python-ffc-git
Submitter: sigvald
Maintainer: entshuld (Polly)
Last Packager: entshuld
Votes: 3
Popularity: 0.000000
First Submitted: 2018-01-08 14:04 (UTC)
Last Updated: 2021-10-13 19:53 (UTC)

Latest Comments

sigvald commented on 2019-11-21 16:41 (UTC)

@cpuheater: Sorry, I didn't notice that. I updated python-ffc and reverted dolfin.

cpuheater commented on 2019-11-20 22:31 (UTC)

@sigvald: It seems that python-ffc itself is not loadable without python-setuptools, given that the error happens at import ffc. Therefore as far as I can tell it would be more correct to attribute the dependency to this package. In any case, thanks for handling this!

sigvald commented on 2019-11-20 16:43 (UTC)

@cpuheater: Ah, I see. In that case I think the error is in the dolfin package, which also should have makedepends=('python-setuptools'). I update the dolfin package with this change.

cpuheater commented on 2019-11-20 10:17 (UTC)

Actually it turns out python-setuptools is needed as a run-time dependency too. Otherwise, for instance when building dolfin, the following happens:

  Traceback (most recent call last):

    File "/build/dolfin/src/dolfin-2019.1.0.post0/cmake/scripts/", line 22, in <module>
      import ffc
    File "/usr/lib/python3.8/site-packages/ffc/", line 17, in <module>
      import pkg_resources

  ModuleNotFoundError: No module named 'pkg_resources'

sigvald commented on 2019-04-11 16:00 (UTC)

Thank you and sorry for the late response @cpuheater. python-setuptools now added to makedepends.

cpuheater commented on 2019-02-12 11:45 (UTC)

Please add makedepends=('python-setuptools') to the PKGBUILD.

Otherwise the build fails with:

Traceback (most recent call last):
  File "", line 7, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'