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

pythonPackages.cufflinks: 0.15 -> 0.16 #70220

Merged
merged 2 commits into from Oct 7, 2019
Merged

Conversation

jonringer
Copy link
Contributor

@jonringer jonringer commented Oct 2, 2019

Motivation for this change

noticed it was broken on master with:

$ nix-build -A pythonPackages.cufflinks
...
ImportError:
The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead.

so I did the following:

  • Added the chart-studio package
  • Added patch which gave support to the new plotly version
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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.
Notify maintainers

cc @

closure includes numpy, expected to be large:

$ nix path-info -Sh ./result
/nix/store/r48nwnlgvv45fy6f0qar7lklflc59hfi-python2.7-cufflinks-0.16     564.8M
[3 built, 2 copied (37.1 MiB), 7.2 MiB DL]
https://github.com/NixOS/nixpkgs/pull/70220
4 package were build:
python27Packages.chart-studio python27Packages.cufflinks python37Packages.chart-studio python37Packages.cufflinks

@jonringer
Copy link
Contributor Author

fixes two builds, tired of seeing this fail in other reviews, merging.

[3 built, 2 copied (73.2 MiB), 14.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/70220
4 package were build:
python27Packages.chart-studio python27Packages.cufflinks python37Packages.chart-studio python37Packages.cufflinks

@jonringer jonringer merged commit 7d297e4 into NixOS:master Oct 7, 2019
@jonringer jonringer deleted the fix-cufflinks branch October 7, 2019 08:57
@jonringer
Copy link
Contributor Author

backported as dbc6baa f364b99

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

1 participant