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

Add top2vec package #18064

Merged
merged 6 commits into from
Feb 17, 2022
Merged
Changes from 4 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
51 changes: 51 additions & 0 deletions recipes/top2vec/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{% set name = "top2vec" %}
{% set version = "1.0.26" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/top2vec-{{ version }}.tar.gz
sha256: cd6ffc093b6ac2e24140df91e68b7332be013a969815d75714ebd06b3a022de7

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

requirements:
build:
- python >=3.6
- cython
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure cython and a build section is required? Upstream looks like pure normal python.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@BastianZim previous checks were failing as hdbscan depends on cython. Will try without the build section.

Copy link
Member

Choose a reason for hiding this comment

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

In that case please open an issue with hdbscan as that seems like an error with them: https://github.com/conda-forge/hdbscan-feedstock

If they don't reply soon we can keep it in here for now but then it would only be needed under run.

host:
- pip
- python >=3.6
- cython
run:
- cython
- gensim <4.0.0
- hdbscan >=0.8.27
- numpy >=1.20.0
- pandas
- python >=3.6
- umap-learn >=0.5.1
- wordcloud

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

about:
home: https://github.com/ddangelov/Top2Vec
summary: Top2Vec learns jointly embedded topic, document and word vectors.
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- llperez