diff options
Diffstat (limited to 'gnu/packages/graph.scm')
-rw-r--r-- | gnu/packages/graph.scm | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 91698213f3..aa26853825 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -303,107 +303,6 @@ represented by horizontal lines, and edges are represented by vertical lines.") (license license:expat)))) -(define-public python-plotly - (package - (name "python-plotly") - (version "5.20.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/plotly/plotly.py") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0i22sv8p3kl84nkldbv1253kld85rbwp2pdxivxn64wwflfpqvx6")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - ;; 2658 passed, 18 skipped, 38 deselected, 574 warnings - #~(list "-k" (string-join - ;; python-polars is not packaged yet. - (list "not test_build_df_from_vaex_and_polars" - "test_build_df_with_hover_data_from_vaex_and_polars" - ;; ValueError - "test_bytesio" - "test_ensure_orca_ping_and_proc" - "test_kaleido_engine_to_image_returns_bytes" - "test_kaleido_fulljson" - "test_latex_fig_to_image[eps]" - "test_mimetype_combination" - "test_orca_version_number" - "test_pdf_renderer_show_override" - "test_png_renderer_mimetype" - "test_problematic_environment_variables[eps]" - "test_server_timeout_shutdown" - "test_simple_to_image[eps]" - "test_svg_renderer_show" - "test_to_image_default[eps]" - "test_topojson_fig_to_image[eps]" - "test_validate_orca" - "test_write_image_string[eps]" - "test_write_image_string_bad_extension_override" - "test_write_image_string_format_inference[eps]" - "test_write_image_writeable[eps]" - ;; XXX: check why these tests fail - "test_dependencies_not_imported" - "test_external_server_url" - "test_invalid_figure_json" - "test_lazy_imports" - "test_legend_dots" - "test_linestyle" - "test_orca_executable_path" - "test_sanitize_json[auto]" - "test_sanitize_json[json]" - "test_scraper" - "test_write_image_string_bad_extension_failure") - " and not ")) - #:phases - #~(modify-phases %standard-phases - (add-before 'build 'skip-npm - ;; npm is not packaged so build without it - (lambda _ - (setenv "SKIP_NPM" "T"))) - (add-after 'unpack 'fix-version - ;; TODO: Versioneer in Guix gets its release version from the - ;; parent directory, but the plotly package is located inside a - ;; depth 3 subdirectory. Try to use versioneer if possible. - (lambda _ - (substitute* "packages/python/plotly/setup.py" - (("version=versioneer.get_version\\(),") - (format #f "version=~s," #$version))) - (substitute* "packages/python/plotly/plotly/version.py" - (("__version__ = get_versions\\(\\)\\[\"version\"\\]") - (format #f "__version__ = ~s" #$version))))) - (add-after 'fix-version 'chdir - (lambda _ - (chdir "packages/python/plotly")))))) - (native-inputs - (list python-ipywidgets - python-pytest - python-setuptools - python-wheel - python-xarray)) - (propagated-inputs - (list python-ipython - python-pandas - python-pillow - ;; python-polars - python-requests - python-retrying - python-scikit-image - python-statsmodels - python-tenacity - python-vaex-core)) - (home-page "https://plotly.com/python/") - (synopsis "Interactive plotting library for Python") - (description "Plotly's Python graphing library makes interactive, -publication-quality graphs online. Examples of how to make line plots, scatter -plots, area charts, bar charts, error bars, box plots, histograms, heatmaps, -subplots, multiple-axes, polar charts, and bubble charts.") - (license license:expat))) - (define-public python-louvain (package (name "python-louvain") |