Skip to content

catppuccin python is failing to build #1009

Description

@umbrageodotus
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/j7fybg23fvbqkqbrfzvy28d0agr8m468-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/uv.lock"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
�[1m* Getting build dependencies for wheel...�[0m
�[1m* Building wheel...�[0m
�[1m�[92mSuccessfully built �[4mcatppuccin-2.5.0-py3-none-any.whl�[0m�[1m�[92m�[0m
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for catppuccin-2.5.0-py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Executing pypaInstallPhase
Successfully installed catppuccin-2.5.0-py3-none-any.whl
Finished executing pypaInstallPhase
Running phase: pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
shrinking RPATHs of ELF executables and libraries in /nix/store/lddsvil8v4wwryqjqdf7v9x1lamldmph-python3.14-catppuccin-2.5.0
checking for references to /build/ in /nix/store/lddsvil8v4wwryqjqdf7v9x1lamldmph-python3.14-catppuccin-2.5.0...
patching script interpreter paths in /nix/store/lddsvil8v4wwryqjqdf7v9x1lamldmph-python3.14-catppuccin-2.5.0
stripping (with command strip and flags -S -p) in  /nix/store/lddsvil8v4wwryqjqdf7v9x1lamldmph-python3.14-catppuccin-2.5.0/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/95mh8xkxs4ri8fbw6g4iqagw6wb1y1j9-python3.14-catppuccin-2.5.0-dist
checking for references to /build/ in /nix/store/95mh8xkxs4ri8fbw6g4iqagw6wb1y1j9-python3.14-catppuccin-2.5.0-dist...
patching script interpreter paths in /nix/store/95mh8xkxs4ri8fbw6g4iqagw6wb1y1j9-python3.14-catppuccin-2.5.0-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
@nix { "action": "setPhase", "phase": "installCheckPhase" }
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Executing pythonImportsCheckPhase
Check whether the following modules can be imported: catppuccin
mkdir -p failed for path /homeless-shelter/.config/matplotlib: [Errno 13] Permission denied: '/homeless-shelter'
Matplotlib created a temporary cache directory at /build/matplotlib-u356cw7f because there was an issue with the default path ({configdir}); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Traceback (most recent call last):
  File �[35m"<string>"�[0m, line �[35m1�[0m, in �[35m<module>�[0m
    import sys; import importlib; �[31mlist�[0m�[1;31m(map(lambda mod: importlib.import_module(mod), sys.argv[1:]))�[0m
                                  �[31m~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m
  File �[35m"<string>"�[0m, line �[35m1�[0m, in �[35m<lambda>�[0m
    import sys; import importlib; list(map(lambda mod: �[31mimportlib.import_module�[0m�[1;31m(mod)�[0m, sys.argv[1:]))
                                                       �[31m~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^�[0m
  File �[35m"/nix/store/jxyrvv4gbpnp3ap5iy7wxwl1sg4x2x88-python3-3.14.6/lib/python3.14/importlib/__init__.py"�[0m, line �[35m88�[0m, in �[35mimport_module�[0m
    return �[31m_bootstrap._gcd_import�[0m�[1;31m(name[level:], package, level)�[0m
           �[31m~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m
  File �[35m"<frozen importlib._bootstrap>"�[0m, line �[35m1406�[0m, in �[35m_gcd_import�[0m
  File �[35m"<frozen importlib._bootstrap>"�[0m, line �[35m1371�[0m, in �[35m_find_and_load�[0m
  File �[35m"<frozen importlib._bootstrap>"�[0m, line �[35m1342�[0m, in �[35m_find_and_load_unlocked�[0m
  File �[35m"<frozen importlib._bootstrap>"�[0m, line �[35m938�[0m, in �[35m_load_unlocked�[0m
  File �[35m"<frozen importlib._bootstrap_external>"�[0m, line �[35m759�[0m, in �[35mexec_module�[0m
  File �[35m"<frozen importlib._bootstrap>"�[0m, line �[35m491�[0m, in �[35m_call_with_frames_removed�[0m
  File �[35m"/nix/store/lddsvil8v4wwryqjqdf7v9x1lamldmph-python3.14-catppuccin-2.5.0/lib/python3.14/site-packages/catppuccin/__init__.py"�[0m, line �[35m96�[0m, in �[35m<module>�[0m
    �[31m_register_styles�[0m�[1;31m()�[0m
    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^�[0m
  File �[35m"/nix/store/lddsvil8v4wwryqjqdf7v9x1lamldmph-python3.14-catppuccin-2.5.0/lib/python3.14/site-packages/catppuccin/extras/matplotlib.py"�[0m, line �[35m87�[0m, in �[35m_register_styles�[0m
    catppuccin_stylesheets = �[1;31mmpl.style.core�[0m.read_style_directory(  # type: ignore [attr-defined]
                             �[1;31m^^^^^^^^^^^^^^�[0m
�[1;35mAttributeError�[0m: �[35mmodule 'matplotlib.style' has no attribute 'core'�[0m```

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions