Code Monkey home page Code Monkey logo

jupyter-feedstock's Introduction

About jupyter-feedstock

Feedstock license: BSD-3-Clause

Home: http://jupyter.org

Package license: BSD-3-Clause

Summary: Jupyter metapackage. Install all the Jupyter components in one go.

Development: https://github.com/jupyter/jupyter

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing jupyter

Installing jupyter from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, jupyter can be installed with conda:

conda install jupyter

or with mamba:

mamba install jupyter

It is possible to list all of the versions of jupyter available on your platform with conda:

conda search jupyter --channel conda-forge

or with mamba:

mamba search jupyter --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search jupyter --channel conda-forge

# List packages depending on `jupyter`:
mamba repoquery whoneeds jupyter --channel conda-forge

# List dependencies of `jupyter`:
mamba repoquery depends jupyter --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge Anaconda-Cloud channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating jupyter-feedstock

If you would like to improve the jupyter recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/jupyter-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

jupyter-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar duncanmmacleod avatar github-actions[bot] avatar isuruf avatar minrk avatar ocefpaf avatar regro-cf-autotick-bot avatar xylar avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jupyter-feedstock's Issues

Including Jupyter breaks pip within environment

Edit: Simplify text with smaller reproducible example.

When I add jupyter==1.0.0, it breaks the pip installation within the environment. With this environment.yml file:

name: 'temp5'
channels:
    - conda-forge
dependencies:
    - jupyter==1.0.0
    - pip>=10.0.1
    - python=3.6

After installing and entering the environment, even pip show pip doesn't work:

> pip show pip
Exception:
Traceback (most recent call last):
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2869, in _dep_map
    return self.__dep_map
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2663, in __getattr__
    raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/packaging/requirements.py", line 93, in __init__
    req = REQUIREMENT.parseString(requirement_string)
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pyparsing.py", line 1632, in parseString
    raise exc
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pyparsing.py", line 1622, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pyparsing.py", line 3395, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pyparsing.py", line 1383, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pyparsing.py", line 3183, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 33), (line:1, col:34)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2949, in __init__
    super(Requirement, self).__init__(requirement_string)
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/packaging/requirements.py", line 97, in __init__
    requirement_string[e.loc:e.loc + 8]))
pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'; extra '"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_internal/basecommand.py", line 141, in main
    status = self.run(options, args)
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_internal/commands/show.py", line 47, in run
    results, list_files=options.files, verbose=options.verbose):
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_internal/commands/show.py", line 137, in print_results
    pkg.project_name for pkg in pkg_resources.working_set
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_internal/commands/show.py", line 138, in <listcomp>
    if name in [required.name for required in pkg.requires()]
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2607, in requires
    dm = self._dep_map
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2871, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2881, in _compute_dependencies
    reqs.extend(parse_requirements(req))
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2942, in parse_requirements
    yield Requirement(line)
  File "/homes/nber/barronk-dua51929/local/anaconda3/envs/temp5/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2951, in __init__
    raise RequirementParseError(str(e))
pip._vendor.pkg_resources.RequirementParseError: Invalid requirement, parse error at "'; extra '"

Path shared with jupyter_core

Hi

Not sure I'm in the right place to report this, or if it matters, but I happened to notice that jupyter and jupyter_core appear to share a path:

$ conda create --name=jclob python=3.6
$ conda activate jclob
$ conda config --set path_conflict prevent
$ conda install -c conda-forge jupyter
[...]
ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge::jupyter_core-4.4.0-py_0, conda-forge::jupyter-1.0.0-py_1
  path: 'lib/python3.6/site-packages/jupyter.py'
If you'd like to proceed anyway, re-run the command with the `--clobber` flag.
.

ClobberError: This transaction has incompatible packages due to a shared path.
  packages: conda-forge::jupyter_core-4.4.0-py_0, conda-forge::jupyter-1.0.0-py_1
  path: 'lib/python3.6/site-packages/__pycache__/jupyter.cpython-36.pyc'
If you'd like to proceed anyway, re-run the command with the `--clobber` flag.
.

pip check does not find jupyter

Issue:

