Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #95

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Update README.md #95

merged 2 commits into from
Jan 23, 2024

Conversation

ruaridhg
Copy link
Collaborator

@ruaridhg ruaridhg commented Dec 1, 2023

Added caution about installing pytest in Blender for MacOS

@ruaridhg ruaridhg requested a review from sfmig December 1, 2023 10:20
Copy link
Collaborator

@sfmig sfmig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rephrased a bit to soften the Linux recommendation and added some tips for troubleshooting that I found useful in a similar situation

README.md Outdated
@@ -77,7 +77,8 @@ Alternatively, install [manually](/docs/Install_addon_manually.md) via Blender s
`pip.main(["install", "pytest-blender", "--user"])`


> **MacOS**
> [!CAUTION]
> **MacOS** can cause issues with running pytest normally with other projects so Linux is recommended for testing or installing Blender in an isolated environment
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it can be a bit more specific about what was the issue? (if we can). I think I wouldn't go as far to say that Linux is recommended since neither of us really used Linux right?

Suggestion:
We occasionally found some issues with the pytest installation for Blender, where it seemed that running pytest from a different environment would use the pytest installed in the Blender environment. To troubleshoot this, it may be useful to run which pytest from the active environment: if all is working fine, that should point to the pytest of the active environment. One can also force to run the pytest installation of the active environment by running python -m pytest.

@ruaridhg ruaridhg merged commit 9d57282 into main Jan 23, 2024
8 checks passed
@ruaridhg ruaridhg deleted the ruaridhg-patch-2 branch January 23, 2024 17:10
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