From 483ec9257595d403cba1cd7c92f95e4a7ba74fd2 Mon Sep 17 00:00:00 2001 From: Purva Thakre <66048318+purva-thakre@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:52:59 -0500 Subject: [PATCH] Remove `make requirements` (#2481) * remove reqs target from makefile * remove reqs from workflows --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish-pypi.yml | 2 +- Makefile | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ea6a89e10..56af995577 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - make install requirements + make install - name: Check types with mypy run: make check-types @@ -79,7 +79,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - make install requirements + make install - name: Run the quilc & qvm Docker images if: ${{ matrix.os == 'ubuntu-latest' }} run: | diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index e5c593959f..d426277562 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -25,7 +25,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - make install requirements + make install pip install setuptools wheel twine - name: Build and publish env: diff --git a/Makefile b/Makefile index 814ea1e5c9..e85de221bc 100644 --- a/Makefile +++ b/Makefile @@ -56,10 +56,6 @@ install-hooks: @chmod +x .git-hooks/* @echo "Git hooks installed." -.PHONY: requirements -requirements: requirements/requirements.txt - pip install -r requirements/requirements.txt - .PHONY: test test: pytest -n auto -v --cov=mitiq --cov-report=term --cov-report=xml --ignore=mitiq/interface/mitiq_pyquil