Hi,
I got this idea that the python{2,3}-ipykernel packages could recommend some modules useful to use in the Jupyter Notebook.
Recommends: * numpy * matplotlib
Not sure if should be recommended or suggested: * pillow * scikit-image * scikit-learn * scipy * statsmodels * sympy * pandas
What do you think? It would mean that a user who dnf installs notebook gets some opt-outable things useful in the notebook. And who uses the Python 2 kernel, will get the Python 2 version.
This would also drag the things to the Python Classroom Notebook which I think is good - it will make the Notebook much easier to use for teaching Python for science - without the need to start with virtualenvs first or install additional packages. But of course it would also make the image bigger.
Also see [1] for relevant issue just for the Python Classroom Lab.
[1] https://github.com/fedora-python/fedora-kickstarts-python-classroom/issues/1
On 5 April 2017 at 05:00, Miro Hrončok mhroncok@redhat.com wrote:
Hi,
I got this idea that the python{2,3}-ipykernel packages could recommend some modules useful to use in the Jupyter Notebook.
Recommends:
- numpy
- matplotlib
Not sure if should be recommended or suggested:
- pillow
- scikit-image
- scikit-learn
- scipy
- statsmodels
- sympy
- pandas
I'd move `pandas` into the "recommends", but `suggests` seems reasonable to me for the others.
Definite +1 from me for the general idea though.
Cheers, Nick.
On Wed, Apr 5, 2017 at 7:13 AM, Nick Coghlan ncoghlan@gmail.com wrote:
On 5 April 2017 at 05:00, Miro Hrončok mhroncok@redhat.com wrote:
Hi,
I got this idea that the python{2,3}-ipykernel packages could recommend some modules useful to use in the Jupyter Notebook.
Recommends:
- numpy
- matplotlib
Not sure if should be recommended or suggested:
- pillow
- scikit-image
- scikit-learn
- scipy
- statsmodels
- sympy
- pandas
I'd move `pandas` into the "recommends", but `suggests` seems reasonable to me for the others.
Note that Suggests are "ignored" by DNF, it is used only for "favoring" packages if there are multiple provides.
Definite +1 from me for the general idea though.
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
On 04/05/2017 08:17 AM, Igor Gnatenko wrote:
On Wed, Apr 5, 2017 at 7:13 AM, Nick Coghlan ncoghlan@gmail.com wrote:
On 5 April 2017 at 05:00, Miro Hrončok mhroncok@redhat.com wrote:
Hi,
I got this idea that the python{2,3}-ipykernel packages could recommend some modules useful to use in the Jupyter Notebook.
Recommends:
- numpy
- matplotlib
Not sure if should be recommended or suggested:
- pillow
- scikit-image
- scikit-learn
- scipy
- statsmodels
- sympy
- pandas
I'd move `pandas` into the "recommends", but `suggests` seems reasonable to me for the others.
Note that Suggests are "ignored" by DNF, it is used only for "favoring" packages if there are multiple provides.
Nice :) At least scipy (which is a core package just like numpy and matplotlib) and pandas should be recommended. For the Classroom Lab I think it would be nice to have the other packages too for scientific Python classes, but I think they should be added via a group or the kickstart itself to avoid bothering anyone who installs ipykernel.
Greetings, Christian
On 5.4.2017 10:31, Christian Dersch wrote:
On 04/05/2017 08:17 AM, Igor Gnatenko wrote:
On Wed, Apr 5, 2017 at 7:13 AM, Nick Coghlan ncoghlan@gmail.com wrote:
On 5 April 2017 at 05:00, Miro Hrončok mhroncok@redhat.com wrote:
Hi,
I got this idea that the python{2,3}-ipykernel packages could recommend some modules useful to use in the Jupyter Notebook.
Recommends:
- numpy
- matplotlib
Not sure if should be recommended or suggested:
- pillow
- scikit-image
- scikit-learn
- scipy
- statsmodels
- sympy
- pandas
I'd move `pandas` into the "recommends", but `suggests` seems reasonable to me for the others.
Note that Suggests are "ignored" by DNF, it is used only for "favoring" packages if there are multiple provides.
Nice :) At least scipy (which is a core package just like numpy and matplotlib) and pandas should be recommended. For the Classroom Lab I think it would be nice to have the other packages too for scientific Python classes, but I think they should be added via a group or the kickstart itself to avoid bothering anyone who installs ipykernel.
OK, proposal:
Recommend from pythonX-ipykernel:
pythonX-matplotlib pythonX-numpy pythonX-pandas pythonX-scipy
Have @pythonX-science groups in comps with:
(all of the above) pythonX-pillow pythonX-scikit-{image,learn} pythonX-statsmodels {python3-,}sympy (there's no python2-sympy) pythonX-matplotlib-tk and python3-pillow-tk conventionalized by X11*
Add both comps groups to the Python Classroom Lab.
* X11 is also installed when we run on Wayland.
On 04/05/2017 11:03 AM, Miro Hrončok wrote:
OK, proposal:
Recommend from pythonX-ipykernel:
pythonX-matplotlib pythonX-numpy pythonX-pandas pythonX-scipy
Have @pythonX-science groups in comps with:
(all of the above) pythonX-pillow pythonX-scikit-{image,learn} pythonX-statsmodels {python3-,}sympy (there's no python2-sympy) pythonX-matplotlib-tk and python3-pillow-tk conventionalized by X11*
Add both comps groups to the Python Classroom Lab.
- X11 is also installed when we run on Wayland.
+1 for that proposal!
Greetings, Christian
Christian Dersch chrisdersch@gmail.com schrieb am Mi., 5. Apr. 2017 um 11:19 Uhr:
On 04/05/2017 11:03 AM, Miro Hrončok wrote:
OK, proposal:
Recommend from pythonX-ipykernel:
pythonX-matplotlib pythonX-numpy pythonX-pandas pythonX-scipy
Have @pythonX-science groups in comps with:
(all of the above) pythonX-pillow pythonX-scikit-{image,learn} pythonX-statsmodels {python3-,}sympy (there's no python2-sympy) pythonX-matplotlib-tk and python3-pillow-tk conventionalized by X11*
Add both comps groups to the Python Classroom Lab.
- X11 is also installed when we run on Wayland.
+1 for that proposal!
+1, sounds good!
Best, Thomas
On 5.4.2017 11:03, Miro Hrončok wrote:
On 5.4.2017 10:31, Christian Dersch wrote:
On 04/05/2017 08:17 AM, Igor Gnatenko wrote:
On Wed, Apr 5, 2017 at 7:13 AM, Nick Coghlan ncoghlan@gmail.com wrote:
On 5 April 2017 at 05:00, Miro Hrončok mhroncok@redhat.com wrote:
Hi,
I got this idea that the python{2,3}-ipykernel packages could recommend some modules useful to use in the Jupyter Notebook.
Recommends:
- numpy
- matplotlib
Not sure if should be recommended or suggested:
- pillow
- scikit-image
- scikit-learn
- scipy
- statsmodels
- sympy
- pandas
I'd move `pandas` into the "recommends", but `suggests` seems reasonable to me for the others.
Note that Suggests are "ignored" by DNF, it is used only for "favoring" packages if there are multiple provides.
Nice :) At least scipy (which is a core package just like numpy and matplotlib) and pandas should be recommended. For the Classroom Lab I think it would be nice to have the other packages too for scientific Python classes, but I think they should be added via a group or the kickstart itself to avoid bothering anyone who installs ipykernel.
OK, proposal:
Recommend from pythonX-ipykernel:
pythonX-matplotlib pythonX-numpy pythonX-pandas pythonX-scipy
Have @pythonX-science groups in comps with:
(all of the above) pythonX-pillow pythonX-scikit-{image,learn} pythonX-statsmodels {python3-,}sympy (there's no python2-sympy) pythonX-matplotlib-tk and python3-pillow-tk conventionalized by X11*
Add both comps groups to the Python Classroom Lab.
- X11 is also installed when we run on Wayland.
After talking to others (notably pviktori), I've decided to:
* add pillow to the recommends as well * only create and include the python-science group for python 3
python-devel@lists.fedoraproject.org