Skip to content

UseVersion shouldn't import the app - now breaks due to dependency on pypi-search #7406

@peircej

Description

@peircej

The experiment lib used to live in the app but it shouldn't. It's needed to load/write experiments but we don't need all the app machinery for that! That means:

  • we were loading way more files than were needed (the app machinery like wxpython shouldn't be needed to write a script!)
  • it's now broken due to the missing pypi-search which the app needed in 2024 but isn't needed to write an experiment file

This should be fixed by the below line from:
from psychopy.app.builder import experiment
to be
from psychopy import experiment

from psychopy.app.builder import experiment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions