Package Details: python-pyfftw 0.13.1-2

Git Clone URL: https://aur.archlinux.org/python-pyfftw.git (read-only, click to copy)
Package Base: python-pyfftw
Description: A pythonic wrapper around FFTW.
Upstream URL: https://github.com/pyFFTW/pyFFTW
Licenses: BSD
Submitter: anntzer
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 4
Popularity: 0.009037
First Submitted: 2015-10-02 22:33 (UTC)
Last Updated: 2023-03-02 21:22 (UTC)

Latest Comments

1 2 Next › Last »

E3LDDfrK commented on 2020-02-05 15:01 (UTC)

I don't see a point in linking the documentation as project website. Changed to github instead, where the link you mentioned is displayed prominently

Well, sometimes the readthedocs documentation doubles as the homepage. Some packages link to them. Anyways, not important. Your older upstream url was also the documentation, but an outdated one.

I can't reproduce your error, at least with 0.12.0. Please try with the new PKGBUILD and report persisting errors.

That's the point. The python-pyfftw was outdated. Now it's 0.12.0, it won't have that error anymore.

Thanks you for the changes.

fordprefect commented on 2020-02-05 08:54 (UTC) (edited on 2020-02-05 08:54 (UTC) by fordprefect)

@E3LDDfrK:

  • I don't see a point in linking the documentation as project website. Changed to github instead, where the link you mentioned is displayed prominently

  • I can't reproduce your error, at least with 0.12.0. Please try with the new PKGBUILD and report persisting errors.

E3LDDfrK commented on 2020-02-04 20:00 (UTC) (edited on 2020-02-04 21:37 (UTC) by E3LDDfrK)

edit2: Seems it's caused by outdated python-pyfftw, https://stackoverflow.com/questions/59959319/import-error-with-pyfftw-scipy-fftpack-in-python-3-8 https://github.com/pyFFTW/pyFFTW/issues/279

I got a bunch of

    from . import scipy_fftpack
  File "/home/myusername/download/python-pyfftw/src/pyFFTW-0.11.1/pyfftw/interfaces/scipy_fftpack.py", line 65, in <module>
    from scipy.fftpack import (dct, idct, dst, idst, diff, tilbert, itilbert,
ImportError: cannot import name '_fftpack' from 'scipy.fftpack' (/home/myusername/.local/lib/python3.8/site-packages/scipy/fftpack/__init__.py)

As a consequence, the build fails

==> ERROR: A failure occurred in check().

I used makepkg -si to build it. edit: And I removed pyrex from the PKGBUILD too.

E3LDDfrK commented on 2020-02-04 19:32 (UTC)

Perhaps the upstream url needs to be changed to https://github.com/pyFFTW/pyFFTW or https://pyfftw.readthedocs.io/en/latest/.

SpotlightKid commented on 2019-10-18 12:19 (UTC)

That 'pyrex' make dependency is bogus. The error mentioned by @drws below is resovled by 'cython' as a make dependency already. The SO-article he links is about a different package, that really still depends on Pyrex, but that's a very rare thing today. If you see a '*.pyx' file today, it is meant to be compiled by Cython. The package builds successfully and works without 'pyrex' installed.

Regarding the check function, you can also disable it by passing --nocheck to makepkg.

fordprefect commented on 2019-03-13 17:51 (UTC)

INFO: to speed up package build, disable tests by commenting out the check-function.

fordprefect commented on 2019-03-13 17:51 (UTC)

@drws: sorry to check back so late. The build issues were due to both pyrex and cython missing. I have added them, it should work now. If you encounter further problems, please let me know.

drws commented on 2019-03-05 11:37 (UTC)

I was sure the build went through, however, I now noticed that pyrex installation did not solve the problem.

Did anyone found a workaround yet?

drws commented on 2019-03-05 10:35 (UTC)

Another missing dependency is "pyrex". Without it the following error occurs during build:

error: unknown file type '.pyx' (from 'pyfftw/pyfftw.pyx')

An informative link on this topic: https://stackoverflow.com/questions/6846084/unknown-file-type-error-with-pyx-file

fordprefect commented on 2017-11-08 21:51 (UTC)

@zkrx: thanks, updated.