Skip to content

Commit 210e675

Browse files
committed
Resolve docker build failures, update dependencies
1 parent 4c6268d commit 210e675

10 files changed

+33
-25
lines changed

continuous_integration/environment-3.10-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dependencies:
1616
- nest-asyncio
1717
- pandas>=1.4.0
1818
- pre-commit
19-
- prompt_toolkit
19+
- prompt_toolkit>=3.0.8
2020
- psycopg2
2121
- pyarrow>=6.0.1
22-
- pygments
22+
- pygments>=2.7.1
2323
- pyhive
2424
- pytest-cov
2525
- pytest-xdist

continuous_integration/environment-3.8-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dependencies:
1616
- nest-asyncio
1717
- pandas=1.4.0
1818
- pre-commit
19-
- prompt_toolkit
19+
- prompt_toolkit=3.0.8
2020
- psycopg2
2121
- pyarrow=6.0.1
22-
- pygments
22+
- pygments=2.7.1
2323
- pyhive
2424
- pytest-cov
2525
- pytest-xdist

continuous_integration/environment-3.9-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dependencies:
1616
- nest-asyncio
1717
- pandas>=1.4.0
1818
- pre-commit
19-
- prompt_toolkit
19+
- prompt_toolkit>=3.0.8
2020
- psycopg2
2121
- pyarrow>=6.0.1
22-
- pygments
22+
- pygments>=2.7.1
2323
- pyhive
2424
- pytest-cov
2525
- pytest-xdist

continuous_integration/gpuci/environment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ dependencies:
1919
- nest-asyncio
2020
- pandas>=1.4.0
2121
- pre-commit
22-
- prompt_toolkit
22+
- prompt_toolkit>=3.0.8
2323
- psycopg2
2424
- pyarrow>=6.0.1
25-
- pygments
25+
- pygments>=2.7.1
2626
- pyhive
2727
- pytest-cov
2828
- pytest-xdist

continuous_integration/recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ requirements:
3535
- fastapi >=0.69.0
3636
- uvicorn >=0.11.3
3737
- tzlocal >=2.1
38-
- prompt-toolkit
39-
- pygments
38+
- prompt-toolkit >=3.0.8
39+
- pygments >=2.7.1
4040
- nest-asyncio
4141
- tabulate
4242

docker/cloud.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ ARG DOCKER_META_VERSION
22
FROM nbraun/dask-sql:${DOCKER_META_VERSION}
33

44
RUN conda config --add channels conda-forge \
5-
&& /opt/conda/bin/conda install --freeze-installed \
6-
"s3fs" \
7-
"dask-cloudprovider" \
8-
&& pip install awscli \
5+
&& /opt/conda/bin/mamba install --freeze-installed -y \
6+
s3fs \
7+
dask-cloudprovider \
8+
awscli \
99
&& conda clean -ay
1010

1111
ENTRYPOINT ["tini", "-g", "--", "/usr/bin/prepare.sh"]

docker/main.dockerfile

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@ LABEL author "Nils Braun <[email protected]>"
66
# Install dependencies for dask-sql
77
COPY docker/conda.txt /opt/dask_sql/
88
RUN conda config --add channels conda-forge \
9-
&& /opt/conda/bin/conda install --freeze-installed \
10-
"tzlocal>=2.1" \
9+
&& /opt/conda/bin/mamba install --freeze-installed -y \
10+
# build requirements
11+
"rust=1.62.1" \
12+
"setuptools-rust>=1.4.1" \
13+
# core dependencies
14+
"dask>=2022.3.0" \
15+
"pandas>=1.4.0" \
1116
"fastapi>=0.69.0" \
1217
"uvicorn>=0.11.3" \
13-
"pyarrow>=6.0.1" \
18+
"tzlocal>=2.1" \
1419
"prompt_toolkit>=3.0.8" \
1520
"pygments>=2.7.1" \
21+
tabulate \
22+
nest-asyncio \
23+
# additional dependencies
24+
"pyarrow>=6.0.1" \
1625
"dask-ml>=2022.1.22" \
17-
"setuptools-rust>=1.4.1" \
1826
"scikit-learn>=1.0.0" \
1927
"intake>=0.6.0" \
2028
&& conda clean -ay
@@ -27,7 +35,7 @@ COPY .git /opt/dask_sql/.git
2735
COPY dask_planner /opt/dask_sql/dask_planner
2836
COPY dask_sql /opt/dask_sql/dask_sql
2937
RUN cd /opt/dask_sql/ \
30-
&& pip install -e .
38+
&& pip install -e . -vv
3139

3240
# Set the script to execute
3341
COPY scripts/startup_script.py /opt/dask_sql/startup_script.py

docs/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ dependencies:
1414
- fastapi>=0.69.0
1515
- uvicorn>=0.11.3
1616
- tzlocal>=2.1
17-
- prompt_toolkit
18-
- pygments
17+
- prompt_toolkit>=3.0.8
18+
- pygments>=2.7.1
1919
- tabulate
2020
- nest-asyncio
2121
- setuptools-rust>=1.4.1

docs/requirements-docs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ fugue>=0.7.0
77
fastapi>=0.69.0
88
uvicorn>=0.11.3
99
tzlocal>=2.1
10-
prompt_toolkit
11-
pygments
10+
prompt_toolkit>=3.0.8
11+
pygments>=2.7.1
1212
tabulate
1313
nest-asyncio
1414
setuptools-rust>=1.4.1

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"fastapi>=0.69.0",
4848
"uvicorn>=0.11.3",
4949
"tzlocal>=2.1",
50-
"prompt_toolkit",
51-
"pygments",
50+
"prompt_toolkit>=3.0.8",
51+
"pygments>=2.7.1",
5252
"tabulate",
5353
"nest-asyncio",
5454
],

0 commit comments

Comments
 (0)