Comments (5)
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Welcome to the Jupyter community! 🎉
from mimerender-cookiecutter-ts.
@oscar6echo upgrade your version of setuptools, there was a backwards incompatible release jupyter/jupyter-packaging#130
from mimerender-cookiecutter-ts.
@timkpaine Thx for the swift reply.
Yes, I have traced down the problem to these lines in jupyter_packaging/setupbase.py
:
try:
from setuptools.config import StaticModule
except ImportError:
# setuptools>=61.0.0
from setuptools.config.expand import StaticModule
In my conda env the packages are all updated:
❯ conda list jupyter-packaging
# packages in environment at /home/olivier/miniconda3/envs/jlab-ext-examples:
#
# Name Version Build Channel
jupyter-packaging 0.12.0 pyhd8ed1ab_0 conda-forge
❯ conda list pip
# packages in environment at /home/olivier/miniconda3/envs/jlab-ext-examples:
#
# Name Version Build Channel
pip 22.1 pyhd8ed1ab_0 conda-forge
❯ conda list setuptools
# packages in environment at /home/olivier/miniconda3/envs/jlab-ext-examples:
#
# Name Version Build Channel
setuptools 62.2.0 py310hff52083_0 conda-forge
But where I run pip install --no-clean -e .
it still breaks as I mentionned above.
The reason is that in the /tmp/pip-build-env-XXX I see in /overlay/lib/python3.10/jupyter_packaging/setupbase.py I see:
from setuptools.config import StaticModule
[...]
__version__ = '0.10.6'
For some unknown (and annoying) reason pip uses an outdated version in the build process while all is up to date in my working env. I imagine there must be some config somewhere to correct that ?
Even more intringuing: Where I pip install -e .
the hello world example from https://github.com/jupyterlab/extension-examples I see no such error, though I am in the SAME env.....
from mimerender-cookiecutter-ts.
Thanks for reporting @oscar6echo, you can look at #31 to correct your extension to fix the issue.
from mimerender-cookiecutter-ts.
@fcollonval thx for the swift fix. It works now overhere.
I realize now that I failed to notice the difference between hello-world//pyproject.toml and mimerender-cookiecutter-ts//pyproject.toml. This minor version has a big impact !
from mimerender-cookiecutter-ts.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimerender-cookiecutter-ts.