Skip to content

Commit be61df0

Browse files
committed
adapt install scripts and tests
1 parent 9a48f5f commit be61df0

10 files changed

Lines changed: 12 additions & 15 deletions

.binder/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ COPY LICENSE LICENSE
2727
COPY README.md README.md
2828
COPY pyproject.toml pyproject.toml
2929

30-
RUN pip install ".[stable]"
30+
RUN pip install ".[stable,dask-stable]"
3131

3232
# change owner to be able to write to that folder
3333
COPY --chown=${USER}:${USER} example_nbs example_nbs

.github/workflows/e2e_tests_quick.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
os: ${{ matrix.os }}
31-
install-script: ./pip_install.sh tests,gui
31+
install-script: ./pip_install.sh tests,gui,dask
3232
test-script: ./run_e2e_tests_quick.sh

.github/workflows/e2e_tests_quick_multiple_platforms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
os: ${{ matrix.os }}
32-
install-script: ./pip_install.sh stable,tests,gui
32+
install-script: ./pip_install.sh stable,tests,gui,dask-stable
3333
test-script: ./run_e2e_tests_quick.sh
3434

3535
run-unit-tests-loose:
@@ -43,5 +43,5 @@ jobs:
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545
os: ${{ matrix.os }}
46-
install-script: ./pip_install.sh tests,gui
46+
install-script: ./pip_install.sh tests,gui,dask
4747
test-script: ./run_e2e_tests_quick.sh

.github/workflows/install_and_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
os: ${{ matrix.os }}
33-
install-script: ./pip_install.sh tests,gui
33+
install-script: ./pip_install.sh tests,gui,dask
3434
test-script: ./run_unit_tests.sh

.github/workflows/install_and_unit_tests_multiple_platforms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
os: ${{ matrix.os }}
29-
install-script: ./pip_install.sh stable,tests,gui
29+
install-script: ./pip_install.sh stable,tests,gui,dask-stable
3030
test-script: ./run_unit_tests.sh
3131

3232
run-unit-tests-loose:
@@ -40,5 +40,5 @@ jobs:
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
os: ${{ matrix.os }}
43-
install-script: ./pip_install.sh tests,gui
43+
install-script: ./pip_install.sh tests,gui,dask
4444
test-script: ./run_unit_tests.sh

.github/workflows/run_example_nbs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
os: ${{ matrix.os }}
31-
install-script: ./pip_install.sh tests,gui
31+
install-script: ./pip_install.sh tests,gui,dask
3232
test-script: ./run_example_notebooks.sh

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY LICENSE LICENSE
2020
COPY README.md README.md
2121
COPY pyproject.toml pyproject.toml
2222

23-
RUN pip install ".[stable,gui-stable]"
23+
RUN pip install ".[stable,gui-stable,dask-stable]"
2424

2525
ENV PORT=41215
2626
EXPOSE 41215

release/linux/build_installer_linux.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ rm -rf dist_pyinstaller build_pyinstaller
77

88
# Find the wheel file in dist directory
99
WHL_NAME=$(cd dist && ls ./*.whl && cd ..)
10-
pip install "dist/${WHL_NAME}[stable,gui-stable]"
10+
pip install "dist/${WHL_NAME}[stable,gui-stable,dask-stable]"
1111

1212
# Creating the stand-alone pyinstaller folder
13-
pip install pyinstaller
1413
pyinstaller release/pyinstaller/alphaquant.spec --distpath dist_pyinstaller --workpath build_pyinstaller -y
1514

release/macos/build_installer_macos.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ rm -rf dist_pyinstaller build_pyinstaller
77

88
# Get the wheel file name from dist directory
99
WHL_NAME=$(cd dist && ls ./*.whl && cd ..)
10-
pip install "dist/${WHL_NAME}[stable,gui-stable]"
10+
pip install "dist/${WHL_NAME}[stable,gui-stable,dask-stable]"
1111

1212
# Creating the stand-alone pyinstaller folder
13-
pip install pyinstaller
1413
pyinstaller release/pyinstaller/alphaquant.spec --distpath dist_pyinstaller --workpath build_pyinstaller -y
1514

release/windows/build_installer_windows.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue ./dist_pyinstaller
77

88
# substitute X.Y.Z-devN with X.Y.Z.devN
99
$WHL_NAME = (Get-ChildItem -Path "dist" -Filter "*.whl").Name
10-
pip install "dist/$WHL_NAME[stable,gui-stable]"
10+
pip install "dist/$WHL_NAME[stable,gui-stable,dask-stable]"
1111

1212
# Creating the stand-alone pyinstaller folder
13-
pip install pyinstaller
1413
pyinstaller release/pyinstaller/alphaquant.spec --distpath dist_pyinstaller --workpath build_pyinstaller -y

0 commit comments

Comments
 (0)