Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,4 @@ jobs:
# install anaconda for upload
mamba install anaconda-client

anaconda upload --label dev noarch/*.tar.bz2
anaconda upload --label dev linux-64/*.tar.bz2
4 changes: 4 additions & 0 deletions continuous_integration/recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python:
- 3.7
- 3.8
- 3.9
40 changes: 27 additions & 13 deletions continuous_integration/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% set name = "dask-sql" %}
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev') + environ.get('VERSION_SUFFIX', '') %}
{% set py_version=environ.get('CONDA_PY', 36) %}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If not will probably need to add this back in and modify



package:
Expand All @@ -11,40 +10,55 @@ source:
git_url: ../..

build:
noarch: python
number: {{ GIT_DESCRIBE_NUMBER }}
string: py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
skip: true # [py2k]
entry_points:
- dask-sql-server = dask_sql.server.app:main
- dask-sql = dask_sql.cmd:main
string: py{{ python | replace(".", "") }}{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script: {{ PYTHON }} -m pip install . --no-deps -vv

requirements:
build:
- maven >=3.6.0
host:
- pip
- python >=3.6
- setuptools_scm
- python
- setuptools-scm
run:
- python >=3.6
- dask ==2021.10.0
- python
- dask >=2021.10.0
- pandas >=1.0.0
- jpype1 >=1.0.2
- openjdk >=8
- fastapi >=0.61.1
- uvicorn >=0.11.3
- tzlocal >=2.1
- prompt_toolkit >=3.0.8
- pygments >=2.7.3
- nest-asyncio >=1.0.0
- tabulate >=0.8.9
- prompt-toolkit
- pygments
- nest-asyncio
- tabulate
- importlib-metadata # [py<38]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the selector that makes noarch not an option


test:
imports:
- dask_sql
commands:
- pip check
- dask-sql-server --help
- dask-sql --help
requires:
- pip

about:
home: https://github.com/dask-contrib/dask-sql
summary: SQL Query Layer for dask
home: https://github.com/dask-contrib/dask-sql/
summary: SQL query layer for Dask
license: MIT
license_file: LICENSE.txt

extra:
recipe-maintainers:
- quasiben
- galipremsagar
- charlesbluca
- nils-braun
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def run(self):

setup(
name="dask_sql",
description="Dask SQL",
url="http://github.com/dask-contrib/dask-sql/",
description="SQL query layer for Dask",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting that this change maps to the conda recipe's summary.

url="https://github.com/dask-contrib/dask-sql/",
maintainer="Nils Braun",
maintainer_email="[email protected]",
license="MIT",
Expand All @@ -74,7 +74,7 @@ def run(self):
python_requires=">=3.6",
setup_requires=["setuptools_scm"] + sphinx_requirements,
install_requires=[
"dask[dataframe,distributed]==2021.10.0",
"dask[dataframe,distributed]>=2021.10.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need this if we want to use unpinned versions of Dask with the nightlies for certain features (dask-sql-server in particular)

"pandas>=1.0.0", # below 1.0, there were no nullable ext. types
"jpype1>=1.0.2",
"fastapi>=0.61.1",
Expand Down