Opened 3 years ago
Closed 3 years ago
#64984 closed defect (fixed)
py-jupyter_packaging @0.8.2: cannot import name 'StaticModule' from 'setuptools.config'
Reported by: | mfacorcoran | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-jupyter_packaging py-jupyterlab_widgets |
Description
install py310-jupyter fails - the log file says
:info:build from setuptools.config import StaticModule :info:build ImportError: cannot import name 'StaticModule' from 'setuptools.config' (/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/config/__init__.py) :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_python_py-jupyterlab_widgets/py310-jupyterlab_widgets/work/jupyterlab_widgets-1.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j16 :info:build Exit code: 1 :error:build Failed to build py310-jupyterlab_widgets: command execution failed :debug:build Error code: CHILDSTATUS 30779 1 :debug:build Backtrace: command execution failed
Attachments (1)
Change History (9)
Changed 3 years ago by mfacorcoran
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to stromnov |
---|---|
Port: | py-jupyterlab_widgets added |
Priority: | High → Normal |
Status: | new → assigned |
Summary: | Failed to build py310-jupyterlab_widgets: cannot import name 'StaticModule' from 'setuptools.config' → py310-jupyterlab_widgets @1.0.2: cannot import name 'StaticModule' from 'setuptools.config' |
comment:2 Changed 3 years ago by jmroot (Joshua Root)
Port: | py-jupyter_packaging added |
---|---|
Summary: | py310-jupyterlab_widgets @1.0.2: cannot import name 'StaticModule' from 'setuptools.config' → py-jupyter_packaging @0.8.2: cannot import name 'StaticModule' from 'setuptools.config' |
Looks like the issue is actually in jupyter_packaging.
comment:3 Changed 3 years ago by jmroot (Joshua Root)
comment:4 follow-up: 5 Changed 3 years ago by jmroot (Joshua Root)
Version 0.12.0 released a couple weeks ago includes the fix.
comment:5 Changed 3 years ago by mfacorcoran
Replying to jmroot:
Version 0.12.0 released a couple weeks ago includes the fix.
seems like 0.12.0 is not available yet
% sudo port install py310-jupyter_packaging @0.12.0 Error: py310-jupyter_packaging version 0.12.0 is not available (current version is 0.8.2_0)
comment:6 follow-up: 7 Changed 3 years ago by jmroot (Joshua Root)
Yes, the port needs to be updated to fix this issue.
comment:7 Changed 3 years ago by mfacorcoran
Replying to jmroot:
Yes, the port needs to be updated to fix this issue.
installing 0.12.0 with pip seemed to allow the install to proceed
comment:8 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
log file