Psychopy

Latest version: v2024.2.5

Safety actively analyzes 714792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 20

2023.2.3

2023.2.2

What's Changed
* Fixed ioHub keyboard timing (was using incorrect timestamp offset) by TEParsons in https://github.com/psychopy/psychopy/pull/5807
* Fixed locating config files for ioHub extensions which prevented them from loading by mdcutone in https://github.com/psychopy/psychopy/pull/5821
* Fixed bug whereby iohub couldn't find plugin backends on Mac by TEParsons in https://github.com/psychopy/psychopy/pull/5824
* Better handing of experiments with Components that are now only in plugins by TEParsons in 5834 5831 5833
* Fixed "logFile does not exist" error when "Save log file" is False by TEParsons in https://github.com/psychopy/psychopy/pull/5836
* Fixed matrix question breaking apart code in Survey Routine by TEParsons in https://github.com/psychopy/psychopy/pull/5840
* Allow expInfo to use values from Code components without overriding them by TEParsons in https://github.com/psychopy/psychopy/pull/5837
* Fixed error in Form when using a radio ctrl by TEParsons in https://github.com/psychopy/psychopy/pull/5843
* Polygon broken in JavaScript code from Builder by TEParsons in https://github.com/psychopy/psychopy/pull/5844
* Ignore spaces when getting variables from name by TEParsons in https://github.com/psychopy/psychopy/pull/5841
* "tThisFlip not defined" error when using Routine stop time online by TEParsons in https://github.com/psychopy/psychopy/pull/5849
* "eyetracker is not defined" error on experiment quit by TEParsons in https://github.com/psychopy/psychopy/pull/5850
* Fixed incorrect formatting in `AudioDeviceInfo` `__repr__` by mdcutone in https://github.com/psychopy/psychopy/pull/5851
* Fixed message order in Plugins dialog output by TEParsons in https://github.com/psychopy/psychopy/pull/5865
* Update path of README dialog on "save as" by TEParsons in https://github.com/psychopy/psychopy/pull/5863
* Fixed sounds restarting at the end of a Routine where they had perviously stopped by peircej in https://github.com/psychopy/psychopy/pull/5874

Various documentation updates:
* Progress bar API and documentation by suelynnmah in https://github.com/psychopy/psychopy/pull/5822
* Bart Builder demo fix by suelynnmah in https://github.com/psychopy/psychopy/pull/5823
* psychophysicsStaircase demo fix by suelynnmah in https://github.com/psychopy/psychopy/pull/5829
* Fix colors demo by TEParsons in https://github.com/psychopy/psychopy/pull/5838
* Sternberg Builder demo - checked save log file to remove logFile error by suelynnmah in https://github.com/psychopy/psychopy/pull/5845

2023.2.1

