Skip to content

Commit

Permalink
(actions) Fix repackage-wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Oct 8, 2024
1 parent 956556b commit ee8601a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/common/repackage-wheels/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ runs:
import packaging.tags
import packaging.utils
import packaging.version
import pathlib
import shutil
import tempfile
import wheel.wheelfile
Expand Down Expand Up @@ -128,7 +129,7 @@ runs:
# We have to do this manually due to
# https://github.com/python/cpython/issues/59999
permissions = zinfo.external_attr >> 16 & 0o777
directory.joinpath(zinfo.filename).chmod(permissions)
pathlib.Path(directory).joinpath(zinfo.filename).chmod(permissions)
# Remove the original wheel file as it's no longer needed
os.remove(wheel_path)
Expand Down

0 comments on commit ee8601a

Please sign in to comment.