This patch is an excerpt of this upstream commit: commit 0a24478a550132f1882e5be5f5dbc0fc446a8a6c Author: Michael Waskom Date: Mon Dec 21 18:44:58 2020 -0500 Raise minimal supported Python to 3.7 and bump requirements (#2396) It fixes the failure of 'test_weights'. --- a/seaborn/tests/test_distributions.py +++ b/seaborn/tests/test_distributions.py @@ -709,21 +708,17 @@ class TestKDEPlotUnivariate: integral = integrate.trapz(ydata, np.log10(xdata)) assert integral == pytest.approx(1) - @pytest.mark.skipif( - LooseVersion(scipy.__version__) < "1.2.0", - reason="Weights require scipy >= 1.2.0" - ) def test_weights(self): x = [1, 2] weights = [2, 1] - ax = kdeplot(x=x, weights=weights) + ax = kdeplot(x=x, weights=weights, bw_method=.1) xdata, ydata = ax.lines[0].get_xydata().T - y1 = ydata[np.argwhere(np.abs(xdata - 1).min())] - y2 = ydata[np.argwhere(np.abs(xdata - 2).min())] + y1 = ydata[np.abs(xdata - 1).argmin()] + y2 = ydata[np.abs(xdata - 2).argmin()] assert y1 == pytest.approx(2 * y2) log/gnu/packages/pascal.scm'>logtreecommitdiff
path: root/gnu/packages/pascal.scm
AgeCommit message (Expand)Author
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-11-12gnu: fpc: Fix it, really....* gnu/packages/pascal.scm (fpc): Inputs are controlled to be package-like objects, so the previous attempt also failed. [native-inputs]{fpc-binary}: Backtrack to the original solution, which is to use the x86_64 bootstrap input for unsupported architectures. Maxim Cournoyer
2021-11-12gnu: fpc: Lazily evaluate the error case....* gnu/packages/pascal.scm (fpc)[native-inputs]: Defer evaluating the match directive; the error condition would previously be eagerly evaluated and cause Guix to fail on non-intel machines. Maxim Cournoyer
2021-11-11gnu: fpc: Fix build....The bootstrap binaries (!) were probably too old. * gnu/packages/pascal.scm: Add missing copyright line. (%fpc-version, %fpc-release-date): New variables. (fpc-bootstrap-i386-3.0.4): Add a FIXME for a proper bootstrap. Rename to... (fpc-bootstrap-i386): ... this and update to 3.2.2. Use %fpc-version. (fpc-bootstrap-x86_64-3.0.4): Rename to... (fpc-bootstrap-x86_64): ... this and update to 3.2.2. Use %fpc-version. (fpc): Remove trailing #t. [version]: Use %fcp-version. [inputs]: Adjust accordingly. [phases]: Remove hard coded version and release strings. Maxim Cournoyer
2021-07-24gnu: Use 'search-input-file' when looking for *.so and *.a....* gnu/packages/bioinformatics.scm (sailfish)[arguments]: Use 'search-input-file' when looking for *.a and *.so. * gnu/packages/emulators.scm (dolphin-emu): Likewise. * gnu/packages/engineering.scm (lepton-eda): Likewise. (pcb): Likewise. * gnu/packages/golang.scm (go-1.4): Likewise. (go-1.14): Likewise. * gnu/packages/haskell.scm (ghc-7): Likewise. * gnu/packages/irods.scm (irods): Likewise. * gnu/packages/language.scm (python2-tegaki-pygtk): Likewise. * gnu/packages/lisp-xyz.scm (sbcl-lzlib): Likewise. (sbcl-cl-gobject-introspection): Likewise. (sbcl-cl-ana): Likewise. (sbcl-cl-libuv): Likewise. (sbcl-cl-async): Likewise. (sbcl-mcclim): Likewise. (sbcl-zstd): Likewise. (sbcl-cl-opengl): Likewise. (sbcl-lev): Likewise. (sbcl-cl-glfw3): Likewise. * gnu/packages/machine-learning.scm (tensorflow): Likewise. * gnu/packages/messaging.scm (utox): Likewise. * gnu/packages/mpi.scm (java-openmpi): Likewise. * gnu/packages/music.scm (jack-select): Likewise. * gnu/packages/pascal.scm (fpc): Likewise. * gnu/packages/python-crypto.scm (python-libnacl): Likewise. * gnu/packages/python-xyz.scm (python-cairocffi): Likewise. (python-pyev): Likewise. (python-pytidylib): Likewise. * gnu/packages/radio.scm (unixcw): Likewise. * gnu/packages/rust.scm (rust-1.32): Likewise. * gnu/packages/security-token.scm (opensc): Likewise. (python-pyscard): Likewise. * gnu/packages/selinux.scm (python-setools): Likewise. * gnu/packages/spice.scm (libcacard): Likewise. * gnu/packages/telephony.scm (libtgvoip): Likewise. Ludovic Courtès
2021-06-24gnu: fpc: Update to 3.2.2....* gnu/packages/pascal.scm (fpc): Update to 3.2.2. Danny Milosavljevic