Skip to content

Bugfix/v2 params fix#104

Merged
RedHawk989 merged 2 commits intoEyeTrackVR:v2.0-beta-feature-branchfrom
lorow:bugfix/v2-params-fix
Feb 21, 2024
Merged

Bugfix/v2 params fix#104
RedHawk989 merged 2 commits intoEyeTrackVR:v2.0-beta-feature-branchfrom
lorow:bugfix/v2-params-fix

Conversation

@lorow
Copy link
Member

@lorow lorow commented Feb 13, 2024

Description

As encountered by Raeschen, changing the imports to import from EyeTrackVR.* without setting up a PYTHONPATH prior, breaks the makefile.

This change restores the old imports and gets makefile to work again, altho it makes it so poetry run pytest fails.
To get pytest to work again, use poetry run python -m pytest

Additionally, as discovered by Prohurtz, top level __init__.py breaks pyinstaller's runtime imports. I've removed the file to fix the installer. This now breaks the coverage, but seeing as this is only useful for writing tests and seeing what else we haven't tested yet, it's not that important.

There's a workaround for that, though: pytest-dev/pytest-cov#88

Checklist

  • I accept the CLA.

@lorow lorow changed the base branch from main to v2.0-beta-feature-branch February 13, 2024 18:26
Break: Pytest-cov, there's a workaround
@RedHawk989
Copy link
Collaborator

looks good!

@RedHawk989 RedHawk989 merged commit 5b48d5d into EyeTrackVR:v2.0-beta-feature-branch Feb 21, 2024
@lorow lorow deleted the bugfix/v2-params-fix branch February 21, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants