unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* python-sqlalchemy-utils sanity-check phase broken
@ 2022-01-05 23:12 jgart
  2022-01-06  7:28 ` Lars-Dominik Braun
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-01-05 23:12 UTC (permalink / raw)
  To: Guix Devel

Hi Guixers,

I just wanted to mention that python-sqlalchemy-utils sanity-check phase
is broken.

If anyone knows a fix feel free to chime in or send a patch, otherwise
I'll start looking into it.

```
phase `install' succeeded after 0.6 seconds
starting phase `add-install-to-pythonpath'
phase `add-install-to-pythonpath' succeeded after 0.0 seconds
starting phase `add-install-to-path'
phase `add-install-to-path' succeeded after 0.0 seconds
starting phase `wrap'
find-files: /gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/bin: No such file or directory
find-files: /gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/sbin: No such file or directory
phase `wrap' succeeded after 0.0 seconds
starting phase `check'
test suite not run
phase `check' succeeded after 0.0 seconds
starting phase `sanity-check'
validating 'SQLAlchemy-Utils' /gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages
...checking requirements: OK
...trying to load module sqlalchemy_utils: ERROR:
Traceback (most recent call last):
  File "/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py", line 69, in <module>
    importlib.import_module(name)
  File "/gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
    from .aggregates import aggregated  # noqa
  File "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
    from .functions.orm import get_column_key
  File "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
    from .database import (  # noqa
  File "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages/sqlalchemy_utils/functions/database.py", line 10, in <module>
    from ..expressions import explain_analyze
  File "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages/sqlalchemy_utils/expressions.py", line 4, in <module>
    from sqlalchemy.sql.expression import (
ImportError: cannot import name '_literal_as_text' from 'sqlalchemy.sql.expression' (/gnu/store/b11zrncrhbpslivk5qpzxsy36b6hsfpw-python-sqlalchemy-1.4.27/lib/python3.9/site-packages/sqlalchemy/sql/expression.py)
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f>
phase `sanity-check' failed after 0.5 seconds
command "python" "/gnu/store/nwwr89v2vyg1hs48i49m083vhczsgh3m-sanity-check.py" "/gnu/store/3p1cs4fng70ybvc8sz2y9ln6pp531y1i-python-sqlalchemy-utils-0.32.21/lib/python3.9/site-packages" failed with status 1
builder for `/gnu/store/ivja92z3dmwc9v6hnxnx9klpijfkzf6y-python-sqlalchemy-utils-0.32.21.drv' failed with exit code 1
build of /gnu/store/ivja92z3dmwc9v6hnxnx9klpijfkzf6y-python-sqlalchemy-utils-0.32.21.drv failed
View build log at '/var/log/guix/drvs/iv/ja92z3dmwc9v6hnxnx9klpijfkzf6y-python-sqlalchemy-utils-0.32.21.drv.bz2'.
guix build: error: build of `/gnu/store/ivja92z3dmwc9v6hnxnx9klpijfkzf6y-python-sqlalchemy-utils-0.32.21.drv' failed
```


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

* Re: python-sqlalchemy-utils sanity-check phase broken
  2022-01-05 23:12 python-sqlalchemy-utils sanity-check phase broken jgart
@ 2022-01-06  7:28 ` Lars-Dominik Braun
  0 siblings, 0 replies; 2+ messages in thread
From: Lars-Dominik Braun @ 2022-01-06  7:28 UTC (permalink / raw)
  To: jgart; +Cc: Guix Devel

Hi,

> I just wanted to mention that python-sqlalchemy-utils sanity-check phase
> is broken.
> […]
> ImportError: cannot import name '_literal_as_text' from 'sqlalchemy.sql.expression' (/gnu/store/b11zrncrhbpslivk5qpzxsy36b6hsfpw-python-sqlalchemy-1.4.27/lib/python3.9/site-packages/sqlalchemy/sql/expression.py)
this look alot like 'sanity-check caught an API compatibility problem
and indeed, python-sqlalchemy-utils is at version 0.32.21, which is four
years old. It would probably help to upgrade that package to a version
compatible with our python-sqlalchemy.

Cheers,
Lars



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

end of thread, other threads:[~2022-01-06  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 23:12 python-sqlalchemy-utils sanity-check phase broken jgart
2022-01-06  7:28 ` Lars-Dominik Braun

Code repositories for project(s) associated with this 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).