gnu: python-plotly-2.4.1: Patch for Python 3.10 changes.
* gnu/packages/graph.scm (python-plotly-2.4.1)[arguments]: Add phase 'python-compatibility.
This commit is contained in:
parent
bca1496f72
commit
09d2976c86
1 changed files with 10 additions and 2 deletions
|
@ -292,7 +292,15 @@ subplots, multiple-axes, polar charts, and bubble charts.")
|
||||||
python-requests
|
python-requests
|
||||||
python-six))
|
python-six))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)))) ; The tests are not distributed in the release
|
(list
|
||||||
|
#:tests? #false ;The tests are not distributed in the release
|
||||||
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'python-compatibility
|
||||||
|
(lambda _
|
||||||
|
(substitute* "plotly/grid_objs/grid_objs.py"
|
||||||
|
(("from collections import MutableSequence")
|
||||||
|
"from collections.abc import MutableSequence")))))))))
|
||||||
|
|
||||||
(define-public python-louvain
|
(define-public python-louvain
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue