-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
python3Packages.sourmash: init at 4.8.3 #230596
Conversation
c21303f
to
6c2a916
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/2192 |
6c2a916
to
eac5eab
Compare
@ofborg build python310Packages.sourmash |
eac5eab
to
200e5b8
Compare
one test fails:
|
Result of 4 packages failed to build:
|
200e5b8
to
44167e6
Compare
I'm very confused with the current build error... Before it was related to tests, but now it is because a weird mode
Is anyone aware of a Python hook that could be changing that? Not sure how to fix this... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this PR is open, maturin
of nixpkgs is reached 1.0.0 in #230799.
This is why the build failed.
I can build it by applying these two patches.
sourmash-bio/sourmash@9de27b6
sourmash-bio/sourmash@406b945
Indeed, thanks @natsukium! I will do a new release of the upstream project and update the PyPI download link |
44167e6
to
6e8fece
Compare
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "sha256-LIMpL9cLafytRFyPam/FBNi757j1v6o1FG/K2JknDQY="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sha256 = "sha256-LIMpL9cLafytRFyPam/FBNi757j1v6o1FG/K2JknDQY="; | |
hash = "sha256-LIMpL9cLafytRFyPam/FBNi757j1v6o1FG/K2JknDQY="; |
@GrahamcOfBorg build python310Packages.sourmash |
6e8fece
to
e17a9b7
Compare
Result of 4 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(There are too many things happening in #2230, so I'll open a couple of PRs to simplify it) - Bring tox config as close as possible to `tox 4`, but keep using `tox 3` until [`tox-conda` is compatible with `tox 4`](tox-dev/tox-conda#156). Ended up adding an explicit `'tox>=3.27,<4'` to the conda dev env instructions to get the right version, and remove/replace deprecated options from `tox.ini` - Bump `MACOSX_DEPLOYMENT_TARGET` to `11.0` consistently for maturin and CI. - Remove Python installation for Rust tests in CI (not used) - Clean up `flake.nix` and avoid `naersk`, prefer regular `nixpkgs` tooling now that NixOS/nixpkgs#230596 is merged and we can keep them in sync - Move `.ci/install_cargo.sh` into `cibuildwheel` configuration, set up extra tools needed for `bindgen`/`cbindgen` (libclang and env vars)
Description of changes
sourmash
is a bioinformatics tool for quickly searching, comparing, and analyzing genomic and metagenomic data sets.Homepage: https://sourmash.bio
GitHub: https://github.com/sourmash-bio/sourmash
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)