On top of the [new features in 2023.2 series](https://github.com/psychopy/psychopy/releases/tag/2023.2.0)

Bugs Fixed

* Eyetracker plugins were not being detected by Builder by peircej in https://github.com/psychopy/psychopy/pull/5808
* Fix device selection for Microphone component by mdcutone in https://github.com/psychopy/psychopy/pull/5811
* ioHub reporting negative response times by TEParsons in https://github.com/psychopy/psychopy/pull/5807
* Add attributeSetter / set functions for borderWidth by TEParsons in https://github.com/psychopy/psychopy/pull/5779
* Option for hiding splash screen available in Preferences by TEParsons in https://github.com/psychopy/psychopy/pull/5776
* `endExpNow` was only defined if Escape was enabled by TEParsons in https://github.com/psychopy/psychopy/pull/5780
* Polygon JS from Builder failing to initialise code by TEParsons in https://github.com/psychopy/psychopy/pull/5783
* Copied Routines were getting two Routine Settings components by TEParsons in https://github.com/psychopy/psychopy/pull/5792
* Fix unresponsive scrolling in Routine canvas by TEParsons in https://github.com/psychopy/psychopy/pull/5795
* update Japanese translation by hsogo in https://github.com/psychopy/psychopy/pull/5789
* If rewinding Sound (seek to before end) then mark as not finished by TEParsons in https://github.com/psychopy/psychopy/pull/5781
* Fixed <expname>_legacy-legacy-browser.js is not a file by TEParsons in https://github.com/psychopy/psychopy/pull/5799
* Coder was making an error when opening a new file by TEParsons in https://github.com/psychopy/psychopy/pull/5801
* Conditions file was being cleared when loop type is "interleaved staircase" by TEParsons in https://github.com/psychopy/psychopy/pull/5803
* Add JS code to set window background image on init by TEParsons in https://github.com/psychopy/psychopy/pull/5806
* MacOS iohub "TypeError: startswith first arg must be bytes..." by peircej in https://github.com/psychopy/psychopy/pull/5812
* New projects sometimes wouldn't have a local root by TEParsons in https://github.com/psychopy/psychopy/pull/5814
* Handle when Static Component tries to set param of deleted/disabled Component by TEParsons in https://github.com/psychopy/psychopy/pull/5815
* Python 3.10 version bump had broken GIF avatars by TEParsons in https://github.com/psychopy/psychopy/pull/5791

**Full Changelog**: https://github.com/psychopy/psychopy/compare/2023.2.0...2023.2.1

2023.2.0

Highlights

* Routine settings: Routines now have parameters of their own, giving control over their max duration, skipping the Routine altogether, or changing the way the window looks just for that Routine.
* Sort by priority: Columns in the data file can now be given a "priority" value, with the option to sort by priority instead of chronologically.
* Whisper transcription PLUGIN for Microphone: Using the OpenAI backend, Microphone transcriptions can be done quicker and more accurately, and include timing info for each word.
* Progress bar component: A visual component to show progress along an axis.
* Builder search dialog: Search for values across your whole experiment, then jump to the specific Routine/Component where it's present. Makes debugging much easier.
* Most stimuli now support a `draggable` attribute. If set to `draggable=True` then that stimulus should check/update position on each frame using `stim.doDragging()`

Behaviour changes
* Eyetrackers (Tobii, SRR Eyelink, Gazepoint, PupilLabs) are now plugins rather than built-in, in keeping with the drive to cut down the dependencies of core PsychoPy

New features and enhancements
* PsychoJS: Mobile-friendly viewport settings. by lightest in https://github.com/psychopy/psychopy/pull/5380
* Allow experiment to run with different clocks (e.g. wall clock time instead of starting at t=0) by TEParsons in https://github.com/psychopy/psychopy/pull/5621
* PsychoJS ShapeStim from Builder now supports custom vertices by TEParsons in https://github.com/psychopy/psychopy/pull/5522
* Numerous improvements to plugins system and dialog
* Added `abortCurrentTrial` (Python only for now) method to `TrialHandler2` and `MultiStairHandler` by mdcutone in https://github.com/psychopy/psychopy/pull/5423
* Better performance and fixes to FFPyPlayer movie engine
* Added `letterSpacing` attribute to Textbox by TEParsons in https://github.com/psychopy/psychopy/pull/5487
* New `Session` class to run multiple experiments - create your stimulus window once and run multiple experiments in it, with the ability to pause/resume/stop the experiment. (Python only for now) Session can be controlled over `websockets` using the Liaison server
* Full support for Python 3.10, wxPython 4.2, and PyQt6
* Preserve tab order for Routines when saving/loading an experiment by TEParsons in https://github.com/psychopy/psychopy/pull/5517
* Added audio settings to Camera component by mdcutone in https://github.com/psychopy/psychopy/pull/5681
* Improved streaming of camera to disk by mdcutone in https://github.com/psychopy/psychopy/pull/5551
* Window now explains it is performing timing test by mdcutone in https://github.com/psychopy/psychopy/pull/5511
* Keyboard Components from Builder will store duration if available (if release has already occurred) by TEParsons in https://github.com/psychopy/psychopy/pull/5569
* Show status text for objects in Flow panel by TEParsons in https://github.com/psychopy/psychopy/pull/5443
* Make psychopy.Window title (and icon in pyglet) settable by TEParsons in https://github.com/psychopy/psychopy/pull/5540
* UI enhancements to Coder and Runner by TEParsons in https://github.com/psychopy/psychopy/pull/5539
* Multihead support for X11/Linux by mdcutone in https://github.com/psychopy/psychopy/pull/5520
* Plugins Dialog now checks for version compatibility with PsychoPy by TEParsons in https://github.com/psychopy/psychopy/pull/5649
* Install plugins to subdirectories by mdcutone in https://github.com/psychopy/psychopy/pull/5398
* Make Save & Edit/View buttons on README window more explicit by TEParsons in https://github.com/psychopy/psychopy/pull/5523
* New option to abbreviate long component names in Preferences, fixes 5574 by TEParsons in https://github.com/psychopy/psychopy/pull/5586
* Highlight selected Routine in Flow panel by TEParsons in https://github.com/psychopy/psychopy/pull/5588
* Better Builder visualisation very large experiments by TEParsons in https://github.com/psychopy/psychopy/pull/5618
* Lock Flow panel buttons to the left when scrolling by TEParsons in https://github.com/psychopy/psychopy/pull/5620
* ExperimentHandler.addData() now has optional `row` argument to specify previous entry by TEParsons in https://github.com/psychopy/psychopy/pull/5652
* Fixed useVersion warning untracked working tree files would be overwritten by peircej in https://github.com/psychopy/psychopy/pull/5670
* Add param to control whether movies/sounds end when the Routine does, by TEParsons in https://github.com/psychopy/psychopy/pull/5415
* Add "transparent" as named color by TEParsons in https://github.com/psychopy/psychopy/pull/5689
* Radio button styling was not work in Slider component in 2023.1, fixes 5661 (dev) by TEParsons in https://github.com/psychopy/psychopy/pull/5691
* Allow expInfo fields to be marked as required (*) by ainazay in https://github.com/psychopy/psychopy/pull/5543
* Fix VlcMovieStim by marcpabst in https://github.com/psychopy/psychopy/pull/5702
* Added data file separator to expInfo by EitanHemed in https://github.com/psychopy/psychopy/pull/5607
* Minor Textbox bugfixes by ollie-d in https://github.com/psychopy/psychopy/pull/5723
* Extended autotranslate functions supported by py2js by roelofsaj in https://github.com/psychopy/psychopy/pull/5713
* Submitting GitHub issues now supports templates by shun2wang in https://github.com/psychopy/psychopy/pull/5732
* Numerous Documentation improvements by fboers kimDundas patrickabolger EitanHemed larsoner pmolfese


Bug fixes
* Fixed missing comma in Brush component code by TEParsons in https://github.com/psychopy/psychopy/pull/5564
* Mouse position incorrect when desktop scaling not 100% on Windows by mdcutone in https://github.com/psychopy/psychopy/pull/5758
* Fixed `AttributeError: 'SoundPTB' object has no attribute 'isFinished'` by mdcutone in https://github.com/psychopy/psychopy/pull/5541
* Better handling of missing audio libraries - allow the app to load always and fallback to PsychToolBox if possible
* Better handling of Mouse.getPos() when no windows open by peircej in https://github.com/psychopy/psychopy/pull/5763
* Param updates code for Sound in JS was using Python syntax by TEParsons in https://github.com/psychopy/psychopy/pull/5762
* More informative error when useVersion fails to write script by TEParsons in https://github.com/psychopy/psychopy/pull/5761
* saveAsWideText was using deprecated DataFrame.append function by TEParsons in https://github.com/psychopy/psychopy/pull/5507
* Polygon/ROI vertices caused error if trying to set each frame by TEParsons in https://github.com/psychopy/psychopy/pull/5686
* Don't crash if user attempts to initialise ioHub more than once by TEParsons in https://github.com/psychopy/psychopy/pull/5533
* Added log file entry for Keyboard.clearEvents() by peircej in https://github.com/psychopy/psychopy/pull/5558
* Fixed missing movie file in MoviePause.py demo by EitanHemed in https://github.com/psychopy/psychopy/pull/5583
* Coder source tree thought any variable name beginning with `def` was a function def by TEParsons in https://github.com/psychopy/psychopy/pull/5581
* README filename wasn't being updated for new frames by TEParsons in https://github.com/psychopy/psychopy/pull/5593
* Fix Markdown parsing on README files by TEParsons in https://github.com/psychopy/psychopy/pull/5572
* Ignore Escape in Keyboard component if needed to end experiment by TEParsons in https://github.com/psychopy/psychopy/pull/5598
* Joystick component - SyntaxError in generated code by EitanHemed in https://github.com/psychopy/psychopy/pull/5601
* Error `got an unexpected keyword argument "reset"` when trying to pause using PTB sounds by peircej in https://github.com/psychopy/psychopy/pull/5619
* PsychoPJS: Fix issue with first frame of image being shown as default.png in JS by TEParsons in https://github.com/psychopy/psychopy/pull/5716
* Add `self` to list of disallowed Component names by TEParsons in https://github.com/psychopy/psychopy/pull/5742
* Split compound Survey answers into individual columns by TEParsons in https://github.com/psychopy/psychopy/pull/5734
* Fixed audio file not resetting during (Python) experiment by mdcutone in https://github.com/psychopy/psychopy/pull/5712
* If trying to load previously open file that is corrupted, do at least open the app (with an empty window) by TEParsons in https://github.com/psychopy/psychopy/pull/5696
* Better catching of name errors in conditions file by TEParsons in https://github.com/psychopy/psychopy/pull/5654

New Contributors
* ranibaron made their first contribution in https://github.com/psychopy/psychopy/pull/5394
* patrickabolger made their first contribution in https://github.com/psychopy/psychopy/pull/5414
* fboers made their first contribution in https://github.com/psychopy/psychopy/pull/5482
* gtosh4 made their first contribution in https://github.com/psychopy/psychopy/pull/5609
* ainazay made their first contribution in https://github.com/psychopy/psychopy/pull/5543
* marcpabst made their first contribution in https://github.com/psychopy/psychopy/pull/5702

**Full Changelog**: https://github.com/psychopy/psychopy/compare/2023.1.2...2023.2.0rc7

2023.1.3

Bug fixes

- Added log file entry for Keyboard.clearEvents() by [peircej](https://github.com/peircej) in [#5558](https://github.com/psychopy/psychopy/pull/5558)
- Syntax error (missing comma) in Brush Component code by [TEParsons](https://github.com/TEParsons) in [#5564](https://github.com/psychopy/psychopy/pull/5564)
- Store duration for Keyboard Components when available (if `waitForRelease=True` ) by [TEParsons](https://github.com/TEParsons) in [#5569](https://github.com/psychopy/psychopy/pull/5569)
- AudioClip recordings with PTB backend fail to honor sample rate [mdcutone](https://github.com/mdcutone) in [#5530](https://github.com/psychopy/psychopy/pull/5530)
- Removed redundant "MainLoop" call to remove error during shutdown of app by [mdcutone](https://github.com/mdcutone) in [#5538](https://github.com/psychopy/psychopy/pull/5538)
- Spaces in executable path were breaking PIP terminal in Windows by [TEParsons](https://github.com/TEParsons) in [#5579](https://github.com/psychopy/psychopy/pull/5579)
- Save prefs just once after closing all frames by [TEParsons](https://github.com/TEParsons) in [#5510](https://github.com/psychopy/psychopy/pull/5510)
- JS code wasn't distinguishing between regular polygon & custom vertices in ShapeStim by [TEParsons](https://github.com/TEParsons) in [#5522](https://github.com/psychopy/psychopy/pull/5522)
- NameError: name 'environmenttools' is not defined 5563

Full Changelog: [2023.1.2...2023.1.3](https://github.com/psychopy/psychopy/compare/2023.1.2...2023.1.3)

2023.1.2

On top of the [new features added in 2023.1 series](https://github.com/psychopy/psychopy/releases/tag/2023.1.0)

Fixes

* Fix crash following gamma semi-auto correction (when laying out dialog box) dialog box by TEParsons in https://github.com/psychopy/psychopy/pull/5452
* Crashing due to outdated `core.getFromNames` in Mouse by TEParsons in https://github.com/psychopy/psychopy/pull/5474
* Setting Image as a numpy array caused a TypeError by TEParsons in https://github.com/psychopy/psychopy/pull/5453
* Handle invalid paths when stringifying params by TEParsons in https://github.com/psychopy/psychopy/pull/5465
* Swap all references to Panorama.altitude with Panorama.elevation by TEParsons in https://github.com/psychopy/psychopy/pull/5471
* Fix typo in Survey routine - `stauts` rather than `status` by TEParsons in https://github.com/psychopy/psychopy/pull/5468
* If user requests showing README and there isn't one then show a blank file TEParsons in https://github.com/psychopy/psychopy/pull/5470
* Fix typos in high contrast theme by TEParsons in https://github.com/psychopy/psychopy/pull/5504
* Sound files online were playing forever if duration set to <0.5s by TEParsons in https://github.com/psychopy/psychopy/pull/5466
* Let Builder treat Sound.isPlaying and Sound.status==STARTED as synonymous by TEParsons in https://github.com/psychopy/psychopy/pull/5428
* Correctly ignore blank columns by wader in https://github.com/psychopy/psychopy/pull/5406
* Viewport was left as None when checkTiming was unticked by TEParsons in https://github.com/psychopy/psychopy/pull/5451
* Better handling when a Pavlovia project / plugin avatars in the app TEParsons in https://github.com/psychopy/psychopy/pull/5458 https://github.com/psychopy/psychopy/pull/5460 https://github.com/psychopy/psychopy/pull/5469

Documentation fixes by

* roelofsaj in https://github.com/psychopy/psychopy/pull/5477 https://github.com/psychopy/psychopy/pull/5483 https://github.com/psychopy/psychopy/pull/5484
* ChenBri in https://github.com/psychopy/psychopy/pull/5478 https://github.com/psychopy/psychopy/pull/5480
* ChristopheBossens in https://github.com/psychopy/psychopy/pull/5481
* suelynnmah in https://github.com/psychopy/psychopy/pull/5444

New Contributors

* roelofsaj made their first contribution in https://github.com/psychopy/psychopy/pull/5477
* ChenBri made their first contribution in https://github.com/psychopy/psychopy/pull/5478
* ChristopheBossens made their first contribution in https://github.com/psychopy/psychopy/pull/5481
* wader made their first contribution in https://github.com/psychopy/psychopy/pull/5406

**Full Changelog**: https://github.com/psychopy/psychopy/compare/2023.1.1...2023.1.2

Page 3 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.