Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: python312Packages.raincloudy [upstream?] #312391

Closed
ppenguin opened this issue May 17, 2024 · 0 comments · Fixed by #312637
Closed

Build failure: python312Packages.raincloudy [upstream?] #312391

ppenguin opened this issue May 17, 2024 · 0 comments · Fixed by #312637
Labels
0.kind: build failure A package fails to build

Comments

@ppenguin
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python312Packages.raincloudy

Build log

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0
rootdir: /build/source
configfile: setup.cfg
testpaths: tests
plugins: asyncio-0.23.6, aiohttp-1.0.5, requests-mock-1.12.1
asyncio: mode=Mode.STRICT
collected 13 items / 9 errors / 3 deselected / 10 selected

==================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_base.py ______________________
ImportError while importing test module '/build/source/tests/test_base.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/73fmjgr5khqi62zmpjhjkmggyra0sxmq-python3-3.12.3/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_base.py:3: in <module>
    import imp
E   ModuleNotFoundError: No module named 'imp'
....

It seems it's related to building the test suite of raincloudy.

Additional context

The package imports imp which appears to be deprecated from python >= 3.12.
Building from current nixos-unstable.

Appears to be an upstream bug, issue filed.

Notify maintainers

@fabaff

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant