You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Liam-Sturge (via GitHub)" <gi...@apache.org> on 2023/06/06 16:44:22 UTC
[GitHub] [tvm] Liam-Sturge opened a new issue, #15039: [Bug] Installing python on Docker image fails due to require-hashes violation
Liam-Sturge opened a new issue, #15039:
URL: https://github.com/apache/tvm/issues/15039
### Expected behavior
running `ubuntu_install_python.sh` should install Python and the required dependencies in the Docker container.
### Actual behavior
Fails when attempting the command `pip3 install -U --require-hashes -r <(echo "${pip_spec}") \
-c /install/python/bootstrap/lockfiles/constraints-${PYTHON_VERSION}.txt`.
Error produced:
```bash
Collecting cachecontrol[filecache]<0.13.0,>=0.12.9
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
cachecontrol[filecache]<0.13.0,>=0.12.9 from https://files.pythonhosted.org/packages/a2/ab/fc647c0069493a904be5519dd03a535a2d49a51e98d5e3cb5d93d332293d/CacheControl-0.12.13-py2.py3-none-any.whl#sha256=431fc10c5ab1a1589ce08c05b948abac31c0f76962d5fc9efab9da280c9790aa (from poetry==1.2.0b1->-r /install/python/bootstrap/lockfiles/constraints-3.8.txt (line 202))
```
### Environment
Platform: AArch64
TVM version: latest (v0.12.0)
### Steps to reproduce
Within a Docker container such as tvm.ci_cpu, run `pip3 install -U --require-hashes -r <(echo "pip==22.1.2 --hash=sha256:a3edacb89022ef5258bf61852728bf866632a394da837ca49eb4303635835f17") \
-c /install/python/bootstrap/lockfiles/constraints-3.8.txt`.
### Triage
* needs-triage
* dev:ci
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] Liam-Sturge commented on issue #15039: [Bug] Installing python on Docker image fails due to require-hashes violation
Posted by "Liam-Sturge (via GitHub)" <gi...@apache.org>.
Liam-Sturge commented on issue #15039:
URL: https://github.com/apache/tvm/issues/15039#issuecomment-1581142422
Some tlcpack Jenkins jobs, such as the one for daily Docker image rebuilding have been failing for the same reason. See:
https://ci.tlcpack.ai/job/docker-images-ci/job/daily-docker-image-rebuild/744/console
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] ashutosh-arm commented on issue #15039: [Bug] Installing python on Docker image fails due to require-hashes violation
Posted by "ashutosh-arm (via GitHub)" <gi...@apache.org>.
ashutosh-arm commented on issue #15039:
URL: https://github.com/apache/tvm/issues/15039#issuecomment-1579203611
I observed something similar while building cortex-m image on x86 machine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] Liam-Sturge commented on issue #15039: [Bug] Installing python on Docker image fails due to require-hashes violation
Posted by "Liam-Sturge (via GitHub)" <gi...@apache.org>.
Liam-Sturge commented on issue #15039:
URL: https://github.com/apache/tvm/issues/15039#issuecomment-1586971691
Have been monitoring CI and confirmed this appears to be fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] Liam-Sturge closed issue #15039: [Bug] Installing python on Docker image fails due to require-hashes violation
Posted by "Liam-Sturge (via GitHub)" <gi...@apache.org>.
Liam-Sturge closed issue #15039: [Bug] Installing python on Docker image fails due to require-hashes violation
URL: https://github.com/apache/tvm/issues/15039
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org