Skip to content

Conversation

@pehala
Copy link
Contributor

@pehala pehala commented Apr 23, 2025

No description provided.

@pehala pehala force-pushed the use_installed_ccm_tests branch 3 times, most recently from 581959a to d8025aa Compare April 23, 2025 06:44
@fruch
Copy link
Contributor

fruch commented Apr 27, 2025

@pehala

seems like the nixos support after moving to using UV, is broken:

🔴  ERROR❯ nix shell github:scylladb/scylla-ccm --extra-experimental-features nix-command --extra-experimental-features flakes
error: builder for '/nix/store/dmb1qmn0ckmngkl6pqayn079w8lmdsi8-scylla_ccm-0.1.drv' failed with exit code 1;
       last 25 log lines:
       > Sourcing pypa-install-hook
       > Using pypaInstallPhase
       > Sourcing python-imports-check-hook.sh
       > Using pythonImportsCheckPhase
       > Sourcing python-namespaces-hook
       > Sourcing python-catch-conflicts-hook.sh
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/9zm7pqsknnhr1zmga5n3rymwihj1fqdy-ww93gdjrw92x4amncbn9bcxp0vjnha9q-source
       > source root is ww93gdjrw92x4amncbn9bcxp0vjnha9q-source
       > setting SOURCE_DATE_EPOCH to timestamp 315619200 of file ww93gdjrw92x4amncbn9bcxp0vjnha9q-source/tests/tests/test_data/scylla_unified_master_2023_04_03.tar.gz
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Executing setuptoolsBuildPhase
       > Traceback (most recent call last):
       >   File "/tmp/nix-build-scylla_ccm-0.1.drv-0/ww93gdjrw92x4amncbn9bcxp0vjnha9q-source/nix_run_setup", line 8, in <module>
       >     exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
       >                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/nix/store/5k91mg4qjylxbfvrv748smfh51ppjq0g-python3-3.11.6/lib/python3.11/tokenize.py", line 396, in open
       >     buffer = _builtin_open(filename, 'rb')
       >              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       > FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'
       > /nix/store/d4jf1cbbk494zwgbqz31pxgigpsbh6w2-stdenv-linux/setup: line 1553: pop_var_context: head of shell_variables not a function context
       For full logs, run:
         nix log /nix/store/dmb1qmn0ckmngkl6pqayn079w8lmdsi8-scylla_ccm-0.1.drv

looks the CI for was never really building it

see:
https://www.reddit.com/r/NixOS/comments/1fv4hyg/anyone_using_python_uv_on_nixos/

for some pointer about support uv from within nixos

@dkropachev the original support for it came from the driver team, is that actually in use ? can we drop it ?

@fruch fruch force-pushed the use_installed_ccm_tests branch from d8025aa to e48211f Compare June 8, 2025 14:29
@fruch
Copy link
Contributor

fruch commented Jun 8, 2025

@pehala are you following this one ? (seems like nix tests are not having the ccm command available, you might need to prefix it with some nix command...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants