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

SPAdes: add python dependency #89778

Merged
merged 1 commit into from Dec 21, 2020
Merged

SPAdes: add python dependency #89778

merged 1 commit into from Dec 21, 2020

Conversation

jbedo
Copy link
Contributor

@jbedo jbedo commented Jun 7, 2020

Motivation for this change

spades.py requires python.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@jtojnar jtojnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message tag needs to match the attribute name SPAdes.

pkgs/applications/science/biology/spades/default.nix Outdated Show resolved Hide resolved
@jbedo jbedo requested a review from jtojnar June 8, 2020 11:20
@jbedo jbedo changed the title spades: add python dependency SPAdes: add python dependency Jun 8, 2020
@SuperSandro2000
Copy link
Member

Build in #87494 fine without. Closing.

@jbedo
Copy link
Contributor Author

jbedo commented Nov 28, 2020 via email

@jbedo
Copy link
Contributor Author

jbedo commented Nov 28, 2020

@SuperSandro2000 Confirmed, patch still required:

~/g/nixpkgs on 8256fc2da56 ⨯ nix shell .#SPAdes -c spades.py
/usr/bin/env: ‘python’: No such file or directory    

@jbedo jbedo reopened this Nov 28, 2020
@ofborg ofborg bot requested a review from bzizou November 28, 2020 08:46
@jbedo
Copy link
Contributor Author

jbedo commented Dec 14, 2020

SPAdes is unusable without this patch, is there anything further I need to do to get it merged? Might be worth considering backporting to 20.09 since it's also broken there.

Copy link
Contributor

@bzizou bzizou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that the python dependency allows spades.py to run in a pure environment without explicitly loading python

@SuperSandro2000
Copy link
Member

I read on their GitHub that they support python3 https://github.com/ablab/spades#installation. Can we please use python3 as we are currently remove python2 from as many packages as possible.

@jbedo
Copy link
Contributor Author

jbedo commented Dec 20, 2020

Changed to python 3, rebased against current master, and verified functional.

@ofborg ofborg bot requested a review from bzizou December 20, 2020 21:45
@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 89778 run on x86_64-darwin 1

1 package built:
  • SPAdes

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 89778 run on x86_64-linux 1

1 package built:
  • SPAdes

@SuperSandro2000 SuperSandro2000 merged commit af69f39 into NixOS:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants