jupyterlab-contrib / jupyterlab-spreadsheet-editor

JupyterLab spreadsheet editor for tabular data (e.g. csv, tsv)
BSD 3-Clause "New" or "Revised" License
135 stars 7 forks source link

Incompatible with Python 3.12? #63

Closed AmranA14 closed 8 months ago

AmranA14 commented 8 months ago

Description

In Windows 10, when using Python 3.12, the CLI outputs "Failed building wheel for pyzmq" when installing via pip install in a mamba environment. With 3.11 and below, the extension worked in Jupyterlab.

image

Reproduce

  1. Install rustup and mambaforge
  2. create new mamba environment in miniforge3 prompt with specified 'python=3.12' in

Used yaml file for environment:

name: test
channels:
  - conda-forge
dependencies:
  - python=3.11
  - jupyter
  - jupytext
  - jupyterlab
  - lxml
  - requests
  - numba
  - pip
  - cython
  - matplotlib
  - pandas
  - numpy
  - scipy
  - scikit-learn
  - h5py
  - pytables
  - pyarrow
  - pytest
  - pytest-cov
  - sphinx
  - sphinx_rtd_theme
  - pyyaml
  - yaml
  - setuptools
  - nodejs
  - ipysheet

  - pip:
    - juliacall
    - rise
    - kaleido
    - jupyterlab_rise
  1. activate environment and run pip install jupyterlab-spreadsheet-editor
krassowski commented 8 months ago

This is not related to this extension - it does not use pyzmq. What oyu might have experience could have been a downgrade to older JupyterLab version when installing the jupyterlab-spreadsheet-editor as JupyterLab 4.0+ support is only now being added.