-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 recipe for Gensim #3225
Add recipe for Gensim #3225
Changes from 26 commits
4f80272
1b25b9c
d96feb8
f88123a
321e1bb
62aef3d
454a9a5
b28f0e8
bb4ecc5
7831ca8
22c08c7
74bda87
b6a7a3e
118e8b4
e47dff8
b38a352
aa07df0
85fb030
f6e8a6c
31e6c43
df8323e
6c23113
c71e153
42ac3c5
fe9051d
a5395e8
6d2164a
a43cba4
0d7ff05
3b6612f
61854a0
4df111d
45218e8
1bb5ce8
53a16a2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{% set name = "gensim" %} | ||
{% set version = "2.3.0" %} | ||
{% set sha256 = "7d0dccc7d2c576e270037949874800b7cfbc86ef081ff981483f612cd18e223f" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
fn: {{ name }}-{{ version }}.tar.gz | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
build: | ||
number: 0 | ||
script: python setup.py install --single-version-externally-managed --record record.txt | ||
|
||
requirements: | ||
build: | ||
- python | ||
- setuptools | ||
- numpy >=1.11.3 | ||
- scipy >=0.18.1 | ||
- six >=1.5.0 | ||
- smart_open >=1.2.1 | ||
|
||
run: | ||
- python | ||
- numpy >=1.11.3 | ||
- scipy >=0.18.1 | ||
- six >=1.5.0 | ||
- smart_open >=1.2.1 | ||
|
||
test: | ||
requires: | ||
- morfessor | ||
- scikit-learn | ||
|
||
imports: | ||
- gensim | ||
- gensim.corpora | ||
- gensim.models | ||
- gensim.models.wrappers | ||
- gensim.parsing | ||
- gensim.scripts | ||
- gensim.similarities | ||
- gensim.sklearn_integration | ||
- gensim.summarization | ||
- gensim.test | ||
- gensim.topic_coherence | ||
|
||
commands: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why you removed test run? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a few reasons for removing the test runs-
Do we want to add the test run in the recipe? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we want to run tests for sure. About win32 - we can check win support with x64. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tests are failing for
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a problem with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The pinning has solved the
|
||
- conda inspect linkages -p $PREFIX gensim # [not win] | ||
- conda inspect objects -p $PREFIX gensim # [osx] | ||
|
||
about: | ||
home: http://github.com/RaRe-Technologies/gensim | ||
license: LGPL 3.0 | ||
license_file: COPYING | ||
license_family: LGPL | ||
summary: 'Topic Modelling for Humans' | ||
description: | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use the official tagline and description of gensim (see https://github.com/RaRe-Technologies/gensim). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes |
||
Gensim is a Python library for topic modelling, document indexing | ||
and similarity retrieval with large corpora. | ||
Target audience is the natural language processing (NLP) | ||
and information retrieval (IR) community. | ||
doc_url: http://radimrehurek.com/gensim/ | ||
dev_url: https://github.com/RaRe-Technologies/gensim | ||
|
||
extra: | ||
recipe-maintainers: | ||
- souravsingh | ||
- tmylk | ||
- menshikh-iv |
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.
Should we update this every release?
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.
The version and the sha256 checksum is updated for every release.
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.
Should we update it manually every release?
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.
Yes, We only need to update the
version
and thesha256
for every release. This is done by sending a PR to the complete gensim feedstock repository.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.
Sorry, I don't catch, should we update this two lines over creating PR here after each release? Another question - what is this hash from?
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.
If a new release has been made when this recipe hasn't been merged, we update it the two lines from here to ensure that the latest version is packaged.
Otherwise, if this patch is merged before the new release, we will be sending a pull request to the feedstock repository of gensim, which would look similar to this- https://github.com/conda-forge/validictory-feedstock and the maintainers of the recipe(mentioned in the recipe-maintainers section of the recipe) will take a look and merge the patch to update the version of the conda package.
The
sha256
comes from the project link in pypi.io.