From d9116c2e13e020b1ae4ceee2ff5e7551d918266d Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Sat, 16 Dec 2023 06:34:59 -0500 Subject: [PATCH] Update pythonpackage.yml --- .github/workflows/pythonpackage.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 057b4d4c..4b552796 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -9,11 +9,11 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.10" + python-version: "3.12" - name: Install dependencies run: | pip install --upgrade pip - pip install -e . --config-settings editable_mode=compat --use-pep517 + pip install . pip install -r requirements.txt - name: flake8 run: flake8 dedupe tests benchmarks/benchmarks @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install -e . --config-settings editable_mode=compat --use-pep517 + pip install . - name: Install test dependencies run: pip install -r requirements.txt - name: pytest @@ -60,7 +60,7 @@ jobs: # Do everything twice: The first time is training and generates settings, # the second time it tests using a static settings file. run: | - python -m pip install -e ./benchmarks + python -m pip install ./benchmarks python benchmarks/benchmarks/canonical.py python benchmarks/benchmarks/canonical.py python benchmarks/benchmarks/canonical_matching.py @@ -78,8 +78,8 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install -e . --config-settings editable_mode=compat - python -m pip install -e ./benchmarks + pip install . + python -m pip install ./benchmarks - name: Run on canonical on main run: python benchmarks/benchmarks/canonical.py - name: checkout this PR branch @@ -87,7 +87,7 @@ jobs: with: clean: false - name: Install any new dependencies - run: pip install -e . --config-settings editable_mode=compat --use-pep517 + run: pip install . - name: Run on canonical with setting file created on main run: python benchmarks/benchmarks/canonical.py wheels: