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

python3 is now python37 instead of python36 #48768

Merged
merged 13 commits into from Oct 24, 2018
Merged

python3 is now python37 instead of python36 #48768

merged 13 commits into from Oct 24, 2018

Conversation

FRidh
Copy link
Member

@FRidh FRidh commented Oct 21, 2018

Motivation for this change
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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

With Python 3.7 now at 3.7.1, and Python 3.6 at it's final maintenance
mode release, it is time to move on to 3.7 as the default interpreter.
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/74b1xd5srd6ja54xwznvbrd5hcfl6k1n-python-2.7.15

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/2brlr94ahy3a9mvcjy0qbqpv8zrb7b7s-python-2.7.15

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python

Partial log (click to expand)

cannot build derivation '/nix/store/l5yxf7p7lvh2hxcjmngzjrimc84ixahm-python-2.7.15.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/34y018y4wj5xch6bfvl2jn72cxwb68w1-libtool-2.4.6.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/hw3m804zwzgfq3jz8qv26axb3xiv32f7-hook.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/bjcd7039djchlff287nm00z7fcc5in3l-flex-2.6.4.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/9fc9pvfqnffg6fyl5yrhm179d4w6sqxx-bootstrap_cmds-dev-tools-7.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/34famp2vk784czlsfzj139y94ii8hqp6-xnu-osx-10.11.6.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/05jxpplgs9r2cgf09gs5f1h3flaqhxrn-IOKit-osx-10.11.6.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/na5vdr8837h0ms2gjjm9xkl5kklp8wl7-configd-osx-10.8.5.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv': 14 dependencies couldn't be built
error: build of '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv' failed

@timokau
Copy link
Member

timokau commented Oct 22, 2018

@FRidh could you include the necessary sage patches into the cython upgrade? See #48838.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/74b1xd5srd6ja54xwznvbrd5hcfl6k1n-python-2.7.15

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/2brlr94ahy3a9mvcjy0qbqpv8zrb7b7s-python-2.7.15

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python

Partial log (click to expand)

cannot build derivation '/nix/store/l5yxf7p7lvh2hxcjmngzjrimc84ixahm-python-2.7.15.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/34y018y4wj5xch6bfvl2jn72cxwb68w1-libtool-2.4.6.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/hw3m804zwzgfq3jz8qv26axb3xiv32f7-hook.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/bjcd7039djchlff287nm00z7fcc5in3l-flex-2.6.4.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/9fc9pvfqnffg6fyl5yrhm179d4w6sqxx-bootstrap_cmds-dev-tools-7.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/34famp2vk784czlsfzj139y94ii8hqp6-xnu-osx-10.11.6.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/05jxpplgs9r2cgf09gs5f1h3flaqhxrn-IOKit-osx-10.11.6.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/na5vdr8837h0ms2gjjm9xkl5kklp8wl7-configd-osx-10.8.5.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv': 14 dependencies couldn't be built
error: build of '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/74b1xd5srd6ja54xwznvbrd5hcfl6k1n-python-2.7.15

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/2brlr94ahy3a9mvcjy0qbqpv8zrb7b7s-python-2.7.15

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python

Partial log (click to expand)

cannot build derivation '/nix/store/l5yxf7p7lvh2hxcjmngzjrimc84ixahm-python-2.7.15.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/34y018y4wj5xch6bfvl2jn72cxwb68w1-libtool-2.4.6.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/hw3m804zwzgfq3jz8qv26axb3xiv32f7-hook.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/bjcd7039djchlff287nm00z7fcc5in3l-flex-2.6.4.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/9fc9pvfqnffg6fyl5yrhm179d4w6sqxx-bootstrap_cmds-dev-tools-7.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/34famp2vk784czlsfzj139y94ii8hqp6-xnu-osx-10.11.6.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/05jxpplgs9r2cgf09gs5f1h3flaqhxrn-IOKit-osx-10.11.6.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/na5vdr8837h0ms2gjjm9xkl5kklp8wl7-configd-osx-10.8.5.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv': 14 dependencies couldn't be built
error: build of '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/74b1xd5srd6ja54xwznvbrd5hcfl6k1n-python-2.7.15

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python

Partial log (click to expand)

/nix/store/2brlr94ahy3a9mvcjy0qbqpv8zrb7b7s-python-2.7.15

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python

Partial log (click to expand)

cannot build derivation '/nix/store/l5yxf7p7lvh2hxcjmngzjrimc84ixahm-python-2.7.15.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/34y018y4wj5xch6bfvl2jn72cxwb68w1-libtool-2.4.6.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/hw3m804zwzgfq3jz8qv26axb3xiv32f7-hook.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/bjcd7039djchlff287nm00z7fcc5in3l-flex-2.6.4.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/9fc9pvfqnffg6fyl5yrhm179d4w6sqxx-bootstrap_cmds-dev-tools-7.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/34famp2vk784czlsfzj139y94ii8hqp6-xnu-osx-10.11.6.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/05jxpplgs9r2cgf09gs5f1h3flaqhxrn-IOKit-osx-10.11.6.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/na5vdr8837h0ms2gjjm9xkl5kklp8wl7-configd-osx-10.8.5.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv': 14 dependencies couldn't be built
error: build of '/nix/store/535hajj15j97p11hhx5hp26w8s7wadav-python-2.7.15.drv' failed

@FRidh FRidh merged commit 5db0472 into staging Oct 24, 2018
clacke added a commit to clacke/artiq that referenced this pull request Jan 13, 2019
Specify Python 3.6

Steps to reproduce:

 - Use a nixpkgs newer than NixOS/nixpkgs#48768 .
 - `nix-build ./nix`

```
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 2, in <module>
    import quamash
  File "/build/source/quamash/__init__.py", line 237
    future = asyncio.async(future, loop=self)
                         ^
SyntaxError: invalid syntax
builder for '/nix/store/w14lf2mm45vvycjsks0ian9vx725n24s-python3.7-quamash.drv' failed with exit code 1
```

Signed-off-by: Claes Wallin (韋嘉誠) <claes.wallin@greatsinodevelopment.com>
clacke added a commit to clacke/artiq that referenced this pull request Jan 13, 2019
Specify Python 3.6 for artiq and dependencies.

Steps to reproduce:

 - Use a nixpkgs newer than NixOS/nixpkgs#48768 .
 - `nix-build ./nix`

```
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 2, in <module>
    import quamash
  File "/build/source/quamash/__init__.py", line 237
    future = asyncio.async(future, loop=self)
                         ^
SyntaxError: invalid syntax
builder for '/nix/store/w14lf2mm45vvycjsks0ian9vx725n24s-python3.7-quamash.drv' failed with exit code 1
```

Signed-off-by: Claes Wallin (韋嘉誠) <claes.wallin@greatsinodevelopment.com>
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

3 participants