Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Change Poetry install from pip to curl #174

Merged
merged 21 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/agent_config_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python -
poetry install
- name: Run Agent Config Validation
run: python -m automata.cli.scripts.run_agent_config_validation
run: |
pip install e .
python -m automata.cli.scripts.run_agent_config_validation
13 changes: 11 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ on:
branches:
- main # or replace with your default branch

# Installs Sphinx with pip
python:
install:
- method: pip
path: .
extra_requirements:
- docs
- method: pip

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -24,9 +33,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry==1.2.0b1
curl -sSL https://install.python-poetry.org | python -
poetry config virtualenvs.create false
poetry install --with doc
poetry install

- name: Build docs
run: make -C docs/ html
1 change: 1 addition & 0 deletions .github/workflows/check-mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python -
poetry install
pip install mypy
pip install types-setuptools
Expand Down
13 changes: 11 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,18 @@ build:
python: "3.9"
jobs:
post_install:
- pip install poetry==1.2.0b1
- curl -sSL https://install.python-poetry.org | python3 -
- poetry config virtualenvs.create false
- poetry install --with doc
- poetry install

# Installs Sphinx with pip
python:
install:
- method: pip
path: .
extra_requirements:
- docs
- method: pip

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down