diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 821fa26d6..a7a9a310b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,7 +24,8 @@ jobs: - name: Build run: | sudo apt-get install graphviz - pip install -r requirements-docs.txt + pip install poetry + poetry install --with dev sphinx-build -j 4 -T -b html docs/source docs/build/html - name: Deploy Stable 🚀 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index e9ca3155b..4d9a45d8b 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -14,20 +14,12 @@ jobs: with: python-version: "3.12" - - name: Install pypa/build + - name: Install poetry run: >- - python -m - pip install - build - --user + python -m pip install poetry --user - name: Build a binary wheel and a source tarball run: >- - python -m - build - --sdist - --wheel - --outdir dist/ - . + python -m poetry build - name: Store the distribution packages uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87927a78f..d0ee64f8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,8 +29,7 @@ jobs: - name: Install dependencies run: | sudo apt-get install graphviz - pip install -r requirements-tests.txt - pip install ipykernel coverage pytest pytest-cov + pip install poetry ipykernel coverage pytest pytest-cov python -m ipykernel install --user --name python3 - name: Run tests and coverage run: |