C2DH / jdh-notebook

A collection of Jupyter notebooks for the Journal of Digital History
https://journalofdigitalhistory.org
GNU Affero General Public License v3.0
4 stars 1 forks source link

Updating the jdh-observer repository for a repository not specifying python version - myBinder default 3.10 - numpy version #115

Closed eliselavy closed 1 year ago

eliselavy commented 1 year ago

Since 9 March 2023, Python 3.10 is now the default Python version for repo2docker, the image-building tool that underpins mybinder.org

https://blog.jupyter.org/updating-defaults-on-mybinder-org-4df41d601955

It means all repo without runtime.txt will be affected by error on my binder

Problem installation package

 × Encountered error while trying to install package.
      ╰─> numpy

      note: This is an issue with the package mentioned above, not pip.
      hint: See above for output from the failure.
      [end of output]

    numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_repr’:
            numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 ip = dptr = Py@Name@_AS_@NAME@(self);
                 ^~
            In file included from /srv/conda/envs/notebook/include/python3.10/unicodeobject.h:1046:0,
                             from /srv/conda/envs/notebook/include/python3.10/Python.h:83,

5 articles involved in production

Screenshot 2023-04-19 at 15 30 04