guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit 2445517ee708b061c0222d6f4bb59176321b627a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 13 00:24:32 2026 +0000

    gnu: python-pandas-flavor: Update to 0.8.1.
    
    * gnu/packages/python-science.scm (python-pandas-flavor): Update to 0.8.1.
    [phases]{fix-pytest-config}: New phase.
    [propagated-inputs]: Remove python-lazy-loader and python-packaging.
    [native-inputs]: Add python-setuptools and python-setuptools-scm.
    
    Change-Id: I1f1325350f77ed61146f32da5bdc81aad1daec27
---
 gnu/packages/python-science.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 6d025ca0ee..4ad823389e 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5162,19 +5162,30 @@ SCS (Splitting conic solver) library.")
 (define-public python-pandas-flavor
   (package
     (name "python-pandas-flavor")
-    (version "0.7.0")
+    (version "0.8.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pandas_flavor" version))
        (sha256
         (base32
-         "0zmgxnrxlvjgsr5f6yiwdn093kibb48zd16jkgy7l082d7wzjyv1"))))
+         "0rn3pnracv8013j3f737qal3isf1brbc3mpxqhr03vik322sapr5"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "pyproject.toml"
+                (("addopts = .*") "")))))))
     (native-inputs
-     (list python-pytest))
+     (list python-pytest
+           python-setuptools
+           python-setuptools-scm))
     (propagated-inputs
-     (list python-lazy-loader python-packaging python-pandas python-xarray))
+     (list python-pandas
+           python-xarray))
     (home-page "https://github.com/pyjanitor-devs/pandas_flavor";)
     (synopsis "Write your own flavor of Pandas")
     (description "Pandas 0.23 added a simple API for registering accessors

Reply via email to