databricks-cli/acceptance/cmd/patchwhl/script

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
520 B
Plaintext
Raw Normal View History

title "Test prebuilt wheel:"
trace setmtime.py "2025-03-05 15:07:33.123456789" my_test_code-0.0.1-py3-none-any.whl
trace $CLI selftest patchwhl my_test_code-0.0.1-py3-none-any.whl
2025-03-05 14:34:24 +00:00
mkdir output original
unzip -q my_test_code-0.0.1+2025030514073312-py3-none-any.whl -d output
unzip -q my_test_code-0.0.1-py3-none-any.whl -d original
# rename directory to match so that we can compare contents
mv original/my_test_code-0.0.1.dist-info original/my_test_code-0.0.1+2025030514073312.dist-info
trace diff.py original output