question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Too vague contribution guidelines

See original GitHub issue

The contributing guidelines given everywhere tell only the development git workflow and does not actually say how to setup the development environment.

I think it should let new contributors know the packages required for installing scikit-learn, for example, numpy, scipy and cython.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
jnothmancommented, Sep 4, 2017

Well if it makes you happy, it can’t be that baaaad…

On 5 September 2017 at 09:33, Caio Oliveira notifications@github.com wrote:

I agree, unfortunately. I wouldn’t remove manual install instructions, but providing an “easy path” with docker would be great. As I said previously, writing make devtools; devtools/env.sh make makes me really happy 😃

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scikit-learn/scikit-learn/issues/9687#issuecomment-327039149, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEz63mG_jxVaT_-RRYytgK-yAVo59-fks5sfIjNgaJpZM4PMJdC .

1reaction
jnothmancommented, Sep 14, 2017

Never mind docker. Anaconda goes a long way to not needing Docker for something like scikit-learn. At the moment our docs talk about a full Anaconda setup, or using conda to install scikit-learn. What we should do in the contributor docs is describe how to use conda to set up an environment, install dependencies and then do an in-place build of scikit-learn for development. We could also consider an environment.yml to make this “one-click” with conda-env.

On 14 September 2017 at 22:29, Roman Yurchak notifications@github.com wrote:

(from @caioaao https://github.com/caioaao 's #8960 (comment) https://github.com/scikit-learn/scikit-learn/pull/8960#issuecomment-327026652 ) we could generate images that mirror what CIs are running, make everything reproducible with minimal effort, etc. I did this after a merge from master that broke the build on my machine. python users usually can rely on virtualenv/anaconda, but gets messy really fast, specially when you’re the developer (in contrast with being the user of the library). being able to run make devtools; devtools/env.sh make is the optimal flow for me: this way we only need docker installed and nothing else.

The idea of getting full reproducibility of CIs is interesting but IMO it’s more the advanced usage and not something a typical person would need to start contributing to scikit-learn. Just conda virtualenv should be enough in most cases; I don’t see why it would get messy (one can always re-make a clean env in case of doubt). As @lesteve https://github.com/lesteve said, adding docker to the official instructions would mean that somebody would need to spend time supporting it (e.g. “I have Windows XP and my docker container with scikit-learn dev is not working as it should…”). However, having an official docker setup for sklearn dev environement would be useful (maybe under a separate repo or in some subfolder of scikit-learn/scikit-learn) so that it would not need to be re-invented each time?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scikit-learn/scikit-learn/issues/9687#issuecomment-329466734, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEz6zPrhcUh-j66Nd-44TDFf3cHO27Uks5siRw3gaJpZM4PMJdC .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Retirement Topics - IRA Contribution Limits
Information about IRA contribution limits. Learn about tax deductions, IRAs and work retirement plans, spousal IRAs and more.
Read more >
Comment Submitted by Gina C
Docket (FTC-2019-0054) Document. Public Submission. Comment Submitted by Gina C. Posted by the Federal Trade Commission on Nov 14, 2019.
Read more >
Rubric for Assessing Candidate Contributions to Diversity ...
The sample rubric, below, is a template for search committees to use for assessing candidate contributions to diversity, equity, inclusion, and belonging ...
Read more >
docs/CONTRIBUTING.md at main
Welcome to GitHub docs contributing guide. Thank you for investing your time in contributing to our project! Any contribution you make will be...
Read more >
Read the Belmont Report
Ethical Principles and Guidelines for the Protection of Human Subjects of Research. The Belmont Report. Office of the Secretary.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found