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: python3Packages.pytensor #327140

Closed
mcwitt opened this issue Jul 14, 2024 · 3 comments
Closed

Build failure: python3Packages.pytensor #327140

mcwitt opened this issue Jul 14, 2024 · 3 comments
Labels

Comments

@mcwitt
Copy link
Contributor

mcwitt commented Jul 14, 2024

Steps To Reproduce

From local checkout of master (currently d3f2fd5):

nix-build . -A python3Packages.pytensor

Build log

error:
       … while evaluating the attribute 'drvPath'

         at /home/matt/src/nixpkgs/lib/customisation.nix:365:7:

          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while evaluating the attribute 'drvPath'

         at /home/matt/src/nixpkgs/lib/customisation.nix:365:7:

          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: tensorflow-2.13.0 not supported for interpreter python3.12

Notify maintainers

@bcdarwin @ferrine

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.37, NixOS, 24.05 (Uakari), 24.05.20240707.1948467
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.4
  • channels(root): "nixos"
  • nixpkgs: /nix/store/2nnisw4pxbifisbkg58hrnis9ycs5ah1-source

Add a 👍 reaction to issues you find important.

@mcwitt mcwitt added the 0.kind: build failure A package fails to build label Jul 14, 2024
@ferrine
Copy link
Contributor

ferrine commented Jul 16, 2024

It seems like jax tests are enabled by default. They break the tests

@FliegendeWurst
Copy link
Member

The error message error: tensorflow-2.13.0 not supported for interpreter python3.12 suggest that you should instead use e.g. python310Packages.pytensor, at least until tensorflow is updated for Python 3.12.

@Pandapip1
Copy link
Contributor

Looks like tensorflow was updated to point to tensorflow-bin (#345658). This no longer has a build failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants