Updated src url, Fixed pytest requirements to run unit tests
@@ -6,10 +6,8 @@ package:
version: {{ version }}
source:
- path: ../../src/text_extensions_for_pandas-0.1b2
- #sha256: ce8e47edcb4ef2968736dff98b39fa834a592d2d7cb7f5ef897bc0dd94236571
- #url: https://github.com/CODAIT/text-extensions-for-pandas/releases/download/{{ version }}/text_extensions_for_pandas-{{ version }}.tar.gz
- #sha256: 36c8105da277af2a30055d79d87597054ea8993939983c808a3673f7f1ea2435
+ url: https://github.com/CODAIT/text-extensions-for-pandas/archive/{{ version }}.tar.gz
+ sha256: ab14b12dcea4b6928c2e1e5c83e3d23dd2b14baee1954504460ed93dd321405c
build:
skip: true # [py<37]
@@ -24,10 +22,8 @@ requirements:
run:
- python
- numpy >=1.17
- - pandas >=1.0.3
+ - pandas >=1.0.3,<1.2.0
- pyarrow >=1.0.0
- #- transformers >=3.0.0
- #- spacy ==2.3.2
- regex
- memoized-property # [py36,py37]
- requests
@@ -36,11 +32,15 @@ test:
imports:
- text_extensions_for_pandas
requires:
+ - python
+ - pip
- pytest
+ - transformers >=3.0.0
+ - spacy ==2.3.2
+ - ibm-watson
commands:
- - ls .
- - ls ..
- - pytest -v
+ - python -m spacy download en_core_web_sm
+ - pytest -v --pyargs text_extensions_for_pandas
about:
home: https://github.com/CODAIT/text-extensions-for-pandas
