guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit e59d6de6c8138b640aa64e3d1442aa166f0ea4a3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun May 31 23:32:58 2026 +0100

    gnu: python-charset-normalizer: Update to 3.4.7.
    
    * gnu/packages/python-xyz.scm (python-charset-normalizer): Update to 3.4.7.
    [source]: Switch to git-fetch.
    [arguments]: Drop all.
    
    Change-Id: I4fd12d43c57f6152d15e54dc99206c1a57a3f5cb
---
 gnu/packages/python-xyz.scm | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5e7f6175a8..c2e0f80e16 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19859,25 +19859,16 @@ automatically detect a wide range of file encodings.")
 (define-public python-charset-normalizer
   (package
     (name "python-charset-normalizer")
-    (version "3.4.2")
+    (version "3.4.7")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "charset_normalizer" version))
-       (sha256
-        (base32 "0qqfk84ka3d9hh0yf7n8y0qa0yn08ncdacjjckzix8ybkv5cxbjv"))))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ousret/charset_normalizer";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256 (base32 
"0faqj59d0z0yzgvsxndy48xrlvj05lfdqaf9fsc61ckwzzhlkrvl"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; https://github.com/jawah/charset_normalizer/issues/625
-          ;; https://github.com/jawah/charset_normalizer/pull/626
-          (add-after 'unpack 'fix-scripts
-            (lambda _
-              (substitute* "pyproject.toml"
-                (("charset_normalizer:cli.cli_detect")
-                 "charset_normalizer.cli:cli_detect")))))))
     (native-inputs
      (list python-pytest
            python-setuptools))

Reply via email to