[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/15: gnu: Update python-seaborn to 0.10.0, python2-seaborn to 0.9.1.
From: |
guix-commits |
Subject: |
08/15: gnu: Update python-seaborn to 0.10.0, python2-seaborn to 0.9.1. |
Date: |
Sun, 15 Mar 2020 10:11:10 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 0731f943e354a7a62e0dee7d85f47503cab62a94
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Mar 15 13:33:37 2020 +0100
gnu: Update python-seaborn to 0.10.0, python2-seaborn to 0.9.1.
* gnu/packages/python-xyz.scm (python-seaborn): Update to 0.9.0.
[source](patches): Remove.
[arguments]: Remove obsolete phase.
[properties]: New field.
(python2-seaborn): Update to 0.9.1.
---
gnu/packages/python-xyz.scm | 35 ++++++++++++++---------------------
1 file changed, 14 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4d07d52..461f574 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6260,25 +6260,13 @@ SVG, EPS, PNG and terminal output.")
(define-public python-seaborn
(package
(name "python-seaborn")
- (version "0.9.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "seaborn" version))
(sha256
- (base32 "0bqysi3fxfjl1866m5jq8z7mynhqbqnikim74dmzn8539iwkzj3n"))
- (patches
- (list (origin
- (method url-fetch)
- ;; This has already been merged, but there is no new
- ;; release including this patch. It fixes problems
- ;; with axis rotation that would lead to test
- ;; failures.
- (uri
"https://patch-diff.githubusercontent.com/raw/mwaskom/seaborn/pull/1716.diff")
- (sha256
- (base32
- "1lm870z316n9ivsyr86hpk1gxaraw0mrjvq42lqsm0znhjdp9q9w"))
- (file-name "seaborn-0.9.0-axis-rotation.patch"))))))
+ (base32 "1ffbms4kllihfycf6j57dziq4imgdjw03sqgifh5wzcd2d743zjr"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -6291,12 +6279,6 @@ SVG, EPS, PNG and terminal output.")
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
(setenv "DISPLAY" ":1")
#t)))
- (add-after 'unpack 'fix-tests
- (lambda _
- ;; test_cbar_ticks fails probably because of matplotlib's
- ;; expectation of using an older version of FreeType.
- (delete-file "seaborn/tests/test_matrix.py")
- #t))
(replace 'check (lambda _ (invoke "pytest" "seaborn") #t)))))
(propagated-inputs
`(("python-pandas" ,python-pandas)
@@ -6313,10 +6295,21 @@ SVG, EPS, PNG and terminal output.")
graphics in Python. It is built on top of matplotlib and tightly integrated
with the PyData stack, including support for numpy and pandas data structures
and statistical routines from scipy and statsmodels.")
+ (properties `((python2-variant . ,(delay python2-seaborn))))
(license license:bsd-3)))
+;; 0.9.1 is the last release with support for Python 2.
(define-public python2-seaborn
- (package-with-python2 python-seaborn))
+ (let ((base (package-with-python2 (strip-python2-variant python-seaborn))))
+ (package
+ (inherit base)
+ (version "0.9.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "seaborn" version))
+ (sha256
+ (base32
+ "1bjnshjz4d6z3vrwfwall1a3yh8h3a1h47c3fg7458x9426alcys")))))))
(define-public python-mpmath
(package
- branch master updated (0b6de85 -> 45ebd90), guix-commits, 2020/03/15
- 02/15: gnu: libarea: Build with cmake-minimal., guix-commits, 2020/03/15
- 07/15: gnu: python-joblib: Update to 0.14.1., guix-commits, 2020/03/15
- 06/15: gnu: python-networkx: Update to 2.4., guix-commits, 2020/03/15
- 01/15: gnu: python-pyside: Update to 5.12.6., guix-commits, 2020/03/15
- 05/15: gnu: python-pyrsistent: Update to 0.15.7., guix-commits, 2020/03/15
- 11/15: gnu: python-sqlalchemy: Update to 1.3.15., guix-commits, 2020/03/15
- 12/15: gnu: python-psycopg2: Update to 2.8.4., guix-commits, 2020/03/15
- 03/15: gnu: python2-scikit-learn: Downgrade to 0.20.4., guix-commits, 2020/03/15
- 10/15: gnu: python-parso: Update to 0.6.2., guix-commits, 2020/03/15
- 08/15: gnu: Update python-seaborn to 0.10.0, python2-seaborn to 0.9.1.,
guix-commits <=
- 09/15: gnu: Update python-natsort to 7.0.1, python2-natsort to 6.2.1., guix-commits, 2020/03/15
- 04/15: gnu: python2-pandas: Fix build with Python 2.7.17., guix-commits, 2020/03/15
- 14/15: gnu: python-editor: Update to 1.0.4., guix-commits, 2020/03/15
- 13/15: gnu: python-jedi: Update to 0.16., guix-commits, 2020/03/15
- 15/15: gnu: python-alembic: Update to 1.4.1., guix-commits, 2020/03/15