-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add top2vec package #18064
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e2bbfee
top2vec yaml from grayskull
llperez 344d74a
adding cython dep to meta.yaml
llperez 72d72f4
added build reqs section with cython to both build and host
llperez b940bc7
indentation fix to pass the linter
llperez 6c36ebd
removed build section
llperez 377610f
removed cython dep from host section
llperez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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-feedstockIf they don't reply soon we can keep it in here for now but then it would only be needed under
run
.