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

Can't install Tensorboard 2.14.1 #1340

Open
knkski opened this issue Oct 9, 2023 · 0 comments
Open

Can't install Tensorboard 2.14.1 #1340

knkski opened this issue Oct 9, 2023 · 0 comments

Comments

@knkski
Copy link
Contributor

knkski commented Oct 9, 2023

Describe the issue

Tensorboard 2.14.1 fails to install. Everything up to 2.14.0 works fine, and the issue is likely related to these release notes:

Fix indirect dependency on the package six. (tensorflow/tensorboard#6580)
Remove wheel from the requirements in setup.py (tensorflow/tensorboard#6567)

I can open a bug over there if that makes sense, but maybe I'm just doing something wrong with poetry2nix.

Additional context

Reproduction case is pretty simple:

pyproject.toml:

[tool.poetry.dependencies]
python = ">=3.10,<3.12"

tensorboard = "2.14.1"

Error message:

error: builder for '/nix/store/1paqraacjjk5ky6rp23lcgrq3kfmwpnj-python3.11-tensorboard-2.14.1.drv' failed with exit code 1;
       last 10 log lines:
       > Requirement already satisfied: google-auth<3,>=1.6.3 in /nix/store/q4gf5y05g08m2s5qs6yx5hgi0wb4g3hk-python3.11-google-auth-2.23.2/lib/python3.11/site-packages (from tensorboard==2.14.1) (2.23.2)
       > Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /nix/store/9dfzcg9j0nwa4qgbg7ld5vh2wh2amh4m-python3.11-google-auth-oauthlib-1.0.0/lib/python3.11/site-packages (from tensorboard==2.14.1) (1.0.0)
       > Requirement already satisfied: markdown>=2.6.8 in /nix/store/iyclng66apvqij4m893a35mfbikgyn5v-python3.11-markdown-3.5/lib/python3.11/site-packages (from tensorboard==2.14.1) (3.5)
       > Requirement already satisfied: numpy>=1.12.0 in /nix/store/klfx714j92idma4sk8sici0jnj6zkh9h-python3.11-numpy-1.25.2/lib/python3.11/site-packages (from tensorboard==2.14.1) (1.25.2)
       > Requirement already satisfied: protobuf>=3.19.6 in /nix/store/7ja3ss419lnbms991ssvn70xg971a67h-python3.11-protobuf-4.24.4/lib/python3.11/site-packages (from tensorboard==2.14.1) (4.24.4)
       > Requirement already satisfied: requests<3,>=2.21.0 in /nix/store/1mdb1wnsgrql95bx1z3hdl5w8990g506-python3.11-requests-2.31.0/lib/python3.11/site-packages (from tensorboard==2.14.1) (2.31.0)
       > Requirement already satisfied: setuptools>=41.0.0 in /nix/store/s7znna4kvh74hv84kd30sz8ykb2b67kv-python3.11-setuptools-67.4.0/lib/python3.11/site-packages (from tensorboard==2.14.1) (67.4.0.post0)
       > ERROR: Could not find a version that satisfies the requirement six>1.9 (from tensorboard) (from versions: none)
       > ERROR: No matching distribution found for six>1.9
       >

I tried variations of adding it as a dependency, including some other packages that might help, to no avail:

      tensorboard = super.tensorboard.overridePythonAttrs (old: {
        buildInputs = (old.buildInputs or [ ])
          ++ [ super.six super.wheel super.setuptools ];
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

No branches or pull requests

1 participant