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

Remove pip from pyproject.toml, add docs for pytest in CONTRIBUTING #511

Merged
merged 4 commits into from
Sep 14, 2022

Conversation

tinahollygb
Copy link
Contributor

Remove pip from pyproject.toml

Removes the version requirement for pip. This helps in cases where a machine has multiple versions of Python and pip and poetry does not use the right version. This can cause yarn setup to fail at the gbstats setup stage.

Add docs for pytest in CONTRIBUTING

Adding a note to activate the poetry env before attempting to run yarn test from the root. Unless the user has pytest installed globally, the execution of yarn test would fail.

Initially I had added it to the npm test script but this caused CI to fail due to poetry not being installed.

@vercel
Copy link

vercel bot commented Sep 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
docs ⬜️ Ignored (Inspect) Sep 14, 2022 at 4:55PM (UTC)

Copy link
Contributor

@kelvanb97 kelvanb97 left a comment

Choose a reason for hiding this comment

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

Looks good. I'll let Jeremy do the explicit approval.

@Auz Auz self-requested a review September 14, 2022 00:53
Copy link
Contributor

@Auz Auz left a comment

Choose a reason for hiding this comment

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

Looks good - I was having a great deal of problems with pip myself.

@tinahollygb tinahollygb merged commit 5b7219f into main Sep 14, 2022
@tinahollygb tinahollygb deleted the chore/pytest-path branch September 14, 2022 17:01
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.

3 participants