diff --git a/acceptance/cmd/patchwhl/output.txt b/acceptance/cmd/patchwhl/output.txt index aeefaaed7..3c786d1ab 100644 --- a/acceptance/cmd/patchwhl/output.txt +++ b/acceptance/cmd/patchwhl/output.txt @@ -3,20 +3,20 @@ >>> setmtime.py 2025-03-05 15:07:33.123456789 my_test_code-0.0.1-py3-none-any.whl >>> [CLI] selftest patchwhl my_test_code-0.0.1-py3-none-any.whl -Warn: Patched whl: my_test_code-0.0.1-py3-none-any.whl -> my_test_code-0.0.1+1741183653123456789-py3-none-any.whl +Warn: Patched whl: my_test_code-0.0.1-py3-none-any.whl -> my_test_code-0.0.1+1741187253123456789-py3-none-any.whl >>> diff.py original output ---- original/my_test_code-0.0.1+1741183653123456789.dist-info/METADATA -+++ output/my_test_code-0.0.1+1741183653123456789.dist-info/METADATA +--- original/my_test_code-0.0.1+1741187253123456789.dist-info/METADATA ++++ output/my_test_code-0.0.1+1741187253123456789.dist-info/METADATA @@ -1,5 +1,5 @@ Metadata-Version: 2.1 Name: my-test-code -Version: 0.0.1 -+Version: 0.0.1+1741183653123456789 ++Version: 0.0.1+1741187253123456789 Summary: my test wheel Home-page: https://databricks.com ---- original/my_test_code-0.0.1+1741183653123456789.dist-info/RECORD -+++ output/my_test_code-0.0.1+1741183653123456789.dist-info/RECORD +--- original/my_test_code-0.0.1+1741187253123456789.dist-info/RECORD ++++ output/my_test_code-0.0.1+1741187253123456789.dist-info/RECORD @@ -1,7 +1,7 @@ src/__init__.py,sha256=BRmKeYehopKv4NG_SFa7t6wn248RrPHJivu7DM1R-Rw,48 src/__main__.py,sha256=8TtsnLsaJEM35Y4L8ocrv-qfxusgYpRL2HPyYiabHng,242 @@ -25,8 +25,8 @@ Warn: Patched whl: my_test_code-0.0.1-py3-none-any.whl -> my_test_code-0.0.1+174 -my_test_code-0.0.1.dist-info/entry_points.txt,sha256=oDWOW9SsBlk4Uejj1ftYPBxfhJ5ZJctb4JOUIG1rc-4,34 -my_test_code-0.0.1.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4 -my_test_code-0.0.1.dist-info/RECORD,, -+my_test_code-0.0.1+1741183653123456789.dist-info/METADATA,sha256=ZDt3WC6oDIUk0pty4-t07jXm7E9CPgVveGLhPsZFa64,217 -+my_test_code-0.0.1+1741183653123456789.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92 -+my_test_code-0.0.1+1741183653123456789.dist-info/entry_points.txt,sha256=oDWOW9SsBlk4Uejj1ftYPBxfhJ5ZJctb4JOUIG1rc-4,34 -+my_test_code-0.0.1+1741183653123456789.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4 -+my_test_code-0.0.1+1741183653123456789.dist-info/RECORD,, ++my_test_code-0.0.1+1741187253123456789.dist-info/METADATA,sha256=YfLGWpaVMx10KxwMVciGeTLsNUq_UqlNGa3UuaNc2cM,217 ++my_test_code-0.0.1+1741187253123456789.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92 ++my_test_code-0.0.1+1741187253123456789.dist-info/entry_points.txt,sha256=oDWOW9SsBlk4Uejj1ftYPBxfhJ5ZJctb4JOUIG1rc-4,34 ++my_test_code-0.0.1+1741187253123456789.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4 ++my_test_code-0.0.1+1741187253123456789.dist-info/RECORD,, diff --git a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/RECORD b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/RECORD deleted file mode 100644 index ec765c71e..000000000 --- a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/RECORD +++ /dev/null @@ -1,7 +0,0 @@ -src/__init__.py,sha256=BRmKeYehopKv4NG_SFa7t6wn248RrPHJivu7DM1R-Rw,48 -src/__main__.py,sha256=8TtsnLsaJEM35Y4L8ocrv-qfxusgYpRL2HPyYiabHng,242 -my_test_code-0.0.1+1741183653123456789.dist-info/METADATA,sha256=ZDt3WC6oDIUk0pty4-t07jXm7E9CPgVveGLhPsZFa64,217 -my_test_code-0.0.1+1741183653123456789.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92 -my_test_code-0.0.1+1741183653123456789.dist-info/entry_points.txt,sha256=oDWOW9SsBlk4Uejj1ftYPBxfhJ5ZJctb4JOUIG1rc-4,34 -my_test_code-0.0.1+1741183653123456789.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4 -my_test_code-0.0.1+1741183653123456789.dist-info/RECORD,, diff --git a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/METADATA b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/METADATA similarity index 83% rename from acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/METADATA rename to acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/METADATA index a715f4eb7..09dc4013a 100644 --- a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/METADATA +++ b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: my-test-code -Version: 0.0.1+1741183653123456789 +Version: 0.0.1+1741187253123456789 Summary: my test wheel Home-page: https://databricks.com Author: Databricks diff --git a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/RECORD b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/RECORD new file mode 100644 index 000000000..262dddc7e --- /dev/null +++ b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/RECORD @@ -0,0 +1,7 @@ +src/__init__.py,sha256=BRmKeYehopKv4NG_SFa7t6wn248RrPHJivu7DM1R-Rw,48 +src/__main__.py,sha256=8TtsnLsaJEM35Y4L8ocrv-qfxusgYpRL2HPyYiabHng,242 +my_test_code-0.0.1+1741187253123456789.dist-info/METADATA,sha256=YfLGWpaVMx10KxwMVciGeTLsNUq_UqlNGa3UuaNc2cM,217 +my_test_code-0.0.1+1741187253123456789.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92 +my_test_code-0.0.1+1741187253123456789.dist-info/entry_points.txt,sha256=oDWOW9SsBlk4Uejj1ftYPBxfhJ5ZJctb4JOUIG1rc-4,34 +my_test_code-0.0.1+1741187253123456789.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4 +my_test_code-0.0.1+1741187253123456789.dist-info/RECORD,, diff --git a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/WHEEL b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/WHEEL similarity index 100% rename from acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/WHEEL rename to acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/WHEEL diff --git a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/entry_points.txt b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/entry_points.txt similarity index 100% rename from acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/entry_points.txt rename to acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/entry_points.txt diff --git a/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/top_level.txt b/acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/top_level.txt similarity index 100% rename from acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741183653123456789.dist-info/top_level.txt rename to acceptance/cmd/patchwhl/output/my_test_code-0.0.1+1741187253123456789.dist-info/top_level.txt diff --git a/acceptance/cmd/patchwhl/script b/acceptance/cmd/patchwhl/script index 61dabeadc..4c21a6e31 100644 --- a/acceptance/cmd/patchwhl/script +++ b/acceptance/cmd/patchwhl/script @@ -4,11 +4,11 @@ trace setmtime.py "2025-03-05 15:07:33.123456789" my_test_code-0.0.1-py3-none-an trace $CLI selftest patchwhl my_test_code-0.0.1-py3-none-any.whl mkdir output original -unzip -q my_test_code-0.0.1+1741183653123456789-py3-none-any.whl -d output +unzip -q my_test_code-0.0.1+1*-py3-none-any.whl -d output unzip -q my_test_code-0.0.1-py3-none-any.whl -d original -rm my_test_code-0.0.1+1741183653123456789-py3-none-any.whl +rm my_test_code-0.0.1+1*-py3-none-any.whl # 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+1741183653123456789.dist-info +mv original/my_test_code-0.0.1.dist-info original/my_test_code-0.0.1+1741187253123456789.dist-info trace diff.py original output rm -fr original