Current testing CI pipeline covers python 3.6, which has end of life on 23.12.2021.
As a result, on case of some libraries with new releases, the CI pipeline could fail or take too long to validate the code.
Fore example, CI pipeline for testing (python 3.6) takes significantly more time to install opencv.
Partially it was tackled in #329 to reenable the CI pipeline. However, current CI does not represent library functionality with newer releases of pytorch and python.
Suggestion
Shift the supported versions of python and torchvision and update the CI/CD pipelines accordingly.
New versions:
Choose pipeline for python 3.6, any torchvision version.
Expand Install Dependencies
Scroll to the section with opencv installation
Expected behavior
Quick installation of the dependencies similar to python 3.7 pipeline.
Observation
Opencv cannot be installed using pipit package. It is build from source code.
Building wheels for collected packages: opencv-python
[206](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:207)
Building wheel for opencv-python (pyproject.toml): started
[207](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:208)
Building wheel for opencv-python (pyproject.toml): still running...
[208](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:209)
Building wheel for opencv-python (pyproject.toml): still running...
[209](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:210)
Building wheel for opencv-python (pyproject.toml): still running...
[210](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:211)
Building wheel for opencv-python (pyproject.toml): still running...
[211](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:212)
Building wheel for opencv-python (pyproject.toml): still running...
[212](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:213)
Building wheel for opencv-python (pyproject.toml): still running...
[213](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:214)
Building wheel for opencv-python (pyproject.toml): still running...
[214](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:215)
Building wheel for opencv-python (pyproject.toml): still running...
[215](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:216)
Building wheel for opencv-python (pyproject.toml): still running...
[216](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:217)
Building wheel for opencv-python (pyproject.toml): still running...
[217](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:218)
Building wheel for opencv-python (pyproject.toml): still running...
[218](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:219)
Building wheel for opencv-python (pyproject.toml): still running...
[219](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:220)
Building wheel for opencv-python (pyproject.toml): still running...
[220](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:221)
Building wheel for opencv-python (pyproject.toml): still running...
[221](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:222)
Building wheel for opencv-python (pyproject.toml): still running...
[222](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:223)
Building wheel for opencv-python (pyproject.toml): still running...
[223](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:224)
Building wheel for opencv-python (pyproject.toml): still running...
[224](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:225)
Building wheel for opencv-python (pyproject.toml): still running...
[225](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:226)
Building wheel for opencv-python (pyproject.toml): still running...
[226](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:227)
Building wheel for opencv-python (pyproject.toml): still running...
[227](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:228)
Building wheel for opencv-python (pyproject.toml): still running...
[228](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:229)
Building wheel for opencv-python (pyproject.toml): still running...
[229](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:230)
Building wheel for opencv-python (pyproject.toml): still running...
[230](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:231)
Building wheel for opencv-python (pyproject.toml): still running...
[231](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:232)
Building wheel for opencv-python (pyproject.toml): still running...
[232](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:233)
Building wheel for opencv-python (pyproject.toml): still running...
[233](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:234)
Building wheel for opencv-python (pyproject.toml): still running...
[234](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:235)
Building wheel for opencv-python (pyproject.toml): still running...
[235](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:236)
Building wheel for opencv-python (pyproject.toml): still running...
[236](https://github.com/photosynthesis-team/piq/actions/runs/3960946662/jobs/6785755454#step:5:237)
Building wheel for opencv-python (pyproject.toml): finished with status 'done'
Current testing CI pipeline covers
python 3.6
, which has end of life on 23.12.2021. As a result, on case of some libraries with new releases, the CI pipeline could fail or take too long to validate the code. Fore example, CI pipeline for testing (python 3.6
) takes significantly more time to install opencv. Partially it was tackled in #329 to reenable the CI pipeline. However, current CI does not represent library functionality with newer releases ofpytorch
andpython
.Suggestion Shift the supported versions of
python
andtorchvision
and update the CI/CD pipelines accordingly. New versions:python
: 3.7 - 1.10torchvision
: 0.6.1 - 0.14.1To Reproduce Steps to reproduce the behavior:
python 3.6
, anytorchvision
version.Install Dependencies
opencv
installationExpected behavior Quick installation of the dependencies similar to
python 3.7
pipeline.Observation Opencv cannot be installed using pipit package. It is build from source code.