Skip to content

Instantly share code, notes, and snippets.

View GaetanLepage's full-sized avatar

Gaétan Lepage GaetanLepage

View GitHub Profile
#!/usr/bin/env python3
import os
from enum import Enum
from dataclasses import dataclass
from typing import Optional
import glob
import re
os.chdir("nixvim")
DEBUG [U=1000,P=2522140] func1() executablePath is /nix/store/hqmizf27a9148qjm581hrfr4z1xgp06m-apptainer-1.3.0/bin/.apptainer-wrapped
DEBUG [U=1000,P=2522140] func1() Unrecognized base program name .apptainer-wrapped, skipping relocate
DEBUG [U=1000,P=2522140] func1() Install prefix is /nix/store/hqmizf27a9148qjm581hrfr4z1xgp06m-apptainer-1.3.0
DEBUG [U=1000,P=2522140] func1() Using apptainer directory "/home/gaetan/.apptainer"
DEBUG [U=1000,P=2522140] persistentPreRun() Apptainer version: 1.3.0
DEBUG [U=1000,P=2522140] persistentPreRun() Parsing configuration file /nix/store/hqmizf27a9148qjm581hrfr4z1xgp06m-apptainer-1.3.0/etc/apptainer/apptainer.conf
DEBUG [U=1000,P=2522140] SetBinaryPath() Setting binary path to /nix/store/hqmizf27a9148qjm581hrfr4z1xgp06m-apptainer-1.3.0/libexec/apptainer/bin:/nix/store/a1s263pmsci9zykm5xcdf7x9rv26w6d5-bash-5.2p26/bin:/nix/store/ifzwv2xq
gaetan in 🌐 chamaeleon in ~
❯ APPTAINER_MESSAGELEVEL=100000 NVIDIA_VISIBLE_DEVICES=all nix run --arg config '{ allowUnf
ree = true; }' -I nixpkgs=flake:github:SomeoneSerge/nixpkgs/feat/nixos-apptainer-nosuid -f
'<nixpkgs>' apptainer.gpuChecks.saxpy.unwrapped
DEBUG [U=1000,P=2373815] func1() executablePath is /nix/store/9wiji8h0vnqldvsdz9gk0f7azvampqad-apptainer-1.2.5/bin/.apptainer-wrapped
DEBUG [U=1000,P=2373815] func1() Unrecognized base program name .apptainer-wrapped, skipping relocate
DEBUG [U=1000,P=2373815] func1() Install prefix is /nix/store/9wiji8h0vnqldvsdz9gk0f7azvampqad-apptainer-1.2.5
DEBUG [U=1000,P=2373815] func1() Using apptainer directory "/home/gaetan/.apptainer"
DEBUG [U=1000,P=2373815] persistentPreRun() Apptainer version: 1.2.5
DEBUG [U=1000,P=2373815] persistentPreRun() Parsing configuration file /nix/store/9wiji8h0vnqldvsdz9gk0f7azvampqad-apptainer-1.2.5/etc/appta
=========================== short test summary info ============================
SKIPPED [1] dask/array/tests/test_cupy_core.py:14: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_creation.py:13: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_gufunc.py:12: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_linalg.py:12: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_overlap.py:12: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_percentile.py:11: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_random.py:13: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_reductions.py:14: could not import 'cupy': No module named 'cupy'
SKIPPED [1] dask/array/tests/test_cupy_routines.py:12: could not import 'cupy': No module named 'cupy'
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixvim = {
url = "/home/gaetan/perso/nix/nixvim/nixvim"; # TODO replace with the path to your nixvim local clone
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
@GaetanLepage
GaetanLepage / pygame-build-log
Created March 6, 2024 15:45
`python311Packages.pygame` build log on `aarch64-linux`
Sourcing python-remove-tests-dir-hook
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
@GaetanLepage
GaetanLepage / pygame-build-log
Created March 4, 2024 07:49
python311Packages.pygame build log
Sourcing python-remove-tests-dir-hook
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
@GaetanLepage
GaetanLepage / python3Packages.gpuctypes.gpuChecks.cuda
Created February 20, 2024 23:25
GPU tests for `python3Packages.gpuctypes`
Sourcing python-remove-tests-dir-hook
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
{pkgs, ...}: let
nu-grammar = pkgs.tree-sitter.buildGrammar {
language = "nu";
version = "0.0.0+rev=358c4f5";
src = pkgs.fetchFromGitHub {
owner = "nushell";
repo = "tree-sitter-nu";
rev = "2d0dd587dbfc3363d2af4e4141833e718647a67e";
hash = "sha256-A0Lpsx0VFRYUWetgX3Bn5osCsLQrZzg90unGg9kTnVg=";
};
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/5aqdrk5y1nh0gnna1bpgi2hydy7wr0sz-julia-1.9.0-linux-x86_64.tar.gz
source root is julia-1.9.0
setting SOURCE_DATE_EPOCH to timestamp 1683528303 of file julia-1.9.0/share/julia/test/worlds.jl
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/7gqrdapyc192sk1q3jxkv6c8h1zsfac5-0001-allow-skipping-internet-required-tests.patch
patching file share/julia/test/choosetests.jl
@nix { "action": "setPhase", "phase": "configurePhase" }