unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guix refresh -u weird behaviour
@ 2023-10-04  3:27 jgart
  2023-10-04  8:10 ` Ricardo Wurmus
  2023-10-04 12:32 ` jgart
  0 siblings, 2 replies; 5+ messages in thread
From: jgart @ 2023-10-04  3:27 UTC (permalink / raw)
  To: guix-devel

Hi Guixers,

guix refresh -u does some weird stuff. See the git diff below.

Why did it remove the native inputs?

Do we have a bug report open for this? Is it intended behaviour? 

all best,

jgart

 (define-public python-faker
   (package
     (name "python-faker")
-    (version "15.0.0")
+    (version "19.6.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Faker" version))
               (sha256
                (base32
-                "1yx3gsivisf8ls43v0fgzy4n5q9625xrp9fr9cb5gp3h6k9cfpr4"))))
+                "10yzgya59l5kkrdfzp9m06cb5sj05py077h18s545yxhaqsrbmfm"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
@@ -19707,12 +19707,8 @@ (define-public python-faker
              (when tests?
                (invoke "python" "-m" "pytest" "-v")))))))
     (native-inputs
-     (list python-freezegun
-           python-pytest
-           python-random2
-           python-ukpostcodeparser
-           python-validators))
-    (propagated-inputs (list python-dateutil))
+     (list))
+    (propagated-inputs (list python-dateutil python-typing-extensions))
     (home-page "https://github.com/joke2k/faker")
     (synopsis "Python package that generates fake data")


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix refresh -u weird behaviour
  2023-10-04  3:27 guix refresh -u weird behaviour jgart
@ 2023-10-04  8:10 ` Ricardo Wurmus
  2023-10-04  9:41   ` Simon Tournier
  2023-10-04 12:32 ` jgart
  1 sibling, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2023-10-04  8:10 UTC (permalink / raw)
  To: jgart; +Cc: guix-devel


"jgart" <jgart@dismail.de> writes:

> guix refresh -u does some weird stuff. See the git diff below.
>
> Why did it remove the native inputs?

Because Faker doesn’t list them in a way that the importer can add them.
The quality of the importer determines the quality of the updater.  The
updater only does what the importer tells it to do.

-- 
Ricardo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix refresh -u weird behaviour
  2023-10-04  8:10 ` Ricardo Wurmus
@ 2023-10-04  9:41   ` Simon Tournier
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Tournier @ 2023-10-04  9:41 UTC (permalink / raw)
  To: Ricardo Wurmus, jgart; +Cc: guix-devel

Hi jgart,

On Wed, 04 Oct 2023 at 10:10, Ricardo Wurmus <rekado@elephly.net> wrote:

> Because Faker doesn’t list them in a way that the importer can add them.
> The quality of the importer determines the quality of the updater.  The
> updater only does what the importer tells it to do.

…and the Guix importer tells what it reads from upstream. :-)

In the paragraph above, “Faker” means the JSON metadata that PyPI
provides.

One might be interested by this thread:

        Accuracy of importers?
        Ludovic Courtès <ludovic.courtes@inria.fr>
        Thu, 28 Oct 2021 09:02:27 +0200
        id:878ryd8we4.fsf@inria.fr
        https://lists.gnu.org/archive/html/guix-devel/2021-10
        https://yhetil.org/guix/878ryd8we4.fsf@inria.fr

Or by this message which provides some stats:

        Re: guix melpa mirror!
        zimoun <zimon.toutoune@gmail.com>
        Fri, 18 Nov 2022 09:20:25 +0100
        id:86cz9kk71y.fsf@gmail.com
        https://lists.gnu.org/archive/html/guix-devel/2022-11
        https://yhetil.org/guix/86cz9kk71y.fsf@gmail.com

Cheers,
simon


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix refresh -u weird behaviour
  2023-10-04  3:27 guix refresh -u weird behaviour jgart
  2023-10-04  8:10 ` Ricardo Wurmus
@ 2023-10-04 12:32 ` jgart
  2023-10-04 16:03   ` Ricardo Wurmus
  1 sibling, 1 reply; 5+ messages in thread
From: jgart @ 2023-10-04 12:32 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

> Because Faker doesn’t list them in a way that the importer can add them.

Hi Ricardo,

What is the way that Faker needs to list them?

I've experienced this same issue with quite a number of Python packages that I've tried to import though...

I'm just reporting Faker as one example to demonstrate the issue.

all best,

jgart


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix refresh -u weird behaviour
  2023-10-04 12:32 ` jgart
@ 2023-10-04 16:03   ` Ricardo Wurmus
  0 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2023-10-04 16:03 UTC (permalink / raw)
  To: jgart; +Cc: guix-devel


"jgart" <jgart@dismail.de> writes:

> I've experienced this same issue with quite a number of Python
> packages that I've tried to import though...

Yes, this indicates a defect in the importer.

-- 
Ricardo


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-04 17:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04  3:27 guix refresh -u weird behaviour jgart
2023-10-04  8:10 ` Ricardo Wurmus
2023-10-04  9:41   ` Simon Tournier
2023-10-04 12:32 ` jgart
2023-10-04 16:03   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).