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

python310Packages.openapi-core fails to build #194045

Closed
anpin opened this issue Oct 2, 2022 · 3 comments
Closed

python310Packages.openapi-core fails to build #194045

anpin opened this issue Oct 2, 2022 · 3 comments
Labels
0.kind: build failure A package fails to build

Comments

@anpin
Copy link
Contributor

anpin commented Oct 2, 2022

Steps To Reproduce

Steps to reproduce the behavior:
nix build .#python310Packages.openapi-core or build jupyterWith with rust kernel like this

flake.nix

{
  description = "JupyterLab Flake for Rust";

  inputs = {
    jupyterWith.url = "github:tweag/jupyterWith";
    flake-utils.url = "github:numtide/flake-utils";
    nixgl.url = "github:guibou/nixGL";
  };

  outputs = {
    self,
    nixpkgs,
    jupyterWith,
    flake-utils,
    nixgl,
  }:
    flake-utils.lib.eachSystem ["x86_64-linux"] (system: let
      pkgs = import nixpkgs {
        inherit system;
        overlays = [nixgl.overlay] ++ (nixpkgs.lib.attrValues jupyterWith.overlays);
        config.allowUnfree = true;
      };


      iPython = pkgs.kernels.iPythonWith {
        name = "Python-env";
        packages = p: with p;
        [
        ];
        ignoreCollisions = true;
      };

       RustKernel = pkgs.kernels.rustWith {
        name = "Rust";
        packages = with pkgs; [
          openssl
          pkg-config
        ];
      };

      jupyterEnvironment = pkgs.jupyterlabWith {
        kernels = [iPython RustKernel];
      };

      jupyterWrapped = pkgs.writeShellScriptBin "jupyter" ''
        #!/bin/sh
        ${pkgs.nixgl.auto.nixGLDefault}/bin/nixGL ${jupyterEnvironment}/bin/jupyter-lab "$@"
      '';
    in rec {
      apps.jupyterLab = {
        type = "app";
        program = "${jupyterWrapped}/bin/jupyter";
      };
      apps.default = apps.jupyterLab;
      devShells.default = jupyterEnvironment.env;
    });
}

Build log

link to a gist

Additional context

tweag/jupyenv#308

Notify maintainers

@dotlambda

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.68, NixOS, 22.11 (Raccoon), 22.11.20220925.79d3ca0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@anpin
Copy link
Contributor Author

anpin commented Oct 4, 2022

seems to be caused by changes in openapi-spec-validator python-openapi/openapi-spec-validator#173 python-openapi/openapi-core#402

@anpin
Copy link
Contributor Author

anpin commented Oct 4, 2022

pinging @rvl as they are maintainer of openapi-spec-validator

@SuperSandro2000
Copy link
Member

build on nixos-unstable

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

No branches or pull requests

2 participants