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

Update jupyter and enable a few tests #30762

Merged
merged 6 commits into from Oct 25, 2017
Merged

Conversation

globin
Copy link
Member

@globin globin commented Oct 24, 2017

cc @FRidh

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@globin globin requested a review from FRidh October 24, 2017 13:34
@FRidh FRidh self-assigned this Oct 24, 2017
};

LC_ALL = "en_US.UTF-8";
LC_ALL = "en_US.utf8";
Copy link
Member

Choose a reason for hiding this comment

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

Is en_US.utf8 a valid identifier?

Copy link
Member Author

@globin globin Oct 25, 2017

Choose a reason for hiding this comment

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

$ locale -a    
C
en_GB.utf8
en_US.utf8
POSIX

Copy link
Member

@Mic92 Mic92 Oct 25, 2017

Choose a reason for hiding this comment

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

Interesting on ubuntu/archlinux always the first notation is used in /etc/locale.gen. Python seems to accept both variants:

$ LC_ALL=en_US.utf8 python -c 'import locale; print(locale.getdefaultlocale())'
('en_US', 'UTF-8')
$ LC_ALL=en_US.UTF-8 python -c 'import locale; print(locale.getdefaultlocale())'
('en_US', 'UTF-8')

@FRidh FRidh merged commit 316f4ac into NixOS:master Oct 25, 2017
@FRidh
Copy link
Member

FRidh commented Oct 25, 2017

Thanks!

@TikhonJelvis
Copy link
Contributor

@Fuuzetsu I also just ran into build failures for Jupyter on OS X. I suspect it's caused by this PR.

Is there a dedicated issue for that? Is it worth opening one?

@Fuuzetsu
Copy link
Member

I haven't opened one. I have set doCheck to false in own checkout at the time to get around that. We should create an issue and/or just disable to test on OSX in the expression.

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

5 participants