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

Create concise requirement and env files #37

Closed
andrewtavis opened this issue Apr 7, 2021 · 0 comments · Fixed by #41
Closed

Create concise requirement and env files #37

andrewtavis opened this issue Apr 7, 2021 · 0 comments · Fixed by #41
Labels
good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested

Comments

@andrewtavis
Copy link
Owner

andrewtavis commented Apr 7, 2021

This issue is for creating concise versions of requirements.txt and environment.yml for wikirec. It would be great if these files were created by hand with specific version numbers or generated in a way so that sub-dependencies don't always need to be updated.

As of now both files are being created with the following commands in the package's conda virtual environment:

pip list --format=freeze > requirements.txt  
conda env export --no-builds | grep -v "^prefix: " > environment.yml

wikirec, en-core-web-sm (spacy package that breaks tests), and other obviously unneeded packages are then removed from these files before being uploaded.

Any insights or help would be much appreciated!

@andrewtavis andrewtavis added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested and removed enhancement New feature or request labels Apr 7, 2021
andrewtavis added a commit that referenced this issue Apr 21, 2021
#37 remove unneeded packages from requirements.txt and environment.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant