Broken extras "taurus-h5file"
Hi everyone
I'm trying to create rpm packages of taurus via new Fedora guidelines, which requires to handle all extras provided by upstream. According to setup.py, the latest taurus has 5 extras: taurus-qt, taurus-pytango, taurus-epics, taurus-h5file and taurus-qt-editor (and pypi knows about it). The problem with taurus-h5file: if I'm trying to install it casual way like:
pip install taurus[taurus-h5file]
I've got wierd pip behaviour:
[microfocus@microfocus-operator-pc1 ~]$ pip install taurus[taurus-h5file]
Defaulting to user installation because normal site-packages is not writeable
Collecting taurus[taurus-h5file]
Downloading taurus-5.1.8-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: numpy>=1.1 in /usr/lib64/python3.9/site-packages (from taurus[taurus-h5file]) (1.20.1)
Collecting pint>=0.8 (from taurus[taurus-h5file])
Downloading Pint-0.23-py3-none-any.whl.metadata (8.1 kB)
Collecting click (from taurus[taurus-h5file])
Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: packaging in /usr/lib/python3.9/site-packages (from taurus[taurus-h5file]) (20.9)
INFO: pip is looking at multiple versions of taurus[taurus-h5file] to determine which version is compatible with other requirements. This could take a while.
Collecting taurus[taurus-h5file]
Downloading taurus-5.1.7-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.1.6-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.1.5-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.1.4-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.0.0.1-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.0.0-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-4.8.1-py3-none-any.whl.metadata (2.6 kB)
Collecting future (from taurus[taurus-h5file])
Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
INFO: pip is still looking at multiple versions of taurus[taurus-h5file] to determine which version is compatible with other requirements. This could take a while.
Collecting taurus[taurus-h5file]
Downloading taurus-4.8.0-py3-none-any.whl.metadata (2.6 kB)
Downloading taurus-4.7.1.1-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-4.7.1-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-4.7.0.tar.gz (18.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.6/18.6 MB 6.7 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.6.1.tar.gz (18.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.8/18.8 MB 6.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... 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 taurus-4.5.1.tar.gz (18.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.0/18.0 MB 6.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.4.0.tar.gz (18.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.0/18.0 MB 7.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting enum34 (from taurus[taurus-h5file])
Downloading enum34-1.1.10-py3-none-any.whl.metadata (1.6 kB)
Collecting taurus[taurus-h5file]
Downloading taurus-4.3.1.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 8.6 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.3.0.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 10.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.1.1.tar.gz (20.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.0/20.0 MB 10.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.0.3.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 10.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
WARNING: taurus 4.0.3 does not provide the extra 'taurus-h5file'
Building wheels for collected packages: taurus
Building wheel for taurus (pyproject.toml) ... done
Created wheel for taurus: filename=taurus-4.0.3-py3-none-any.whl size=17215114 sha256=624d89ab8acbc497608b0c625c8c648dcb26f5612f792c43218a9188dbe84588
Stored in directory: /home/microfocus/.cache/pip/wheels/25/47/c0/065937e687e844b149e20ffafd19cf2a1f1b04683b2a7f93a3
Successfully built taurus
Installing collected packages: taurus
Successfully installed taurus-4.0.3
[microfocus@microfocus-operator-pc1 ~]$ pip install taurus[taurus-h5file]
Defaulting to user installation because normal site-packages is not writeable
Collecting taurus[taurus-h5file]
Downloading taurus-5.1.8-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: numpy>=1.1 in /usr/lib64/python3.9/site-packages (from taurus[taurus-h5file]) (1.20.1)
Collecting pint>=0.8 (from taurus[taurus-h5file])
Downloading Pint-0.23-py3-none-any.whl.metadata (8.1 kB)
Collecting click (from taurus[taurus-h5file])
Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: packaging in /usr/lib/python3.9/site-packages (from taurus[taurus-h5file]) (20.9)
INFO: pip is looking at multiple versions of taurus[taurus-h5file] to determine which version is compatible with other requirements. This could take a while.
Collecting taurus[taurus-h5file]
Downloading taurus-5.1.7-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.1.6-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.1.5-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.1.4-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.0.0.1-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-5.0.0-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-4.8.1-py3-none-any.whl.metadata (2.6 kB)
Collecting future (from taurus[taurus-h5file])
Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
INFO: pip is still looking at multiple versions of taurus[taurus-h5file] to determine which version is compatible with other requirements. This could take a while.
Collecting taurus[taurus-h5file]
Downloading taurus-4.8.0-py3-none-any.whl.metadata (2.6 kB)
Downloading taurus-4.7.1.1-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-4.7.1-py3-none-any.whl.metadata (2.5 kB)
Downloading taurus-4.7.0.tar.gz (18.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.6/18.6 MB 6.7 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.6.1.tar.gz (18.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.8/18.8 MB 6.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... 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 taurus-4.5.1.tar.gz (18.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.0/18.0 MB 6.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.4.0.tar.gz (18.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.0/18.0 MB 7.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting enum34 (from taurus[taurus-h5file])
Downloading enum34-1.1.10-py3-none-any.whl.metadata (1.6 kB)
Collecting taurus[taurus-h5file]
Downloading taurus-4.3.1.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 8.6 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.3.0.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 10.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.1.1.tar.gz (20.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.0/20.0 MB 10.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Downloading taurus-4.0.3.tar.gz (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 10.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
WARNING: taurus 4.0.3 does not provide the extra 'taurus-h5file'
Building wheels for collected packages: taurus
Building wheel for taurus (pyproject.toml) ... done
Created wheel for taurus: filename=taurus-4.0.3-py3-none-any.whl size=17215114 sha256=624d89ab8acbc497608b0c625c8c648dcb26f5612f792c43218a9188dbe84588
Stored in directory: /home/microfocus/.cache/pip/wheels/25/47/c0/065937e687e844b149e20ffafd19cf2a1f1b04683b2a7f93a3
Successfully built taurus
Installing collected packages: taurus
Successfully installed taurus-4.0.3
Looks like pip cannot manage additional deps and downgrades taurus version until it won't have h5file extras.
I think proposed extras is outdated and should be removed on edited.
Thanks
Edited by Grigory Prutskov