Skip to content

Commit

Permalink
Remove setuptools from environment.yml dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
absternator committed Feb 12, 2025
1 parent a1ffa03 commit 0c810c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Build and run tests

on: [push]

env:
ENV CONDA_OVERRIDE_ARCHSPEC: "skylake"
SCE_BUILD_ENV: "conda_forge_cuda"
jobs:
build-linux:
runs-on: ubuntu-latest
Expand All @@ -18,14 +15,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install Conda environment from environment.yml
env:
ENV CONDA_OVERRIDE_ARCHSPEC: "skylake"
uses: conda-incubator/setup-miniconda@v3
uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
activate-environment: sce_env
python-version: ${{ matrix.python-version }}
auto-activate-base: false
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
- name: Lint with flake8
shell: bash -l {0}
run: |
Expand All @@ -34,7 +29,7 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Install and run_test.py
shell: bash -el {0}
shell: bash -l {0}
run: |
python -m pip install -v .
python -m pip install --no-deps --ignore-installed -v .
cd test && python run_test.py
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ dependencies:
- libgomp
- tqdm
- ffmpeg
- setuptools

0 comments on commit 0c810c4

Please sign in to comment.