Skip to content

python3Packages.dipy: init at 1.1.1#83359

Merged
jonringer merged 1 commit intoNixOS:masterfrom
bcdarwin:python3-dipy
Mar 27, 2020
Merged

python3Packages.dipy: init at 1.1.1#83359
jonringer merged 1 commit intoNixOS:masterfrom
bcdarwin:python3-dipy

Conversation

@bcdarwin
Copy link
Member

@bcdarwin bcdarwin commented Mar 25, 2020

Motivation for this change
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
  • [NA] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • [NA] 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.

cc @lheckemann @drewrisinger

@ofborg ofborg bot added 6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Mar 25, 2020
@drewrisinger
Copy link
Contributor

drewrisinger commented Mar 25, 2020 via email

@bcdarwin
Copy link
Member Author

The main issue is that the recommended way of running tests, dipy.test(), seems to run nose (which is unfortunately in the closure for some reason even though not required by the package) and then this hangs in multiprocessing.

@bcdarwin
Copy link
Member Author

Just if you had any comments about how cvxpy is integrated here.

@drewrisinger
Copy link
Contributor

Just if you had any comments about how cvxpy is integrated here.

Depends on if cvxpy is a hard requirement or optional. Seems fine if optional.

@wd15
Copy link
Contributor

wd15 commented Mar 25, 2020

Built on non-nix linux

Result of nixpkgs-review pr 83359 1

2 package built:
  • python37Packages.dipy
  • python38Packages.dipy

Copy link
Contributor

@drewrisinger drewrisinger left a comment

Choose a reason for hiding this comment

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

Would prefer to see some tests, even if fairly cursory. Do you get the multiprocessing hang in pytest? You said you did in nose.

Copy link
Contributor

@drewrisinger drewrisinger left a comment

Choose a reason for hiding this comment

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

Would still like to see tests run, but builds as is currently.

[4 built, 6 copied (277.2 MiB), 62.9 MiB DL]
https://github.com/NixOS/nixpkgs/pull/83359
2 package built:
python37Packages.dipy python38Packages.dipy

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

diff LGTM
commits LGTM

https://github.com/NixOS/nixpkgs/pull/83359
2 package built:
python37Packages.dipy python38Packages.dipy

@jonringer
Copy link
Contributor

@GrahamcOfBorg build python37Packages.dipy python38Packages.dipy

@bcdarwin bcdarwin deleted the python3-dipy branch March 29, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants