Comments (3)
This appears to be because the SelectableGroups
class, which implemented a dictionary-like interface for the result of entry_points
is deprecated and was removed in Python 3.12.
Here's the class in Python 3.11., and here's the file in 3.12.
The removal of this class means that the function entry_points()
in 3.12 can no longer return a dictionary-like object like it did in 3.11.
Unfortunately I think these API changes are to be expected between 3.8 and 3.12, since importlib
's metadata functionality was new in 3.8 and only considered to be provisional.
I would suggest either checking to see first if entry_points(group=group)
gives an error, and if it does, fall back to the current implementation.
I can open a PR soon, although I'm not sure if the suggested fix would be to add this sort of edge case handling, or instead just update the whole project to 3.12 - it seems like from these lines there's some kind of handling of multiple versions.
Edit: From what I can tell, import importlib.metadata
would only throw an error before Python 3.8, so those lines can probably be removed outright, since the project seems to require at least 3.9.
from jupyter-book.
I have a similar problem. Not sure what the root cause is but downgrading to python3.11 provided a temporary workaround
from jupyter-book.
I have the same issue, running the same configuration except with MyST-Parser version 2.0.0
.
from jupyter-book.
Related Issues (20)
- Theme error HOT 1
- Jupylerbook HOT 1
- top left hamburger button not working HOT 6
- glitch in the docs for jb1, in the section on folium
- Grids of cards not rendering HOT 1
- Issue on page /Module-D7/torque.html
- Allow customization of dropdown button text for hidden content
- git-course-exercise-1 HOT 1
- Marginal Notes do not render correctly in PDF
- option "use_repository_button" does not display button to repository
- Update dependencies to allow myst-parser v3
- Plausible analytics config not working as expected HOT 4
- Warn users about PDF builds changing the non-PDF HTML build
- README - outdated section?
- Poor visibility of "Show code cell source/output" text in dark mode
- Issue on page /摩阻扭矩-井轨迹计算.html
- Configure theme (e.g. primary color?)
- Jupyter book stripping path from produced html output HOT 1
- Exclude book notebooks from execution does not seem to work
- Build w/ pdflatex on Windows results in FileNotFoundError (with suggested change) HOT 1
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 jupyter-book.