-
Notifications
You must be signed in to change notification settings - Fork 16
No hash found for file 'LICENSES_bundled.txt' #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
One solution could be to:
|
@sethfischer I thought that at one point, this was already done in CI. Am I remembering that incorrectly @fpq473 ? |
@jmwright We also have a hard-coded LICENSES_bundled. Should we just delete that? It's possibly out-dated/incomplete compared to the generated one. |
See #13 |
Yes, I agree with deleting the hard coded file as you have done in the PR. Thanks! |
@fpq473 We have ABI errors on the latest build. |
@jmwright Caused by a newer build (but same version, still 7.7.0) of occt:
When we built 7.7.0a wheels successfully, the build picked up Now, the build is picking up I'm not aware of a way of asking conda to install packages with constraints on compiler version, so we may have to pin the exact version (for Linux), e.g. |
It sounds like pinning the exact version is our best (if not only) option. |
I committed 9dfc0c7 and triggered the workflow. The workflow file is getting pretty ugly. If anyone knows of a better way to make steps os-dependent, please share. |
@jmwright Build is all green. @sethfischer Thanks for the report and suggestion. |
@fpq473 Thanks |
@jmwright Did you want to do a release? Looks like you tried to bump the version around Feb 27 (but those builds failed). |
@fpq473 Sure, but it might be a while before I get a chance. If you want to create a lightweight tag named |
Thanks to @fpq473 this was fixed in the latest build. https://pypi.org/project/cadquery-ocp/7.7.0/ @fpq473 I forgot that the version number is pulled from the Conda version, which is already at 7.7.0, so I pushed a 7.7.0a1 tag that really had no effect other than triggering a publish for 7.7.0. |
cadquery-ocp 7.7.0a0 has a missing or invalid hash for
LICENSES_bundled.txt
.This can be demonstrated with the wheel command line tool:
And it also presents as an error when attempting to install with Poetry 1.4.0:
Poetry 1.4.0 introduces a "modern installer" which verifies hashes. The modern installer can be disabled with:
which writes to
poetry.toml
in the project directory:Pip does not check hashes in wheel RECORD contents during installation, see pypa/pip#4705 which is currently triaged as a bug.
Poetry is checking hashes in compliance with PEP 0427:
The text was updated successfully, but these errors were encountered: