spesmilo / spesmilo/electrumx

Wheels on PyPI lack unix execute permission for scripts

Open
#117 2 comments 0 reactions 1 assignee View on GitHub

@SomberNight is already working on this.

Since Apr 12, 2021.

bug
Dominant language
Python
Stars
568
Forks
447
PR merge metrics
No merged PRs in 30d

Description

In the 1.16.0 wheel file on PyPI, the entire contents of the wheel are set to read-write-only permission. The scripts should instead maintain their executable permission bit.

zipinfo e_x-1.16.0-py3-none-any.whl
Archive:  e_x-1.16.0-py3-none-any.whl
Zip file size: 130334 bytes, number of entries: 34
-rw-rw-rw-  2.0 fat     2490 b- defN 20-Dec-10 17:41 e_x-1.16.0.data/scripts/electrumx_compact_history
-rw-rw-rw-  2.0 fat     4568 b- defN 20-Oct-25 19:02 e_x-1.16.0.data/scripts/electrumx_rpc
-rw-rw-rw-  2.0 fat     1276 b- defN 20-Jun-19 16:25 e_x-1.16.0.data/scripts/electrumx_server

Not sure where the wheel is being built, but it's possible it's on a platform without unix permissions or the permissions are being clobbered by a pre-build command or file copy. Hoping @SomberNight can shed some light.

The net effect is that electrumx_server isn't a PATH-executable following installation of e-x.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.