diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d34bf6..6d5df54 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: output: environment_test.yml channels: conda-forge defaults extras: test - setup_requires: include + build_system: include pip: bidict - uses: mamba-org/setup-micromamba@v1.8.0 with: diff --git a/README.md b/README.md index 0448512..8cd04e3 100644 --- a/README.md +++ b/README.md @@ -98,9 +98,9 @@ Specify one or more optional `[extras_require]` sections to add to all the envir you would normally install with `pip install pkg[test]`). Note that for individual packages, the [extra]` syntax is also possible. -### setup_requires: +### build_system: -If set to `'include'` the dependencies listed under `[options:setup_requires]` will be added to the environment (default +If set to `'include'` the dependencies listed under `[build-system]` (or `[options:setup_requires]` in `setup.cfg`) will be added to the environment (default is `'omit'` so no setup dependencies will be installed). ### pip @@ -117,7 +117,7 @@ steps: output: 'environment_test.yml' channels: 'conda-forge defaults' extras: 'test' - setup_requires: 'include' + build_system: 'include' pip: 'bidict' ``` diff --git a/action.yml b/action.yml index 03c5cf1..bc54ae5 100644 --- a/action.yml +++ b/action.yml @@ -22,9 +22,9 @@ inputs: Specify one or more optional [extras_require] sections to add to the environment (e.g. 'test' to include package that you would normally install with 'pip install pkg[test]') required: false - setup_requires: + build_system: description: >- - if set to 'include' the dependencies listed under [options]:setup_requires will be added to the environment + if set to 'include' the dependencies listed under [build-system] or [options]:setup_requires will be added to the environment (default is 'omit' so no setup dependencies will be installed) required: false default: omit @@ -43,7 +43,7 @@ runs: --output ${{ inputs.output }} --channels ${{ inputs.channels }} --extras ${{ inputs.extras }} - --setup_requires ${{ inputs.setup_requires }} + --build_system ${{ inputs.build_system }} --pip ${{ inputs.pip }} shell: bash - name: show environment file