Dear Maintainer, After installing psychopy 2020.1.1, when I use pip3 to install some packages (that do not have psychopy as dependency), I get the following error: ERROR: psychopy 2020.1.1 requires arabic_reshaper, which is not installed. ERROR: psychopy 2020.1.1 requires astunparse, which is not installed. ERROR: psychopy 2020.1.1 requires esprima, which is not installed. ERROR: psychopy 2020.1.1 requires glfw, which is not installed. ERROR: psychopy 2020.1.1 requires javascripthon, which is not installed. ERROR: psychopy 2020.1.1 requires opencv-python, which is not installed. ERROR: psychopy 2020.1.1 requires pyosf, which is not installed. ERROR: psychopy 2020.1.1 requires python-bidi, which is not installed. I checked and these are dependencies of psychopy are not present in the debian repos. It seems that during packaging these dependencies were omitted. As far as i can tell, these dependencies are hard dependencies. Best, Bob
Hi, I've added the now packaged python3-bidi and python3-pyglfw to Recommends of the just uploaded version 2023.2.4+dfsg-1. Some of the dependencies you mentioned seem to be not used in psychopy any more. It would be nice if you could update the list of dependencies which you are missing. Kind regards Andreas.
Hi, I was having a look at eventually bumping psychopy to v2024. It seems that dh-python3 helpfully reports dependencies declared by upstream but missing from Debian: I: dh_python3 pydist:302: Cannot find package that provides imageio_ffmpeg. Please add package that provides it to Build-Depends or add "imageio_ffmpeg python3-imageio-ffmpeg" line to debian/py3dist-overrides or add proper dependency to Depends by hand and ignore this info. I: dh_python3 pydist:302: Cannot find package that provides psychtoolbox. ... I: dh_python3 pydist:302: Cannot find package that provides javascripthon. ... I: dh_python3 pydist:302: Cannot find package that provides pypi_search. ... I: dh_python3 pydist:302: Cannot find package that provides esprima. ... I: dh_python3 pydist:302: Cannot find package that provides ffpyplayer. ... I: dh_python3 pydist:302: Cannot find package that provides opencv_python. ... imageio_ffmpeg upstream looks located here: https://github.com/imageio/imageio-ffmpeg psychtoolbox from pypi.org leads to confusing source code: https://pypi.org/project/psychtoolbox/ javascripthon looks non-trivial: https://github.com/metapensiero/metapensiero.pj pypi_search upstream archived their repository: https://github.com/asadmoosvi/pypi-search esprima is already recorded work needed and prospective package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987923 ffpyplayer seems located here: https://github.com/matham/ffpyplayer opencv_python stems from here, but is also confusing: https://github.com/opencv/opencv-python Something is bugging me: is the package usable at all with these missing components? When trying to put back the test suite on tracks, each item ends up in error, mainly because of missing the esprima module (and the rest chokes on pyglet.gl being used as regular GL while missing a number of its attributes). I'm sorry it may be a bit overwhelming. I hope targets painting will help with putting back the package into good shape in the end though. Have a nice day, :)
Adding Yaroslav to the discussion since he is the expert. Kind regards, Andreas. Am Thu, Sep 12, 2024 at 10:29:56PM +0200 schrieb Étienne Mollier:
Sorry, missed this one and now filed a few new related bug reports. Frankly, since I have not actively used it myself for awhile, I would not be able to answer if all of those required or not. Some are likely already there -- e.g. python3-opencv for the and it might be worth going through https://github.com/wieluk/psychopy_linux_installer to see what installations/tricks are done there. I know that we did manage to install psychopy (in a clean container) using that script. Also I spotted that there is ongoing effort to separate out the "run time" core into a separate package https://github.com/psychopy/psychopy-lib (so there is no wx etc depends) but it seems there is no single release yet.
control: severity -1 serious Bumping severity of this bug to serious to keep psychopy from migrating. The other 2 RC bugs were only fixed to allow python3-astunparse removal but did not get psychopy in a much better shape.
Control: severity -1 important I reduce the severity of the bug about psychopy missing some dependencies. There are three other release critical bugs currently open, which I hope to be able to tackle, now that python3-esprima is available in unstable and tracking #1128693 indicates having python3-psychtoolbox should not be too long anymore. There are still a few modules in the "to do" list for full support of psychopy 2026.1.0: meshpy, ffpyplayer and maybe opencv-python if not covered by python3-opencv, the rest should be on good tracks. As far as I could test the program, those remaining modules do not look like blockers to make use of it, although I'm not a professional of the field and may have missed obvious use cases. Have a nice day, :)