- Package:
- src:psychopy
- Source:
- src:psychopy
- Submitter:
- Matthias Klose
- Date:
- 2026-09-20 00:23:02 UTC
- Severity:
- normal
- Tags:
[This bug is targeted to the upcoming trixie release] The package build-depends or depends on python3-pkg-resources, which is deprecated upstream. Details can be found at https://setuptools.pypa.io/en/latest/pkg_resources.html Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions. Python 3.12 in unstable provides both importlib_resources and importlib_metadata, so no additional dependencies on those packages are needed.
The psychopy package still uses the pkg_resources module. Raising the severity of this issue. At the end of the year 2025, raising the severity again to serious. If the package is a namespace package, then please lower the severity again to normal.
Should psychopy be removed from unstable ? Updating to a new release seems a lot of work Alexandre
Hi Alexandre, Am Thu, Sep 10, 2026 at 04:59:04PM +0200 schrieb Alexandre Detiste: The package builds in Git. There are some issues when calling the executable. Yaroslav, can you help? IMHO most of the work is actually done. I somehow dropped the ball when checking other RC bugs. But I have the gut feeling we are nearly there. Thank you for the ping anyway Andreas.
Hi Andreas and Alexandre, NB recending via gmail for Alexandre... I can try to help - I just need to float up a bit above current monday flood of todos... hopefully wed. Any particular cut/paste of outputs/pointers would be welcome, otherwise I will try to go from git. I do not mind removing but I will be sad if Andreas had invested time already, so would be a waste of HI (human intelligence) tokens ;), so we can make a push to avoid that! ;) Cheers,
Hi Andreas and Alexandre, I can try to help - I just need to float up a bit above current monday flood of todos... hopefully wed. Any particular cut/paste of outputs/pointers would be welcome, otherwise I will try to go from git. I do not mind removing but I will be sad if Andreas had invested time already, so would be a waste of HI (human intelligence) tokens ;), so we can make a push to avoid that! ;) Cheers,
Let me know if my team can be of any help on this, e.g. if there's anything
we can do on the repository side in order to make things easier for
packaging.
I should say that we've been moving away from the previous system of a
behemoth wxPython application (which was particularly hard to install on
Linux distros) towards:
- more distinction between the psychopy *library* for running
experiments in the users' own virtual env(s) and psychopy *app*
("Standalone"
PsychoPy) which now has its own repo
<https://github.com/psychopy/psychopy-app>. This was largely so that
linux users, who more often just want the library, don't have to worry
about wxpython as a dependency but the app is still available if they do
- a complete rewrite of that wxpython app into electron/node, called
PsychoPy Studio, which is available to Linux users as an AppImage
(e.g. AppImage
for release 2026.2.4
<https://github.com/psychopy/psychopy/releases/download/2026.2.4/PsychoPy_Studio_2026.2.4.AppImage>)
but we could also talk about whether there are better ideas for
distributing that app. The Electron app works differently - it's really
easy for linux users to download and install and it then uses *uv* to
set up Python virtual environments as needed in the users' home directory
Suffice to say, none of the PsychoPy team are packaging experts, but we're
happy to help out with whatever can help to make this less painful
Best wishes,
Jon
[image: image.png]
Jon Peirce (he/him)
Founder and CEO
*Open Science Tools Ltd* <https://opensciencetools.org/>
Creators of PsychoPy and Pavlovia.org
BlueSky <https://bsky.app/profile/psychopy.org> | Facebook
<https://www.facebook.com/PsychoPy> | Youtube (PsychoPy)
<https://www.youtube.com/playlist?list=PLFB5A1BE51964D587>
On September 10, 2026 at 4:15 PM, Alexandre Detiste ( alexandre.detiste@gmail.com) wrote:
Should psychopy be removed from unstable ?
Updating to a new release seems a lot of work
Alexandre
Hi Yaroslav,
Am Mon, Sep 14, 2026 at 10:40:59AM -0400 schrieb Yaroslav Halchenko:
Package builds fine from Git in pbuilder but once you install the
package and call the binary its crashing.
I hope we can make the package a sensible citizen in Debian Med
set of packages.
Kind regards
Andreas.
package and call the binary its crashing.
That is the sort of thing my team might be able to help with. Is there
anything in
~/.psychopy3/last_app
?
Best wishes,
Jon
On September 14, 2026 at 4:14 PM, Andreas Tille (tille@debian.org) wrote:
Hi Yaroslav,
Am Mon, Sep 14, 2026 at 10:40:59AM -0400 schrieb Yaroslav Halchenko:
I can try to help - I just need to float up a bit above current
monday flood of todos... hopefully wed. Any particular cut/paste of
outputs/pointers would be welcome, otherwise I will try to go from git.
Package builds fine from Git in pbuilder but once you install the
package and call the binary its crashing.
I do not mind removing but I will be sad if Andreas had invested
time already, so would be a waste of HI (human intelligence) tokens ;),
so we can make a push to avoid that! ;)
I hope we can make the package a sensible citizen in Debian Med
set of packages.
Kind regards
Andreas.
We believe that the bug you reported is fixed in the latest version of
psychopy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1083564@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated psychopy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 20 Sep 2026 01:08:02 +0200
Source: psychopy
Architecture: source
Version: 2026.2.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1083564 1085796 1086772 1095847 1102772
Changes:
psychopy (2026.2.0+dfsg-1) unstable; urgency=medium
.
* Team upload.
.
[ Étienne Mollier ]
* New upstream version 2026.1.0+dfsg (Closes: #1095847, #1083564)
* d/copyright: exclude MentalRotation.psyexp.
Terms of use of the file grants the usual freedoms at the condition
that no fees are charged upon distribution, making it non-free.
* d/copyright: declare Open Science Tools Ltd. among copyright owners.
* d/copyright: Vladimir Kharlampidi is copyright owner of swiper-bundle.
* d/copyright: refresh Files-Excluded.
* d/rules: ensure the test suite kicks in.
* Rename d/docs to d/psychopy.docs.
* Rename d/dirs to d/psychopy.dirs.
* Unfuzz patches.
* remvoe-astunpare.patch: refresh.
* remove-six.patch: new: remove uses of "six".
* nudge-help2man.patch: new: fix passing --version. (Closes: #1102772)
* d/control: add several new build, test and regular dependencies.
* d/control: declare compliance to standards version 4.7.4.
* nudge-importlib.metadata.entry_points.patch: new.
Fix a problem with importlib.metadata.entry_points usage on newer
Python interpreter versions upon invocation of psychopy.
.
[ Andreas Tille ]
* New upstream version
Closes: #1085796
* d/watch: version=5
* Standards-Version: 4.7.4 (routine-update)
* Reflow Uploaders field (cme)
* Remove Priority field (cme)
* Do not parse d/changelog (routine-update)
* Drop 'Rules-Requires-Root: no' from d/control (routine-update)
* Remove constraints unnecessary since bullseye (oldstable):
+ Remove 1 maintscript entries from 1 files.
* d/not-installed: Trust pybuild to install everything properly
* Equals relations from some dependencies are to strict - relax these
.
[ Emmanuel Arias ]
* d/patches/remove-astunparse.patch: Add patch to remove python3-astunparse
dependency (Closes: #1086772).
* d/control: Remove python3-astunparse from Build-Depends and Dependency.
.
TODO:
* Ideally, tackle remaining missing dependencies from #953053.
Checksums-Sha1:
a91c8cd86a6ac3334fb8356443eb65d246abb77b 3414 psychopy_2026.2.0+dfsg-1.dsc
bd228d41138a6c757f1425cef16369a8913008a5 36044420 psychopy_2026.2.0+dfsg.orig.tar.xz
507675de3e91f5c87a5167293d3050d04feee087 19160 psychopy_2026.2.0+dfsg-1.debian.tar.xz
3dd3d7e589f5ac1e8fdc5f7110ef3eaab288f20c 27844 psychopy_2026.2.0+dfsg-1_source.buildinfo
Checksums-Sha256:
137f8e539d64b6cc84449bf178b59ab1ff108948ddaddb12ad44028a22bab47f 3414 psychopy_2026.2.0+dfsg-1.dsc
055cb554b6188d291f222bf06a3e131fec030512b3fa655e8087f24a78e16d6b 36044420 psychopy_2026.2.0+dfsg.orig.tar.xz
10fb0789288b6d70c0a007427d2ab941913c50a6229d51616aed3be8ee5004b6 19160 psychopy_2026.2.0+dfsg-1.debian.tar.xz
6bc6e1bd87e30a57dc82a0bc0ca8de521d953034b2cb6fc4f0f067d240772db2 27844 psychopy_2026.2.0+dfsg-1_source.buildinfo
Files:
94c1e95c6313d33117b9df7d608ffcbf 3414 science optional psychopy_2026.2.0+dfsg-1.dsc
afc6e8c3d76626e7893dc401f6e98d49 36044420 science optional psychopy_2026.2.0+dfsg.orig.tar.xz
dfd7517e1611b62f0c389d1d71ab3779 19160 science optional psychopy_2026.2.0+dfsg-1.debian.tar.xz
66486fdd420f4080490e832332e4c518 27844 science optional psychopy_2026.2.0+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqvGKIRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBo/MRAAlaWv9/26xukUNKbD5imnvFx5PqZ4favf
CfCkTWF0k9WYpbYeag0KDEJSb5BSv69UxXYGtqMLVd8fPWQPYCpIlA14f4b7fxJ8
a3fe+7JC4qTovI5QTQOIoZ0fmXpS7jYRo50zURP7IUyVXLsVWdj9pfzXa65Br3v2
F7vKrbW413867z9peAr8d2c/2HGFNtmQbWWyoZZQdzxQ7jCU4sP7n1bYcbIs20gM
nCZWkE/Eneug2b4j1iNkjh16P/VU3Pu7yt1xQ2B2Wp1/2weQ5m9aRJn/tN6BbtY/
XSxctxe+5skz1GmnnlOLGFNHgeMDtDGHERBryXABWoFmebF9vdEzc4hocf/N4kUK
8HcNNCEkUZo4gHrbzzeeKoYgYMIQoJC8bbwjW59CiE12pleOVF9gOhkfOZdwVOjf
Sr4kFNtKjt9vn7Yo8gOW3mPGt0giZbkkJBx83XeUlV4tgk0ISVCtixezf3KVwY8g
IHZWgMLlp1r9IjX2BLAdkz73RZv0+yQBpz7qEu+KLp4pktJMksdbBeKQRUWiEdiV
YQmpQ3WQc4JyMTa7qC+6VQzBQTm12PjcIVW3WK6MgQKyUJWvBlpoveArSzIVMmUR
zqRUIWBIkzSSG1YNomD5q+3yBTkLzZBLW2qXKBDYHqDxuzcyAQF8Xsn0ENPEur2a
dOOE5PZDLRc=
=+6Yq
-----END PGP SIGNATURE-----