pitrou commented on code in PR #48988:
URL: https://github.com/apache/arrow/pull/48988#discussion_r2741079466


##########
ci/scripts/python_wheel_validate_contents.py:
##########
@@ -33,6 +33,9 @@ def validate_wheel(path):
         )
     ]
     assert not outliers, f"Unexpected contents in wheel: {sorted(outliers)}"
+    for filename in ('LICENSE.txt', 'NOTICE.txt'):
+        assert any(info.filename.endswith(filename) for info in f.filelist), \

Review Comment:
   How about being a bit stricter
   ```suggestion
           assert any(info.filename.split("/")[-1] == filename
                      for info in f.filelist), \
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to