Comments (10)
issue to follow
jupyter-book/jupyter-book#1438
from skimage-tutorials.
FYI I tested the requirements.txt with the changes I am proposing here: pypa/pip#10479
And it didn't get stuck backtracking but very quickly gives the error:
ERROR: Cannot install -r .\requirements.txt (line 10), -r .\requirements.txt (line 15) and -r .\requirements.txt (line 7) because these package versions have conflicting dependencies.
The conflict is caused by:
jupyter-book 0.10.2 depends on sphinx<4 and >=2
sphinx-autodoc-typehints 1.11.0 depends on Sphinx>=3.0
furo 2021.9.8 depends on sphinx~=4.0
jupyter-book 0.10.2 depends on sphinx<4 and >=2
sphinx-autodoc-typehints 1.11.0 depends on Sphinx>=3.0
furo 2021.8.31 depends on sphinx~=4.0
from skimage-tutorials.
I think this is a pretty big challenge.
It seems to me that sphinx 4.0 has been quite controversial.
- jupyter-book doesn't want to use it.
- furo needs it
from skimage-tutorials.
I'm trying to run things with:
diff --git a/Makefile b/Makefile
index 30b70b8..701f261 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LESSONS_DIR = lessons
GENERATED_LESSONS_DIR = book/lessons
_requirements.installed:
- pip install -q -r requirements.txt
+ pip install -r requirements.txt
touch _requirements.installed
MARKDOWNS = $(wildcard $(LESSONS_DIR)/*.md)
diff --git a/requirements.txt b/requirements.txt
index ea8af47..e7b464c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,15 +1,12 @@
-scikit-image[data] >= 0.18
-numpy >= 1.12
-scipy >= 1.0
-matplotlib >= 2.1
-notebook >= 4.0
-scikit-learn >= 0.18
-jupyter-book >= 0.10.2
-napari[all]
+scikit-image[data] >= 0.18.3
+matplotlib >=3.4.3
+notebook >=6.4.3
+scikit-learn >=0.24.2
+jupyter-book >=0.11.3
+napari[all] >=0.4.11
jupytext >=1.10.3
sphinx_autodoc_typehints>=1.11.0
-ghp-import
-pytest
-pytest-qt
-pooch
-furo
\ No newline at end of file
+ghp-import >=2.0.1
+pytest >=6.0.1
+pytest-qt >=4.0.1
+pooch >=1.5.1
but i get an error called:
touch _requirements.installed
make[1]: *** book: No such file or directory. Stop.
make: *** [Makefile:37: html] Error 2
from skimage-tutorials.
I presume that this is the focus of
#59
from skimage-tutorials.
I presume that this is the focus of #59
To some degree - splitting up the "build" dependencies (e.g. the executablebook project deps) and the dependencies needed to actually run the notebooks can help IME, but it still might require some tweaking to get everything installed.
from skimage-tutorials.
My guess is that something happened in pip to update their "solver" which is causing these headaches.
from skimage-tutorials.
Yeah there are multiple potential failure modes. Changes to the pip resolver have caused problems recently, see e.g. pypa/pip#10201, but there have also been dependency conflicts between e.g. jupytext and myst-nb (e.g. executablebooks/MyST-NB#333)
from skimage-tutorials.
is there a solution that includes downgrading pip?
from skimage-tutorials.
I think this is a pretty big challenge.
It seems to me that sphinx 4.0 has been quite controversial.
- jupyter-book doesn't want to use it.
- furo needs it
Sorry for the off-topic post, but this is such an ironically relevant story for the scikit-image 1.0 transition! 😂 I'm very glad the discussion settled on skimage2.
from skimage-tutorials.
Related Issues (17)
- Replace "draw an H" with "draw a grid" HOT 1
- Start every notebook with `from __future__ import division` HOT 3
- RFC: Require IPython/Jupyter >=3.0 HOT 5
- Add a link to nbviewer.jupyter.org to readme HOT 2
- File `viewer_examples/6_watershed_demo.py` won't work; how to deal with QT5? HOT 3
- ImageCollection Error HOT 1
- Error check_setup.py HOT 3
- Papers to turn into tutorials / case studies HOT 6
- Suggestion: Put solutions in .py files HOT 1
- Exception in example code, notebooks/lectures/4_segmentation.ipynb HOT 4
- Unsupervised 3D image segmentation HOT 1
- Migrating tutorials to website todo HOT 3
- Image moments tutorial HOT 3
- Removing Brag's peaks from image! HOT 1
- Unable to build site locally
- imagecollection HOT 2
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 skimage-tutorials.