Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Chore: conda recipe update #13764

Merged
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
4 changes: 2 additions & 2 deletions conda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ conda config --set anaconda_upload no
Build `spark-nlp` from the latest PyPI tar:

```bash
conda build . --python=3.7 && conda build . --python=3.8 && conda build . --python=3.9
conda build conda/
```

Example of uploading Conda package to Anaconda Cloud:

```bash
anaconda upload /anaconda3/conda-bld/noarch/spark-nlp-version-py37_0.tar.bz2
anaconda upload /anaconda3/conda-bld/noarch/spark-nlp-version-py_0.tar.bz2
```

## Install
Expand Down
4 changes: 0 additions & 4 deletions conda/conda_build_config.yaml

This file was deleted.

46 changes: 26 additions & 20 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
package:
name: "spark-nlp"
version: 4.4.4
{% set name = "spark-nlp" %}
{% set version = "4.4.0" %}

app:
entry: spark-nlp
summary: Natural Language Understanding Library for Apache Spark.
package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: spark-nlp-4.4.4.tar.gz
url: https://files.pythonhosted.org/packages/f9/e4/5eb83ed1c68be9fca636f6c62f9e55da3f2e511818e2a8feb852d6986064/spark-nlp-4.4.4.tar.gz
sha256: d9e2f017ab7cf6e82e775c38862f1a4ee32bbb0af6619e0b9051e6737711b5b6
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/spark-nlp-{{ version }}.tar.gz
sha256: e76fdd82b966ca169ba8a1fdcfe2e684fc63abaf88de841d2eb881cacb5e0105

build:
noarch: generic
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
script: "python -m pip install . --no-deps -vv"

requirements:
build:
- python
host:
- python >=3.7,<3.11
- pip
run:
- python
- python >=3.7,<3.11

test:
imports:
- sparknlp
commands:
- pip check
requires:
- pip

about:
home: https://github.com/JohnSnowLabs/spark-nlp/
license: Apache License 2.0
license_family: APACHE
license_url: https://github.com/JohnSnowLabs/spark-nlp/blob/master/LICENSE
description: John Snow Labs Spark-NLP is a natural language processing library built on top of Apache Spark ML. It provides simple, performant & accurate NLP annotations for machine learning pipelines, that scale easily in a distributed environment.
summary: Natural Language Understanding Library for Apache Spark.
home: https://github.com/JohnSnowLabs/spark-nlp
summary: John Snow Labs Spark NLP is a natural language processing library built on top of Apache Spark ML. It provides simple, performant & accurate NLP annotations for machine learning pipelines, that scale easily in a distributed environment.
license: Apache-2.0
license_file: LICENSE