Skip to content

Commit 9b15f24

Browse files
authored
Merge pull request #244 from pyiron/no-build-isolation
Test pip no-build-isolation option
2 parents 89aa6be + 0e54e18 commit 9b15f24

File tree

6 files changed

+22
-10
lines changed

6 files changed

+22
-10
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
- name: Test
3636
shell: bash -l {0}
3737
run: |
38-
pip install --no-deps .
38+
pip install versioneer[toml]==0.29
39+
pip install . --no-deps --no-build-isolation
3940
coverage run --omit pysqa/_version.py -m unittest discover tests
4041
coverage combine
4142
- name: Coveralls

.github/workflows/deploy.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,23 @@ jobs:
1919
id-token: write
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: actions/setup-python@v4
22+
- uses: conda-incubator/setup-[email protected]
2323
with:
24-
python-version: "3.11"
25-
- name: Install dependencies
26-
run: python -m pip install --user --upgrade jinja2 pandas pyyaml setuptools wheel versioneer
24+
python-version: 3.11
25+
mamba-version: "*"
26+
channels: conda-forge
27+
miniforge-variant: Mambaforge
28+
channel-priority: strict
29+
auto-update-conda: true
30+
environment-file: .ci_support/environment.yml
2731
- name: Convert dependencies
2832
run: |
2933
cp .ci_support/environment-old.yml environment.yml
3034
python .ci_support/release.py; cat pyproject.toml
3135
- name: Build
32-
run: python setup.py sdist bdist_wheel
36+
shell: bash -l {0}
37+
run: |
38+
pip install versioneer[toml]==0.29
39+
python setup.py sdist bdist_wheel
3340
- name: Publish distribution 📦 to PyPI
3441
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/mini.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ jobs:
3434
- name: Test
3535
shell: bash -l {0}
3636
run: |
37-
pip install --no-deps .
37+
pip install versioneer[toml]==0.29
38+
pip install . --no-deps --no-build-isolation
3839
python -m unittest discover tests

.github/workflows/pypicheck.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ jobs:
2828
- name: Pip check
2929
shell: bash -l {0}
3030
run: |
31-
pip install --no-deps .
31+
pip install versioneer[toml]==0.29
32+
pip install . --no-deps --no-build-isolation
3233
pip check

.github/workflows/unittest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ jobs:
6060
- name: Test
6161
shell: bash -l {0}
6262
run: |
63-
pip install --no-deps .
63+
pip install versioneer[toml]==0.29
64+
pip install . --no-deps --no-build-isolation
6465
python -m unittest discover tests

.github/workflows/unittests_old.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ jobs:
2727
- name: Test
2828
shell: bash -l {0}
2929
run: |
30-
pip install --no-deps .
30+
pip install versioneer[toml]==0.29
31+
pip install . --no-deps --no-build-isolation
3132
python -m unittest discover tests

0 commit comments

Comments
 (0)