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

Use poetry for dependency management #69

Merged
merged 9 commits into from
Jul 20, 2023
Merged

Conversation

ivyleavedtoadflax
Copy link
Contributor

Description

Follows #68 and resolves #67. Relevant to #66. Switches to poetry for dependency management.

Checklist

  • Tests added
  • Relevant issue mentioned
  • Documentation updated

@@ -7,8 +7,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- name: Cache dependencies
Copy link
Contributor

Choose a reason for hiding this comment

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

i think you can do

with:
  - cache: 'poetry'

in the setup-python action

- name: Run tests
run: pytest
run: |
pip install poetry
Copy link
Contributor

Choose a reason for hiding this comment

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

i dont know if this can cause issue but i remember there was another default way to install

@@ -130,7 +146,7 @@ Read our CONTRIBUTING.md then
Create a virtual environment and install the package

```
make virtualenv
poetry install
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to update the documentation we have created as well

Copy link
Contributor

@nsorros nsorros left a comment

Choose a reason for hiding this comment

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

Minor comments, make sure you update the documentation we have in mkdocs

@ivyleavedtoadflax ivyleavedtoadflax changed the base branch from main to fix/66 July 20, 2023 13:35
@ivyleavedtoadflax ivyleavedtoadflax changed the base branch from fix/66 to main July 20, 2023 13:51
@ivyleavedtoadflax ivyleavedtoadflax merged commit 967298c into main Jul 20, 2023
1 check passed
@ivyleavedtoadflax ivyleavedtoadflax deleted the feature/poetry branch July 20, 2023 13:52
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.

Move to poetry
2 participants