-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Merged
Merged
Add recipe for Gensim #3225
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4f80272
Add recipe for Gensim
invalid-email-address 1b25b9c
Update meta.yaml
souravsingh d96feb8
Add additional dependencies
souravsingh f88123a
Make fixes
souravsingh 321e1bb
Update minimum NumPy and Scipy vers and fix tests
souravsingh 62aef3d
Update meta.yaml
souravsingh 454a9a5
Fix test
souravsingh b28f0e8
Fix problems
souravsingh bb4ecc5
Update meta.yaml
souravsingh 7831ca8
Update meta.yaml
souravsingh 22c08c7
Update meta.yaml
souravsingh 74bda87
Small fix
souravsingh b6a7a3e
Fix test requirements
souravsingh 118e8b4
Update meta.yaml
souravsingh e47dff8
Remove cython and update the about sections
souravsingh b38a352
Updates to about section
souravsingh aa07df0
Update version
souravsingh 85fb030
Skip win32 builds
souravsingh f6e8a6c
Remove python-annoy from test dependency
souravsingh 31e6c43
Update meta.yaml
souravsingh df8323e
Add command
souravsingh 6c23113
Update meta.yaml
souravsingh c71e153
Make updates to recipe
souravsingh 42ac3c5
Update meta.yaml
souravsingh fe9051d
Update meta.yaml
souravsingh a5395e8
Add test requirements
souravsingh 6d2164a
Make changes to accomodate nosetests
souravsingh a43cba4
Pin scikit-learn version
souravsingh 0d7ff05
Remove tensorflow from test requirements
souravsingh 3b6612f
Skip builds entirely for OSX and Windows
souravsingh 61854a0
Fix formatting
souravsingh 4df111d
Remove keras from test requires
souravsingh 45218e8
Test support for win64 platform
souravsingh 1bb5ce8
Update meta.yaml
ocefpaf 53a16a2
add the skip statement
ocefpaf 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,78 @@ | ||
{% 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 | ||
skip: true # [win32 or osx or py34] | ||
features: | ||
- vc9 # [win and py27] | ||
- vc10 # [win and py34] | ||
- vc14 # [win and (py35 or py36)] | ||
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: | ||
- nose | ||
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. Its probably sufficient initially to have
for all the standard importable modules |
||
- testfixtures | ||
- morfessor | ||
- scikit-learn ==0.18.2 | ||
- pyemd | ||
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: | ||
- nosetests --exe -v gensim | ||
|
||
about: | ||
home: http://github.com/RaRe-Technologies/gensim | ||
license: LGPL-3.0 | ||
license_file: COPYING | ||
license_family: LGPL | ||
summary: 'Topic Modelling for Humans' | ||
description: | | ||
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 |
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.
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.