Closed matz-e closed 3 months ago
Will it fix
Downloading numpy-1.26.0-cp312-cp312-macosx_10_9_x86_64.whl (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/20.3 MB 4.5 MB/s eta 0:00:01
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes
?
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE
Can do by adding --no-cache-dir
to the pip
command.
Actually --no-cache-dir
would probably lead to a lot more downloads and longer runtime. Seems to me that the issue may also be truncated downloads - more a networking issue within the CI.
So the error may occur even more frequently if we don't cache...
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.25%. Comparing base (
8ffa1fa
) to head (470a4bc
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Logfiles from GitLab pipeline #220190 (:white_check_mark:) have been uploaded here!
Status and direct links:
✔️ 233d9709a489256254fa3aef7248a51ad25b306f -> Azure artifacts URL
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
✔️ 470a4bc6601e64baed89e0044888b5bdf92738b1 -> Azure artifacts URL
Logfiles from GitLab pipeline #220216 (:white_check_mark:) have been uploaded here!
Status and direct links:
Will it fix
Downloading numpy-1.26.0-cp312-cp312-macosx_10_9_x86_64.whl (20.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/20.3 MB 4.5 MB/s eta 0:00:01 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes
?
For reference, I am about 99% sure it's this issue: https://github.com/pypa/pip/issues/11153 It happens intermittently, and is usually fixed by re-running the job.
When installing NMODL requirements after the fixed numpy version, NMODLs lesser constrained dependencies take precedence over the currently installed packages.
This PR:
setuptools
requirement for Python 3.12 and Windows that broke with a newer version