Skip to content

Commit

Permalink
Temporary allow the possibility of the pyarrow. folder
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Sep 3, 2024
1 parent 040774b commit 915d70f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/scripts/validate_wheels_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@

def validate_wheel(wheel):
f = zipfile.ZipFile(wheel)
# An empty "pyarrow." folder is currently present on the wheel
# but we haven't been able to locate the origin.
outliers = [
info.filename for info in f.filelist if not re.match(
r'(pyarrow/|pyarrow-[-.\w\d]+\.dist-info/)', info.filename
r'(pyarrow\.?/|pyarrow-[-.\w\d]+\.dist-info/)', info.filename
)
]
assert not outliers, f"Unexpected contents in wheel: {sorted(outliers)}"
Expand Down

0 comments on commit 915d70f

Please sign in to comment.