aboutcode-org / aboutcode-org/scancode-toolkit

Fails to install with uvx or pip

Open
#4,777 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

I've never soon something like this before, it tried to install the package 10 times and went down in version every time.

```
is looking at multiple versions of extractcode[full] to determine which version is compatible with other requirements. This could take a while.
WARNING: Package 'extractcode' has an invalid Requires-Python: Invalid specifier: '>=3.6.*'
Collecting scancode-toolkit
Downloading scancode-toolkit-32.4.1.tar.gz (21.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 14.9 MB/s 0:00:01
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting fingerprints>=0.6.0 (from scancode-toolkit)
Downloading fingerprints-1.3.1-py3-none-any.whl.metadata (4.9 kB)
Collecting scancode-toolkit
Downloading scancode-toolkit-32.4.0.tar.gz (20.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.8/20.8 MB 29.6 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.3.3.tar.gz (15.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.4/15.4 MB 29.0 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.3.2.tar.gz (15.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.4/15.4 MB 27.8 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.3.1.tar.gz (15.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.4/15.4 MB 26.4 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.3.0.tar.gz (15.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.3/15.3 MB 27.5 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.2.1.tar.gz (15.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 25.0 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
INFO: pip is still looking at multiple versions of extractcode[full] to determine which version is compatible with other requirements. This could take a while.
Downloading scancode-toolkit-32.2.0.tar.gz (15.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 26.7 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.1.0.tar.gz (15.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 27.7 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.0.8.tar.gz (14.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.9/14.9 MB 33.3 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting spdx_tools==0.7.0rc0 (from scancode-toolkit)
Downloading spdx_tools-0.7.0rc0-py3-none-any.whl.metadata (5.4 kB)
Collecting scancode-toolkit
Downloading scancode-toolkit-32.0.7.tar.gz (14.8 MB)
━━━━━━━━━━━━━━━━━━ 14.8/14.8 MB 28.0 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.0.6.tar.gz (14.7 MB)
━━━━━━━━━━━━━━━━━━ 14.7/14.7 MB 29.7 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Downloading scancode-toolkit-32.0.4.tar.gz (14.4 MB)
━━━━━━━━━━━━━━━━━━ 14.4/14.4 MB 27.0 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.0.3.tar.gz (14.4 MB)
━━━━━━━━━━━━━━━━━━ 14.4/14.4 MB 26.1 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Downloading scancode-toolkit-32.0.2.tar.gz (14.4 MB)
━━━━━━━━━━━━━━━━━━ 14.4/14.4 MB 28.0 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting normality<4.0.0,>=3.0.1 (from fingerprints>=0.6.0->scancode-toolkit)
Downloading normality-3.0.2-py3-none-any.whl.metadata (3.6 kB)
Collecting pyicu>=2.10.0 (from normality<4.0.0,>=3.0.1->fingerprints>=0.6.0->scancode-toolkit)
Downloading pyicu-2.16.1.tar.gz (268 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
```

It would be nice if uvx and then the tool would just run.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.