Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python library 'shellingham' fails to build #89448

Closed
moritzschaefer opened this issue Jun 3, 2020 · 4 comments
Closed

python library 'shellingham' fails to build #89448

moritzschaefer opened this issue Jun 3, 2020 · 4 comments

Comments

@moritzschaefer
Copy link
Contributor

moritzschaefer commented Jun 3, 2020

Describe the bug
After updating nixpkgs, my environment doesn't build (nixos-rebuild) anymore, because python3-shellingham-1.3.2 fails to build.

To Reproduce
Steps to reproduce the behavior:

  1. Checkout nixpgs/master
  2. Run nix-build -A python37Packages.shellingham
  3. Observe fail
unpacking source archive /nix/store/ls5q23mg5w47dlwy67ahjccwsvwgxa7y-shellingham-1.3.2.tar.gz
source root is shellingham-1.3.2
setting SOURCE_DATE_EPOCH to timestamp 1581499529 of file shellingham-1.3.2/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "/nix/store/q732h09azy7lf0j30bnnhdl15p4rxpdy-python3-3.7.7/lib/python3.7/tokenize.py", line 447, in open
    buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'
builder for '/nix/store/3f22id45sk2n5k7y6vs9bxf0m5mw5lbb-python3.7-shellingham-1.3.2.drv' failed with exit code 1

Expected behavior
Builds fine, no error

Notify maintainers
@mbode

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.4.39, NixOS, 20.09.20200515.bc9631c (Nightingale)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.4pre20200501_941f952
  • channels(root): "nixos-20.09pre225264.683c68232e9"
  • channels(moritz): "home-manager"
  • nixpkgs: /nix/store/86s47nrd5hsvcw9pc1cii59ysym46a7j-source
@moritzschaefer
Copy link
Contributor Author

moritzschaefer commented Jun 4, 2020

The tar-ball for version 1.3.2
(https://pypi.org/project/shellingham/#files)

indeed lacks the setup.py file, while 1.3.1 still has it.

Consequently, reverting the "shellingham 1.3.1 -> 1.3.2 commit" (e36caa1), fixes the issue and shellingham builds fine again.

@FRidh (upgroad commiter), did you test the update of this package and did it work for you?

@FRidh
Copy link
Member

FRidh commented Jun 4, 2020

nope that was an automated update

@moritzschaefer
Copy link
Contributor Author

Ok, I'll post a PR then to downgrade

@jonringer
Copy link
Contributor

fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants