Skip to content

Commit

Permalink
Merge pull request #233 from NREL/Use-poetry-1.4.0
Browse files Browse the repository at this point in the history
 Use poetry 1.4.0
  • Loading branch information
haneslinger authored Mar 23, 2023
2 parents d9a7dca + aad9573 commit fd49343
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ jobs:
- name: setup-python
uses: actions/setup-python@v3
# install poetry and build dist
- name: install poetry
run: pip install poetry
- name: install-poetry
uses: snok/install-poetry@v1
with:
version: 1.4.0
virtualenvs-in-project: false
virtualenvs-path: ~/.virtualenvs
- name: build dist
run: poetry build
- name: publish distribution to Test PyPI
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- name: install-poetry
uses: snok/install-poetry@v1
with:
version: 1.4.0
virtualenvs-in-project: false
virtualenvs-path: ~/.virtualenvs
- name: poetry install
Expand All @@ -40,6 +41,7 @@ jobs:
- name: install-poetry
uses: snok/install-poetry@v1
with:
version: 1.4.0
virtualenvs-in-project: false
virtualenvs-path: ~/.virtualenvs
- name: poetry install
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/apidoc/code_visualization.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/reference/developer_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Installing

1. Install prerequisites:
- [Python >= 3.8.0](https://www.python.org/downloads/).
- [Poetry](https://python-poetry.org/docs/#installation).
- [Python >= 3.8.0](https://www.python.org/downloads/)
- [Poetry 1.4.0](https://python-poetry.org/docs/#installation)
2. Clone this repository.
3. Change directory to the new `/BuildingMOTIF` directory.
4. Create and activate a virtual environment:
Expand Down

0 comments on commit fd49343

Please sign in to comment.