Subject: [core-updates-frozen] python-graphene (fixed with version update) and python-nautilus fail to build

From: John Kehayias <[email-masked]>
Date: Fri, 01 Oct 2021 17:52:39 +0000

Hello,

python-graphene fails to build on core-updates-frozen; log from the CI on x86_64 is here: https://ci.guix.gnu.org/build/894641/details

I tried updating this and needed packages, though some things are in between versions and dependencies (between beta/rc and older stable release). It started getting a little messy with needing several older versions of packages, so I found the easiest thing was to update python-graphene to the latest beta version, since that closely matches the dependency versions we have. Although the dependents also depend on python-nautilus, so I haven't been able to check their builds (see below).

So that builds (see git diff attached), but then python-nautilus fails for me, after updating it as well, with the (partial log):

Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/scripts/events/publish.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api/{{name}}'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api/{{name}}/server.py'...
***   File "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api/{{name}}/server.py", line 4
    class {{name.title()}}Service(nautilus.APIGateway):
          ^
SyntaxError: invalid syntax

Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/auth'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/auth/{{name}}'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/auth/{{name}}/server.py'...
***   File "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/auth/{{name}}/server.py", line 4
    class {{name.title()}}Service(nautilus.AuthService): pass
          ^
SyntaxError: invalid syntax

Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/common'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/common/{{name}}'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/common/{{name}}/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/common/{{name}}/manage.py'...
***   File "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/common/{{name}}/manage.py", line 6
    from server import {{name.title()}}Service
                       ^
SyntaxError: invalid syntax

Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/connection'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/connection/{{name}}'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/connection/{{name}}/server.py'...
***   File "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/connection/{{name}}/server.py", line 5
    from ..{{service}} import {{service.title()}}Service{% endfor %}
           ^
SyntaxError: invalid syntax

Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/model'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/model/{{name}}'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/model/{{name}}/server.py'...
***   File "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/model/{{name}}/server.py", line 5
    class {{name.title()}}(BaseModel):
          ^
SyntaxError: invalid syntax

Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/util'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/util/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/util/render_template.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/base.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/fields'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/fields/__init__.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/serializers'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/serializers/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/serializers/modelSerializer.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/models/util.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/__init__.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/__init__.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/createHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/crudHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/deleteHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/flexibleAPIHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/queryHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/readHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/rollCallHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/actionHandlers/updateHandler.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/consumers'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/consumers/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/consumers/actions.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/consumers/api.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/consumers/kafka.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/events/util.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/http'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/http/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/http/requestHandler.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/network/http/responses.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services/__init__.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services/apiGateway.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services/connectionService.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services/modelService.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services/service.py'...
Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/services/serviceManager.py'...
Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus-0.5.2-py3.9.egg-info'...
error: in phase 'install': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-m" "compileall" "--invalidation-mode=unchecked-hash" "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2") exit-status: 1 term-signal: #f stop-signal: #f>
phase `install' failed after 0.2 seconds
command "python" "-m" "compileall" "--invalidation-mode=unchecked-hash" "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2" failed with status 1
builder for `/gnu/store/saqsy8lqv0kp1jap6qhpklnqsj87p9rv-python-nautilus-0.5.2.drv' failed with exit code 1
build of /gnu/store/saqsy8lqv0kp1jap6qhpklnqsj87p9rv-python-nautilus-0.5.2.drv failed

Thanks for taking a look,
John

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9821e9288e..fa4003ab2f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16136,19 +16136,19 @@ from Facebook.")
 (define-public python-graphene
   (package
     (name "python-graphene")
-    (version "0.10.2")
+    (version "3.0b8")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "graphene" version))
         (sha256
          (base32
-          "09zhac7igh9ixdz0ay6csy35b40l1jwbf2wrbxmgxwfhy51iy06q"))))
+          "04h2h16yky6xkfk06zm6frg5jw7jc2a6rfs28v5il0mpgbi2mbm6"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-graphql-core" ,python-graphql-core)
        ("python-graphql-relay" ,python-graphql-relay)
-       ("python-iso8601" ,python-iso8601)
+       ("python-aniso8601" ,python-aniso8601)
        ("python-promise" ,python-promise)
        ("python-six" ,python-six)))
     (arguments
@@ -16164,14 +16164,14 @@ with an associated set of resolve methods that know how to fetch data.")
 (define-public python-nautilus
   (package
     (name "python-nautilus")
-    (version "0.4.9")
+    (version "0.5.2")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "nautilus" version))
         (sha256
          (base32
-          "01hwzjc1zshk4vvxrcghm398fpy4jls66dyz06g07mrwqif8878p"))))
+          "1phdams5zqjfmaaf0dzcp37rndcrfb78qxx3lhqmwvswq60hnibj"))))
     (build-system python-build-system)
     (arguments `(#:tests? #f)) ; fails to import test modules
     (propagated-inputs
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index df4b8ac6f5..826ae42451 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -450,14 +450,14 @@ datetime type.")
 (define-public python-aniso8601
   (package
     (name "python-aniso8601")
-    (version "1.3.0")
+    (version "9.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aniso8601" version))
        (sha256
         (base32
-         "1waj54iv3n3lw1fapbz8a93yjgrybgpc86wif5baxdh1arpj9df3"))))
+         "0wxry6riyqajl02mkad8g2q98sx5jr13zndj3fandpzfcxv13qvj"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-dateutil" ,python-dateutil)))