Skip to content

Commit 5e8b5b3

Browse files
committed
remove blockdiag
1 parent b541a2a commit 5e8b5b3

File tree

11 files changed

+160
-404
lines changed

11 files changed

+160
-404
lines changed

_doc/api/tools/blockdiag_helper.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

_doc/api/tools/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ teachpyx.tools
1616
:caption: modules
1717

1818

19-
blockdiag_helper
2019
data_helper
2120
graphviz_helper
2221
helpers

_doc/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"sphinx_runpython.epkg",
2525
"sphinx_runpython.gdot",
2626
"sphinx_runpython.runpython",
27-
"sphinxcontrib.blockdiag",
2827
"matplotlib.sphinxext.plot_directive",
2928
]
3029

@@ -112,6 +111,7 @@
112111
("py:class", "True"),
113112
("py:class", "pipeline.Pipeline"),
114113
("py:class", "default=sklearn.utils.metadata_routing.UNCHANGED"),
114+
("py:class", "sklearn.utils._metadata_requests.RequestMethod"),
115115
]
116116

117117
sphinx_gallery_conf = {
@@ -197,7 +197,6 @@
197197
"Awesome Python": "https://awesome-python.com/",
198198
"B+ tree": "https://en.wikipedia.org/wiki/B%2B_tree",
199199
"BLAS": "https://www.netlib.org/blas/",
200-
"blockdiag": "https://github.com/blockdiag/blockdiag",
201200
"Branch and Bound": "https://en.wikipedia.org/wiki/Branch_and_bound",
202201
"bytearray": "https://docs.python.org/3/library/functions.html#bytearray",
203202
"C++": "https://fr.wikipedia.org/wiki/C%2B%2B",

_doc/practice/py-base/nbheap.ipynb

Lines changed: 155 additions & 131 deletions
Large diffs are not rendered by default.

_doc/py/c_module/serialization.rst

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,9 @@ La sérialisation passe par une étape intermédiaire qui revient à
5757
convertir tout type de variables en une séquence de listes et
5858
de dictionnaires puis à la convertir sous la forme d'une séquence d'octets.
5959

60-
.. blockdiag::
60+
::
6161

62-
blockdiag {
63-
A [label = "variables"];
64-
B [label = "dictionnaires, listes"];
65-
C [label = "séquence d'octets"];
66-
A -> B -> C;
67-
}
62+
variables -> dictionnaires, listes -> séquence d'octets
6863

6964
Le format :epkg:`XML`
7065
intervient lors de la seconde étape. Il est assez *verbeux*. La séquence
@@ -309,13 +304,9 @@ qui est convertit ensuite en un programme qui permette de
309304
sérialiser, désérialiser et accéder à une information précise
310305
dans le language de votre choix.
311306

312-
.. blockdiag::
307+
::
313308

314-
blockdiag {
315-
A [label = "schéma"];
316-
B [label = "code python"];
317-
A -> B [label = "compilation"];
318-
}
309+
schéma -> compilation -> code python
319310

320311
La suite est dans l'exemple :ref:`l-example-protobuf`.
321312

_unittests/ut_tools/test_blockdiag.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

_unittests/ut_tools/test_helpers.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ dev = [
6767
"sphinx",
6868
"sphinx-gallery",
6969
"sphinx-issues",
70-
"sphinxcontrib-blockdiag",
71-
"pip@https://github.com/yuzutech/blockdiag/archive/refs/tags/v3.3.0.zip",
72-
# "git+https://github.com/sdpython/sphinx-runpython.git",
7370
"sphinx-runpython",
7471
"tqdm",
7572
"ujson",
@@ -90,7 +87,6 @@ ignore_directives = [
9087
"autoclass",
9188
"autofunction",
9289
"automodule",
93-
"blockdiag",
9490
"blogpost",
9591
"blogpostagg",
9692
"exref",

requirements-dev.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ sounddevice
3838
sphinx
3939
sphinx-gallery
4040
sphinx-issues
41-
sphinxcontrib-blockdiag
42-
git+https://github.com/yuzutech/blockdiag.git@v3.3.0
4341
git+https://github.com/sdpython/sphinx-runpython.git
4442
statsmodels
4543
torch

teachpyx/tools/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
from .blockdiag_helper import draw_diagram
21
from .data_helper import download_and_unzip, decompress_zip
32
from .helpers import total_size

0 commit comments

Comments
 (0)