When requiring jupyter, such as for gf-kernel, pip check cannot find jupyter, as supposedly it is not a pip package. (tbh I'm not quite sure what pip check checks within a conda environment. Anyway, it would be great if this could work so I can do the check but still build successfully.


Environment (conda list):
alabaster                 0.7.12                     py_0    conda-forge
babel                     2.9.0              pyhd3deb0d_0    conda-forge
brotlipy                  0.7.0           py39hcbf5805_1001    conda-forge
c-ares                    1.17.1               hc929b4f_0    conda-forge
ca-certificates           2020.12.5            h033912b_0    conda-forge
certifi                   2020.12.5        py39h6e9494a_1    conda-forge
cffi                      1.14.4           py39h7786acb_1    conda-forge
chardet                   4.0.0            py39h6e9494a_1    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
cryptography              3.3.1            py39h79a2c39_1    conda-forge
curl                      7.71.1               hcb81553_8    conda-forge
docutils                  0.16             py39h6e9494a_3    conda-forge
expat                     2.2.9                hb1e8313_2    conda-forge
gettext                   0.19.8.1          h7937167_1005    conda-forge
git                       2.30.0          pl5320hd05cdc2_0    conda-forge
grayskull                 0.8.4              pyhd8ed1ab_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
krb5                      1.17.2               h60d9502_0    conda-forge
libcurl                   7.71.1               h9bf37e3_8    conda-forge
libcxx                    11.0.1               habf9029_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.3                  h046ec9c_2    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
libnghttp2                1.41.0               h7580e61_2    conda-forge
libssh2                   1.9.0                h8a08a2b_5    conda-forge
markupsafe                1.1.1            py39hcbf5805_3    conda-forge
ncurses                   6.2                  h2e338ed_4    conda-forge
openssl                   1.1.1i               h35c211d_0    conda-forge
packaging                 20.8               pyhd3deb0d_0    conda-forge
pcre                      8.44                 hb1e8313_0    conda-forge
perl                      5.32.0               hbcb3906_0    conda-forge
pip                       20.3.3             pyhd8ed1ab_0    conda-forge
progressbar2              3.53.1             pyh9f0ad1d_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygments                  2.7.4              pyhd8ed1ab_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pysocks                   1.7.1            py39h6e9494a_3    conda-forge
python                    3.9.1           h1d169a7_3_cpython    conda-forge
python-utils              2.5.1              pyh44b312d_0    conda-forge
python_abi                3.9                      1_cp39    conda-forge
pytz                      2020.5             pyhd8ed1ab_0    conda-forge
rapidfuzz                 0.12.5           py39ha36be7a_0    conda-forge
readline                  8.0                  h0678c8f_2    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
ruamel.yaml               0.16.12          py39hcbf5805_2    conda-forge
ruamel.yaml.clib          0.2.2            py39hcbf5805_2    conda-forge
ruamel.yaml.jinja2        0.2.4                      py_1    conda-forge
setuptools                49.6.0           py39h6e9494a_3    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
snowballstemmer           2.0.0                      py_0    conda-forge
sphinx                    3.4.3              pyhd8ed1ab_0    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    1.0.3                      py_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.4                      py_0    conda-forge
sqlite                    3.34.0               h17101e1_0    conda-forge
stdlib-list               0.7.0                      py_2    conda-forge
tk                        8.6.10               h0419947_1    conda-forge
tzdata                    2020f                he74cb21_0    conda-forge
urllib3                   1.26.2             pyhd8ed1ab_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
zlib                      1.2.11            h7795811_1010    conda-forge


Details about conda and system ( conda info ):
     active environment : gsk
    active env location : /Users/utopist/miniforge3/envs/gsk
            shell level : 2
       user config file : /Users/utopist/.condarc
 populated config files : /Users/utopist/miniforge3/.condarc
                          /Users/utopist/.condarc
          conda version : 4.9.2
    conda-build version : 3.18.12
         python version : 3.7.6.final.0
       virtual packages : __osx=10.15.7=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/utopist/miniforge3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/utopist/miniforge3/pkgs
                          /Users/utopist/.conda/pkgs
       envs directories : /Users/utopist/miniforge3/envs
                          /Users/utopist/.conda/envs
               platform : osx-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.7.6 Darwin/19.6.0 OSX/10.15.7
                UID:GID : 501:20
             netrc file : /Users/utopist/.netrc
           offline mode : False

Update for jupyter notebook 6.0.0

@minrk @ocefpaf @xylar jupyter notebook 6.0.0 was just released to pypi. I tried upgrading jupyter notebook via pip into a conda env that had the latest version of all packages, and it works fine. Might be worth updating the conda package?

remove QT dependency

I think it would be great if QT and qtconsole would be optional.
It ends up downloading a lot of data that is unnecessary, most of the time.

For me it pulls in:

    gst-plugins-base-1.14.5    |       h0935bb2_0         6.8 MB  conda-forge
    gstreamer-1.14.5           |       h36ae1b5_0         4.5 MB  conda-forge
    libclang-9.0.0             |       hc9558a2_1        22.2 MB  conda-forge
    libllvm9-9.0.0             |       hc9558a2_2        25.1 MB  conda-forge
    pyqt-5.12.3                |   py37hcca6a23_0         6.3 MB  conda-forge
    qt-5.12.5                  |       h0c104cb_0        99.0 MB  conda-forge

wouldn't it be nice to have a seperate package for the qtconsole?

Can't open jupyter notebook in new conda environment on windows

I added this on SO but that question is stagnant so i'm posting here.

Actual Behavior

I try to open a jupyter notebook in a new environment and I get a kernel error.

Expected Behavior

I can open and run code in the jupyter notebook.

Steps to Reproduce

conda create -n test_env2 python=3.6
conda activate test_env2
conda install -c conda-forge jupyter
jupyter notebook

Anaconda or Miniconda version:

Anaconda: https://repo.anaconda.com/archive/Anaconda3-5.3.0-Windows-x86_64.exe

Operating System:

Windows 7 enterprise

conda info
backcall                  0.1.0                      py_0    conda-forge
bleach                    2.1.4                      py_1    conda-forge
ca-certificates           2018.8.24            ha4d7672_0    conda-forge
certifi                   2018.8.24             py36_1001    conda-forge
colorama                  0.3.9                      py_1    conda-forge
decorator                 4.3.0                      py_0    conda-forge
entrypoints               0.2.3                    py36_2    conda-forge
html5lib                  1.0.1                      py_0    conda-forge
icu                       58.2                     vc14_0  [vc14]  conda-forge
ipykernel                 5.0.0                      py_0    conda-forge
ipython                   6.5.0                    py36_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.4.2                      py_0    conda-forge
jedi                      0.12.1                   py36_0    conda-forge
jinja2                    2.10                       py_1    conda-forge
jpeg                      9b                       vc14_2  [vc14]  conda-forge
jsonschema                2.6.0                    py36_2    conda-forge
jupyter                   1.0.0                      py_1    conda-forge
jupyter_client            5.2.3                      py_1    conda-forge
jupyter_console           5.2.0                    py36_1    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
libpng                    1.6.34                   vc14_0  [vc14]  conda-forge
libsodium                 1.0.16                   vc14_0  [vc14]  conda-forge
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gmp                 6.1.0                         2
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
markupsafe                1.0              py36hfa6e2cd_1    conda-forge
mistune                   0.8.3            py36hfa6e2cd_2    conda-forge
msys2-conda-epoch         20160418                      1
nbconvert                 5.3.1                      py_1    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
notebook                  5.7.0                    py36_0    conda-forge
openssl                   1.0.2o                   vc14_0  [vc14]  conda-forge
pandoc                    2.3                           0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.3.1                      py_0    conda-forge
pickleshare               0.7.5                    py36_0    conda-forge
pip                       10.0.1                   py36_0
prometheus_client         0.3.1                      py_1    conda-forge
prompt_toolkit            1.0.15                     py_1    conda-forge
pygments                  2.2.0                      py_1    conda-forge
pyqt                      5.6.0            py36h764d66f_7    conda-forge
python                    3.6.6                hea74fb7_0
python-dateutil           2.7.3                      py_0    conda-forge
pywinpty                  0.5.4                    py36_2    conda-forge
pyzmq                     17.1.2           py36hf576995_0    conda-forge
qt                        5.6.2                    vc14_1  [vc14]  conda-forge
qtconsole                 4.4.1                    py36_1    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                40.2.0                   py36_0
simplegeneric             0.8.1                      py_1    conda-forge
sip                       4.18.1           py36h6538335_0    conda-forge
six                       1.11.0                   py36_1    conda-forge
terminado                 0.8.1                    py36_1    conda-forge
testpath                  0.3.1                    py36_1    conda-forge
tornado                   5.1.1            py36hfa6e2cd_0    conda-forge
traitlets                 4.3.2                    py36_0    conda-forge
vc                        14                            0    conda-forge
vs2015_runtime            14.15.26706          h3a45250_0
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.31.1                   py36_0
widgetsnbextension        3.4.2                    py36_0    conda-forge
wincertstore              0.2              py36h7fe50ca_0
winpty                    0.4.3                         4    conda-forge
zeromq                    4.2.5                    vc14_2  [vc14]  conda-forge
zlib                      1.2.11                   vc14_0  [vc14]  conda-forge
conda list --show-channel-urls
backcall                  0.1.0                      py_0    conda-forge
bleach                    2.1.4                      py_1    conda-forge
ca-certificates           2018.8.24            ha4d7672_0    conda-forge
certifi                   2018.8.24             py36_1001    conda-forge
colorama                  0.3.9                      py_1    conda-forge
decorator                 4.3.0                      py_0    conda-forge
entrypoints               0.2.3                    py36_2    conda-forge
html5lib                  1.0.1                      py_0    conda-forge
icu                       58.2                     vc14_0  [vc14]  conda-forge
ipykernel                 5.0.0                      py_0    conda-forge
ipython                   6.5.0                    py36_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.4.2                      py_0    conda-forge
jedi                      0.12.1                   py36_0    conda-forge
jinja2                    2.10                       py_1    conda-forge
jpeg                      9b                       vc14_2  [vc14]  conda-forge
jsonschema                2.6.0                    py36_2    conda-forge
jupyter                   1.0.0                      py_1    conda-forge
jupyter_client            5.2.3                      py_1    conda-forge
jupyter_console           5.2.0                    py36_1    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
libpng                    1.6.34                   vc14_0  [vc14]  conda-forge
libsodium                 1.0.16                   vc14_0  [vc14]  conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    defaults
m2w64-gcc-libs            5.3.0                         7    defaults
m2w64-gcc-libs-core       5.3.0                         7    defaults
m2w64-gmp                 6.1.0                         2    defaults
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markupsafe                1.0              py36hfa6e2cd_1    conda-forge
mistune                   0.8.3            py36hfa6e2cd_2    conda-forge
msys2-conda-epoch         20160418                      1    defaults
nbconvert                 5.3.1                      py_1    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
notebook                  5.7.0                    py36_0    conda-forge
openssl                   1.0.2o                   vc14_0  [vc14]  conda-forge
pandoc                    2.3                           0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.3.1                      py_0    conda-forge
pickleshare               0.7.5                    py36_0    conda-forge
pip                       10.0.1                   py36_0    defaults
prometheus_client         0.3.1                      py_1    conda-forge
prompt_toolkit            1.0.15                     py_1    conda-forge
pygments                  2.2.0                      py_1    conda-forge
pyqt                      5.6.0            py36h764d66f_7    conda-forge
python                    3.6.6                hea74fb7_0    defaults
python-dateutil           2.7.3                      py_0    conda-forge
pywinpty                  0.5.4                    py36_2    conda-forge
pyzmq                     17.1.2           py36hf576995_0    conda-forge
qt                        5.6.2                    vc14_1  [vc14]  conda-forge
qtconsole                 4.4.1                    py36_1    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                40.2.0                   py36_0    defaults
simplegeneric             0.8.1                      py_1    conda-forge
sip                       4.18.1           py36h6538335_0    conda-forge
six                       1.11.0                   py36_1    conda-forge
terminado                 0.8.1                    py36_1    conda-forge
testpath                  0.3.1                    py36_1    conda-forge
tornado                   5.1.1            py36hfa6e2cd_0    conda-forge
traitlets                 4.3.2                    py36_0    conda-forge
vc                        14                            0    conda-forge
vs2015_runtime            14.15.26706          h3a45250_0    defaults
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.31.1                   py36_0    defaults
widgetsnbextension        3.4.2                    py36_0    conda-forge
wincertstore              0.2              py36h7fe50ca_0    defaults
winpty                    0.4.3                         4    conda-forge
zeromq                    4.2.5                    vc14_2  [vc14]  conda-forge
zlib                      1.2.11                   vc14_0  [vc14]  conda-forge

jupyter's python3 kernel seems to fail with Python 3.9 and 3.10 (Exception 'coroutine' object is not subscriptable)

Steps to reproduce:

conda create -n lf4 -c conda-forge jupyter python=3.9
conda activate lf4
jupyter console --kernel="python3"

Then in the jupyter console:

$ jupyter console --kernel="python3"
Jupyter console 6.4.0

Python 3.9.9 | packaged by conda-forge | (main, Dec 20 2021, 02:41:06) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.30.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: 4/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
  while self.client.iopub_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Unhandled exception in event loop:
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/prompt_toolkit/input/vt100.py", line 170, in callback_wrapper
    callback()
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 690, in read_from_input
    self.key_processor.process_keys()
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 271, in process_keys
    self._process_coroutine.send(key_press)
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
    self._call_handler(matches[-1], key_sequence=buffer[:])
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 321, in _call_handler
    handler.call(event)
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 124, in call
    result = self.handler(event)
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 475, in _
    self.handle_iopub()
  File "/Users/ondrej/mambaforge/envs/lf4/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
    msg_type = sub_msg['header']['msg_type']

Exception 'coroutine' object is not subscriptable
Press ENTER to continue...

This works with python=3.8. Originally reported at: https://fortran-lang.discourse.group/t/i-have-problem-with-lfortran-installation/2440/7

I am on Apple M1, but the original report was on Windows WSL.

The 'jupyter' distribution was not found

When a package (like nbgrader) that depends on the jupyter package gets installed, it seems to not correctly find the jupyter distribution. Jupyter is installed by nbgrader through the conda forge channel:

$ conda list | grep jupyter
jupyter                   1.0.0                    py36_0    conda-forge
...

And then when running nbgrader:

$ nbgrader
Traceback (most recent call last):
  File "/Users/jhamrick/miniconda3/envs/temp/bin/nbgrader", line 6, in <module>
    from pkg_resources import load_entry_point
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
  File "/Users/jhamrick/miniconda3/envs/temp/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 2985, in <module>
  File "/Users/jhamrick/miniconda3/envs/temp/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 2971, in _call_aside
  File "/Users/jhamrick/miniconda3/envs/temp/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 2998, in _initialize_master_working_set
  File "/Users/jhamrick/miniconda3/envs/temp/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 660, in _build_master
  File "/Users/jhamrick/miniconda3/envs/temp/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 968, in require
  File "/Users/jhamrick/miniconda3/envs/temp/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 854, in resolve
pkg_resources.DistributionNotFound: The 'jupyter' distribution was not found and is required by nbgrader

If I reinstall jupyter using the default channel, then it works.

jupyter.py conflicts with jupyter.py from jupyter_core

Issue:

There seems to be a conflict between jupyter.py of this package and the one from https://github.com/conda-forge/jupyter_core-feedstock.

This problem seems to be introduced with the new versions of last week, the older versions of jupyter do not have jupyter.py.

setup:

$ find .
.
./conda-recipe
./conda-recipe/run_test.sh
./conda-recipe/meta.yaml

$ cat conda-recipe/meta.yaml 
package:
  name: jupytercondatest
  version: develop

about:
  summary: Jupyter conda test


requirements:
  run:
    - python >=3.8
    - jupyter

build:
  number: 1
  noarch: python

$ cat conda-recipe/run_test.sh 
#!/usr/bin/env bash
exit

Then building this package will yield this warning:

$ conda build .
[..]
ClobberWarning: This transaction has incompatible packages due to a shared path.                       
  packages: conda-forge/linux-64::jupyter_core-4.7.0-py39hf3d152e_1, conda-forge/linux-64::jupyter-1.0.
0-py39hf3d152e_5                                                                                       
  path: 'lib/python3.9/site-packages/__pycache__/jupyter.cpython-39.pyc'                               
                                                                                                       
                                                                                                       
ClobberWarning: This transaction has incompatible packages due to a shared path.                       
  packages: conda-forge/linux-64::jupyter_core-4.7.0-py39hf3d152e_1, conda-forge/linux-64::jupyter-1.0.
0-py39hf3d152e_5                                                                                       
  path: 'lib/python3.9/site-packages/jupyter.py'                                                       
[..]

This is just a warning, but in certain cases that I've not yet been able to isolate (e.g. on our CI), it causes an error:

conda.CondaMultiError: Conda was asked to clobber an existing path.
  source path: /opt/conda/pkgs/jupyter-1.0.0-py39hf3d152e_5/lib/python3.9/site-packages/__pycache__/jupyter.cpython-39.pyc
  target path: /opt/conda/conda-bld/xyzxyz_1611765104840/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.9/site-packages/__pycache__/jupyter.cpython-39.pyc
Conda no longer clobbers existing paths without the use of the --clobber option

Details about conda and system ( conda info ):
$ conda info

     active environment : xyz
    active env location : /home/hugo/miniconda3/envs/xyz
            shell level : 2
       user config file : /home/hugo/.condarc
 populated config files : /home/hugo/.condarc
          conda version : 4.9.2
    conda-build version : not installed
         python version : 3.8.5.final.0
       virtual packages : __cuda=11.2=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/hugo/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/hugo/miniconda3/pkgs
                          /home/hugo/.conda/pkgs
       envs directories : /home/hugo/miniconda3/envs
                          /home/hugo/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Linux/5.4.0-64-generic ubuntu/20.04.1 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Edit: Removed jupytext as it is not relevant.

Pull in qtconsole for aarch etc

When trying to port roboticstoolbox-python to aarch, ppc & osx-arm64 (conda-forge/roboticstoolbox-python-feedstock#2), I observed the following error (at least on ppc):

pip check
jupyter 1.0.0 requires qtconsole, which is not installed.

Currently there is a run dependency as follows:

- qtconsole # [(x86 or x86_64) and python_impl == "cpython"]

Is there a reason why it's limited to x86? What is the correct way of fixing the problem that I observed?

Unable to import numpy in notebook in new environment

This is on Ubuntu 16.04

conda info

  active environment : None
            shell level : 0
       user config file : /home/chris/.condarc
 populated config files : 
          conda version : 4.6.1
    conda-build version : 3.17.8
         python version : 3.6.8.final.0
       base environment : /home/chris/miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/chris/miniconda3/pkgs
                          /home/chris/.conda/pkgs
       envs directories : /home/chris/miniconda3/envs
                          /home/chris/.conda/envs
               platform : linux-64
             user-agent : conda/4.6.1 requests/2.18.4 CPython/3.6.8 Linux/4.15.0-45-generic ubuntu/16.04.5 glibc/2.23
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Reproducer

$ conda create -n jup -c conda-forge numpy jupyter
$ conda activate jup
$ jupyter notebook

Next, create a new notebook and type import numpy in the first cell, and run. A box pops up with

Kernel Restarting
The kernel appears to have died. It will restart automatically.

The console messages:

[NotebookApp] Creating new notebook in 
[NotebookApp] Kernel started: xxx
[NotebookApp] Adapting to protocol v5.1 for kernel xxx
[NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
WARNING:root:kernel xxx restarted

conda list --show-channel-urls

# packages in environment at /home/chris/miniconda3/envs/jup:
#
# Name                    Version                   Build  Channel
atk                       2.25.90           hb9dd440_1002    conda-forge
attrs                     18.2.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
blas                      1.1                    openblas    conda-forge
bzip2                     1.0.6             h14c3975_1002    conda-forge
ca-certificates           2018.11.29           ha4d7672_0    conda-forge
cairo                     1.16.0            ha4e643d_1000    conda-forge
certifi                   2018.11.29            py37_1000    conda-forge
dbus                      1.13.0            h4e0c4b3_1000    conda-forge
decorator                 4.3.2                      py_0    conda-forge
entrypoints               0.3                   py37_1000    conda-forge
expat                     2.2.5             hf484d3e_1002    conda-forge
fontconfig                2.13.1            h2176d3f_1000    conda-forge
freetype                  2.9.1             h94bbf69_1005    conda-forge
gdk-pixbuf                2.36.12           h49783d7_1002    conda-forge
gettext                   0.19.8.1          h9745a5d_1001    conda-forge
glib                      2.58.2            hf63aee3_1001    conda-forge
gobject-introspection     1.58.2          py37h2da5eee_1000    conda-forge
graphite2                 1.3.13            hf484d3e_1000    conda-forge
gstreamer                 1.14.4            h66beb1c_1001    conda-forge
gtk2                      2.24.31           hb68c50a_1001    conda-forge
harfbuzz                  2.3.1                h6824563_0    conda-forge
icu                       58.2              hf484d3e_1000    conda-forge
ipykernel                 5.1.0           py37h24bf2e0_1002    conda-forge
ipython                   7.2.0           py37h24bf2e0_1000    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.4.2                      py_0    conda-forge
jedi                      0.13.2                py37_1000    conda-forge
jinja2                    2.10                       py_1    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jsonschema                3.0.0a3               py37_1000    conda-forge
jupyter                   1.0.0                      py_1    conda-forge
jupyter_client            5.2.4                      py_1    conda-forge
jupyter_console           6.0.0                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
libffi                    3.2.1             hf484d3e_1005    conda-forge
libgcc-ng                 7.3.0                hdf63c60_0    conda-forge
libgfortran-ng            7.2.0                hdf63c60_3    conda-forge
libiconv                  1.15              h14c3975_1004    conda-forge
libpng                    1.6.36            h84994c4_1000    conda-forge
libsodium                 1.0.16            h14c3975_1001    conda-forge
libstdcxx-ng              7.3.0                hdf63c60_0    conda-forge
libtiff                   4.0.10            h648cc4a_1001    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.8             h143f9aa_1005    conda-forge
markupsafe                1.1.0           py37h14c3975_1000    conda-forge
mistune                   0.8.4           py37h14c3975_1000    conda-forge
nbconvert                 5.3.1                      py_1    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
notebook                  5.7.4                 py37_1000    conda-forge
numpy                     1.16.1          py37_blas_openblash1522bff_0  [blas_openblas]  conda-forge
openblas                  0.3.3             h9ac9557_1001    conda-forge
openssl                   1.0.2p            h14c3975_1002    conda-forge
pandoc                    2.6                           1    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
pango                     1.40.14           h4ea9474_1004    conda-forge
parso                     0.3.3                      py_0    conda-forge
pcre                      8.41              hf484d3e_1003    conda-forge
pexpect                   4.6.0                 py37_1000    conda-forge
pickleshare               0.7.5                 py37_1000    conda-forge
pip                       19.0.2                   py37_0    conda-forge
pixman                    0.34.0            h14c3975_1003    conda-forge
prometheus_client         0.5.0                      py_0    conda-forge
prompt_toolkit            2.0.8                      py_0    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                 py37_1000    conda-forge
pygments                  2.3.1                      py_0    conda-forge
pyqt                      5.6.0           py37h13b7fb3_1008    conda-forge
pyrsistent                0.14.10          py37h14c3975_0    conda-forge
python                    3.7.1             hd21baee_1000    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pyzmq                     17.1.2          py37h6afc9c9_1001    conda-forge
qt                        5.6.2             hce4f676_1013    conda-forge
qtconsole                 4.4.3                      py_0    conda-forge
readline                  7.0               hf8c457e_1001    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                40.8.0                   py37_0    conda-forge
sip                       4.18.1          py37hf484d3e_1000    conda-forge
six                       1.12.0                py37_1000    conda-forge
sqlite                    3.26.0            h67949de_1000    conda-forge
terminado                 0.8.1                 py37_1001    conda-forge
testpath                  0.4.2                 py37_1000    conda-forge
tk                        8.6.9             h84994c4_1000    conda-forge
tornado                   5.1.1           py37h14c3975_1000    conda-forge
traitlets                 4.3.2                 py37_1000    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.33.0                   py37_0    conda-forge
widgetsnbextension        3.4.2                 py37_1000    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.9             h14c3975_1004    conda-forge
xorg-libsm                1.2.3             h4937e3b_1000    conda-forge
xorg-libx11               1.6.7             h14c3975_1000    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.2             h14c3975_1007    conda-forge
xorg-libxext              1.3.3             h14c3975_1004    conda-forge
xorg-libxrender           0.9.10            h14c3975_1002    conda-forge
xorg-libxt                1.1.5             h14c3975_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
zeromq                    4.2.5             hf484d3e_1006    conda-forge
zlib                      1.2.11            h14c3975_1004    conda-forge

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.