databricks-cli/acceptance/cmd/patchwhl/script

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

15 lines
567 B
Plaintext
Raw Normal View History

title "Test prebuilt wheel:"
2025-03-05 16:27:51 +00:00
trace setmtime.py "2025-03-05 15:07:33.123456700" 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
2025-03-05 15:02:02 +00:00
unzip -q my_test_code-0.0.1+1*-py3-none-any.whl -d output
2025-03-05 14:34:24 +00:00
unzip -q my_test_code-0.0.1-py3-none-any.whl -d original
2025-03-05 15:02:02 +00:00
rm my_test_code-0.0.1+1*-py3-none-any.whl
2025-03-05 14:34:24 +00:00
# rename directory to match so that we can compare contents
2025-03-05 16:27:51 +00:00
mv original/my_test_code-0.0.1.dist-info original/my_test_code-0.0.1+1741187253123456700.dist-info
2025-03-05 14:34:24 +00:00
trace diff.py original output
2025-03-05 14:36:39 +00:00
rm -fr original