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

gin-config: init #49676

Merged
merged 10 commits into from Nov 11, 2018
Merged

gin-config: init #49676

merged 10 commits into from Nov 11, 2018

Conversation

jethrokuan
Copy link
Contributor

@jethrokuan jethrokuan commented Nov 3, 2018

Motivation for this change

Add new python package gin-config

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.

Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

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

Except my comment regarding tensorflow I'm 👍


};

buildInputs = [ six enum34 tensorflow ];
Copy link
Member

Choose a reason for hiding this comment

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

I'd add an optional parameter withTensorflow ? false here as it seems to be optional according to setup.py: https://github.com/google/gin-config/blob/master/setup.py#L51

This might look like this then:

{
  # ...
  propagatedBuildInputs = [ six enum34 ] ++ lib.optional withTensorflow tensorflow;
}

From my understanding this project doesn't need to be used for ML projects and in such a case I doubt that you want to have tensorflow in your build closure :)

Copy link
Member

Choose a reason for hiding this comment

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

I wrote a separate comment already, but no, there should not be an option for it.


};

propogatedBuildInputs = [ six enum34 ] + lib.optional withTensorflow tensorflow;
Copy link
Member

Choose a reason for hiding this comment

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

this should be ++.
lib.optional does basically the following: cond: a: if cond then [ a ] else [].

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops thanks! amateur mistake :P

@Ma27
Copy link
Member

Ma27 commented Nov 8, 2018

have you tested this on Python3?
I get the following failure when building from your branch:

/nix/store/9pifap75pkb9ifmdqh0irn8wgc3q38s6-stdenv-linux/setup: line 1298:  1786 Illegal instruction     /nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3.6m nix_run_setup test

Let's see what borg says about this:

@GrahamcOfBorg build pythonPackages.gin-config python3Packages.gin-config

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Cannot nix-instantiate `pythonPackages.gin-config' because:
error: while evaluating the attribute 'propogatedBuildInputs' of the derivation 'python2.7-gin-config-0.1.1.2' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/stdenv/generic/make-derivation.nix:180:11:
cannot coerce a list to a string, at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/development/python-modules/gin-config/default.nix:21:27

Cannot nix-instantiate `python3Packages.gin-config' because:
error: while evaluating the attribute 'propogatedBuildInputs' of the derivation 'python3.6-gin-config-0.1.1.2' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/stdenv/generic/make-derivation.nix:180:11:
cannot coerce a list to a string, at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/development/python-modules/gin-config/default.nix:21:27

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)


b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


Cannot nix-instantiate `python3Packages.gin-config' because:
error: while evaluating the attribute 'propogatedBuildInputs' of the derivation 'python3.6-gin-config-0.1.1.2' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndndx-vm/pkgs/stdenv/generic/make-derivation.nix:180:11:
cannot coerce a list to a string, at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndndx-vm/pkgs/development/python-modules/gin-config/default.nix:21:27

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Cannot nix-instantiate `pythonPackages.gin-config' because:
error: while evaluating the attribute 'propogatedBuildInputs' of the derivation 'python2.7-gin-config-0.1.1.2' at /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/stdenv/generic/make-derivation.nix:180:11:
cannot coerce a list to a string, at /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/development/python-modules/gin-config/default.nix:21:27

Cannot nix-instantiate `python3Packages.gin-config' because:
error: while evaluating the attribute 'propogatedBuildInputs' of the derivation 'python3.6-gin-config-0.1.1.2' at /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/stdenv/generic/make-derivation.nix:180:11:
cannot coerce a list to a string, at /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/development/python-modules/gin-config/default.nix:21:27

@Ma27
Copy link
Member

Ma27 commented Nov 8, 2018

ahh right... should've pushed the fix at first :D

@GrahamcOfBorg build pythonPackages.gin-config python3Packages.gin-config

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

building
installing
/build/dist /build
tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.
tensorflow-1.11.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
builder for '/nix/store/ckbc6szxzz5nkfkila5d127bbfzjz7lv-python3.6-tensorflow-1.11.0.drv' failed with exit code 1
cannot build derivation '/nix/store/xryag5wr57q606gdvja7i38fskqrk274-python3.6-gin-config-0.1.1.2.drv': 1 dependencies couldn't be built
builder for '/nix/store/6nxd184vxni0y9qqm4jbypnm0yfnvw0g-python2.7-tensorflow-1.11.0.drv' failed with exit code 1
cannot build derivation '/nix/store/vz5r4si1gc0pj4ydfdwx1x70hnyaq5j1-python2.7-gin-config-0.1.1.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/vz5r4si1gc0pj4ydfdwx1x70hnyaq5j1-python2.7-gin-config-0.1.1.2.drv', '/nix/store/xryag5wr57q606gdvja7i38fskqrk274-python3.6-gin-config-0.1.1.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python3Packages.gin-config

The following builds were skipped because they don't evaluate on x86_64-darwin: pythonPackages.gin-config

Partial log (click to expand)

writing gin_config.egg-info/PKG-INFO
writing dependency_links to gin_config.egg-info/dependency_links.txt
writing requirements to gin_config.egg-info/requires.txt
writing top-level names to gin_config.egg-info/top_level.txt
reading manifest file 'gin_config.egg-info/SOURCES.txt'
writing manifest file 'gin_config.egg-info/SOURCES.txt'
running build_ext
/nix/store/8qai18dv0nqyw6s61g9p91n8684rnlg8-stdenv-darwin/setup: line 1304: 94257 Illegal instruction: 4  /nix/store/0mha803yql9q7b6h93m8940z3sjbhiy8-python3-3.6.6/bin/python3.6m nix_run_setup test
builder for '/nix/store/95gqgp4685jjh5fnwihrzaq8yghdkvww-python3.6-gin-config-0.1.1.2.drv' failed with exit code 132
error: build of '/nix/store/95gqgp4685jjh5fnwihrzaq8yghdkvww-python3.6-gin-config-0.1.1.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

writing gin_config.egg-info/PKG-INFO
writing dependency_links to gin_config.egg-info/dependency_links.txt
writing requirements to gin_config.egg-info/requires.txt
writing top-level names to gin_config.egg-info/top_level.txt
reading manifest file 'gin_config.egg-info/SOURCES.txt'
writing manifest file 'gin_config.egg-info/SOURCES.txt'
running build_ext
/nix/store/9pifap75pkb9ifmdqh0irn8wgc3q38s6-stdenv-linux/setup: line 1298:  1786 Illegal instruction     /nix/store/bwfygfcdvis9wd1c1v51xwnwhw1hx0a0-python3-3.6.6/bin/python3.6m nix_run_setup test
builder for '/nix/store/iwggy33csabllld17mp4zvps1dwy4ckd-python3.6-gin-config-0.1.1.2.drv' failed with exit code 132
error: build of '/nix/store/iwggy33csabllld17mp4zvps1dwy4ckd-python3.6-gin-config-0.1.1.2.drv' failed

@jethrokuan
Copy link
Contributor Author

Works for me.

hash-lda2vec on  master [⇡!?] 
➜ python                                                                                                 1s 289ms → 2 
Python 3.6.6 (default, Jun 27 2018, 05:47:41) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gin
>>> 

@Ma27
Copy link
Member

Ma27 commented Nov 8, 2018

yeah, that's what I suspected, unfortunately. I obvserved such issues some times in recent history, but I'm not sure yet how to proceed here.

Let's see if I have sufficient time to debug this tomorrow, if I forget about this, feel free to ping me :)

@jethrokuan
Copy link
Contributor Author

fwiw i built with this command nix-build -I nixpkgs=/home/jethro/nix-config/nixpkgs/ -A python36Packages.gin-config, let me know if I should be running something else

, enum34
, absl-py
, tensorflow
, withTensorflow ? true
Copy link
Member

@FRidh FRidh Nov 8, 2018

Choose a reason for hiding this comment

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

This is pointless. If one (does not) want Tensorflow, they will need to override this expression. In that case they might as well use overridePythonAttrs. Tensorflow is an optional dependency, so if someone wants to use this package in conjunction with tensorflow, they can just add both to the environment, no overriding necessary at all!

Copy link
Member

Choose a reason for hiding this comment

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

you're right, sorry, missed that during my review :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made changes to the derivation based on what I think you mean, hope it's correct!

@Ma27
Copy link
Member

Ma27 commented Nov 9, 2018

@jethrokuan what @FRidh wanted to say is that tensorflow isn't needed as propagated build input. It's optional (as I mentioned), if you need it, you can add this to your python environment as well.

Sorry, I didn't think of this, that was clearly my mistake!
Regarding the Python3 issue, I'll have a deeper look into this tomorrow ok? :)

@Ma27
Copy link
Member

Ma27 commented Nov 10, 2018

So, I suspect that tensorflow seems to have caused the issue locally. Removing it from the list of check inputs starts at least the test suite.

However, the PyPI source archive doesn't ship the tests, so now we can do two things:

  • Use fetchFromGitHub instead and get the tests running
  • Simply add doCheck = false; (several python modules do this)

Except for that issue, the PR is looking good now and should be ready to merge :)

@FRidh
Copy link
Member

FRidh commented Nov 10, 2018

When enabling tests, I suggest disabling tests that require tensorflow because it's a very heavy dependency.

@jethrokuan
Copy link
Contributor Author

However, the PyPI source archive doesn't ship the tests.

You're right, totally didn't catch this. I'll add doCheck = false;, and make a note about it.

PyPI archive does not contain tests
@jethrokuan
Copy link
Contributor Author

I couldn't build it locally with propogatedBuildInputs, it would attempt to install six and fail.

building '/nix/store/hd5zykp5kcn33qy8m6bc2s33cg0xp873-python3.6-gin-config-0.1.1.2.drv'...
unpacking sources
unpacking source archive /nix/store/y4d9jkfa89dd0b2z2bkkdfwlclb8l127-gin-config-0.1.1.2.tar.gz
source root is gin-config-0.1.1.2
setting SOURCE_DATE_EPOCH to timestamp 1531854765 of file gin-config-0.1.1.2/setup.cfg
patching sources
configuring
building
['six >= 1.10.0']
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/gin
copying gin/utils.py -> build/lib/gin
copying gin/__init__.py -> build/lib/gin
copying gin/selector_map.py -> build/lib/gin
copying gin/config.py -> build/lib/gin
copying gin/config_parser.py -> build/lib/gin
creating build/lib/gin/tf
copying gin/tf/external_configurables.py -> build/lib/gin/tf
copying gin/tf/utils.py -> build/lib/gin/tf
copying gin/tf/__init__.py -> build/lib/gin/tf
running egg_info
writing gin_config.egg-info/PKG-INFO
writing dependency_links to gin_config.egg-info/dependency_links.txt
writing requirements to gin_config.egg-info/requires.txt
writing top-level names to gin_config.egg-info/top_level.txt
reading manifest file 'gin_config.egg-info/SOURCES.txt'
writing manifest file 'gin_config.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/gin
copying build/lib/gin/utils.py -> build/bdist.linux-x86_64/wheel/gin
creating build/bdist.linux-x86_64/wheel/gin/tf
copying build/lib/gin/tf/external_configurables.py -> build/bdist.linux-x86_64/wheel/gin/tf
copying build/lib/gin/tf/utils.py -> build/bdist.linux-x86_64/wheel/gin/tf
copying build/lib/gin/tf/__init__.py -> build/bdist.linux-x86_64/wheel/gin/tf
copying build/lib/gin/__init__.py -> build/bdist.linux-x86_64/wheel/gin
copying build/lib/gin/selector_map.py -> build/bdist.linux-x86_64/wheel/gin
copying build/lib/gin/config.py -> build/bdist.linux-x86_64/wheel/gin
copying build/lib/gin/config_parser.py -> build/bdist.linux-x86_64/wheel/gin
running install_egg_info
Copying gin_config.egg-info to build/bdist.linux-x86_64/wheel/gin_config-0.1.1.2-py3.6.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/gin_config-0.1.1.2.dist-info/WHEEL
creating 'dist/gin_config-0.1.1.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'gin/__init__.py'
adding 'gin/config.py'
adding 'gin/config_parser.py'
adding 'gin/selector_map.py'
adding 'gin/utils.py'
adding 'gin/tf/__init__.py'
adding 'gin/tf/external_configurables.py'
adding 'gin/tf/utils.py'
adding 'gin_config-0.1.1.2.dist-info/METADATA'
adding 'gin_config-0.1.1.2.dist-info/WHEEL'
adding 'gin_config-0.1.1.2.dist-info/top_level.txt'
adding 'gin_config-0.1.1.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
installing
/build/gin-config-0.1.1.2/dist /build/gin-config-0.1.1.2
Processing ./gin_config-0.1.1.2-py3-none-any.whl
Collecting six>=1.10.0 (from gin-config==0.1.1.2)
  Could not find a version that satisfies the requirement six>=1.10.0 (from gin-config==0.1.1.2) (from versions: )
No matching distribution found for six>=1.10.0 (from gin-config==0.1.1.2)
builder for '/nix/store/hd5zykp5kcn33qy8m6bc2s33cg0xp873-python3.6-gin-config-0.1.1.2.drv' failed with exit code 1
cannot build derivation '/nix/store/bx3jacj0jyzkg8dlsyh6sh4rsyxan985-python3-3.6.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/bx3jacj0jyzkg8dlsyh6sh4rsyxan985-python3-3.6.6-env.drv' failed

@Ma27
Copy link
Member

Ma27 commented Nov 10, 2018

may I ask from which state you built this? I just checked out your branch, built gin-config and I don't have /nix/store/hd5zykp5kcn33qy8m6bc2s33cg0xp873-python3.6-gin-config-0.1.1.2.drv in my nix store.

Furthermore, please change buildInputs back to propagatedBuildInputs, then it works again on runtime :)

@Ma27
Copy link
Member

Ma27 commented Nov 11, 2018

@GrahamcOfBorg build pythonPackages.gin-config python3Packages.gin-config

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

adding 'gin_config-0.1.1.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
installing
/build/gin-config-0.1.1.2/dist /build/gin-config-0.1.1.2
Processing ./gin_config-0.1.1.2-py3-none-any.whl
Collecting six>=1.10.0 (from gin-config==0.1.1.2)
  Could not find a version that satisfies the requirement six>=1.10.0 (from gin-config==0.1.1.2) (from versions: )
No matching distribution found for six>=1.10.0 (from gin-config==0.1.1.2)
builder for '/nix/store/hd5zykp5kcn33qy8m6bc2s33cg0xp873-python3.6-gin-config-0.1.1.2.drv' failed with exit code 1
error: build of '/nix/store/7a33wihqbl7f52788yiifilhr10h8xs8-python2.7-gin-config-0.1.1.2.drv', '/nix/store/hd5zykp5kcn33qy8m6bc2s33cg0xp873-python3.6-gin-config-0.1.1.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Collecting enum34>=1.1.6 (from gin-config==0.1.1.2)
  Could not find a version that satisfies the requirement enum34>=1.1.6 (from gin-config==0.1.1.2) (from versions: )
No matching distribution found for enum34>=1.1.6 (from gin-config==0.1.1.2)
Processing ./gin_config-0.1.1.2-py3-none-any.whl
builder for '/nix/store/iw3m95lv5k0zhwbh1sqqfifmhyvyr2gi-python2.7-gin-config-0.1.1.2.drv' failed with exit code 1
Collecting six>=1.10.0 (from gin-config==0.1.1.2)
  Could not find a version that satisfies the requirement six>=1.10.0 (from gin-config==0.1.1.2) (from versions: )
No matching distribution found for six>=1.10.0 (from gin-config==0.1.1.2)
builder for '/nix/store/4xrf5xmxcwhngkmcbriy4p0nvbrl95wa-python3.6-gin-config-0.1.1.2.drv' failed with exit code 1
error: build of '/nix/store/4xrf5xmxcwhngkmcbriy4p0nvbrl95wa-python3.6-gin-config-0.1.1.2.drv', '/nix/store/iw3m95lv5k0zhwbh1sqqfifmhyvyr2gi-python2.7-gin-config-0.1.1.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Collecting six>=1.10.0 (from gin-config==0.1.1.2)
  Could not find a version that satisfies the requirement six>=1.10.0 (from gin-config==0.1.1.2) (from versions: )
No matching distribution found for six>=1.10.0 (from gin-config==0.1.1.2)
Processing ./gin_config-0.1.1.2-py3-none-any.whl
Collecting six>=1.10.0 (from gin-config==0.1.1.2)
  Could not find a version that satisfies the requirement six>=1.10.0 (from gin-config==0.1.1.2) (from versions: )
No matching distribution found for six>=1.10.0 (from gin-config==0.1.1.2)
builder for '/nix/store/k37dbba4014bn2mzan85zffr9i7ln66a-python2.7-gin-config-0.1.1.2.drv' failed with exit code 1
builder for '/nix/store/r9pzvks6ysggz6qqs37jg522p6v6arvz-python3.6-gin-config-0.1.1.2.drv' failed with exit code 1
error: build of '/nix/store/k37dbba4014bn2mzan85zffr9i7ln66a-python2.7-gin-config-0.1.1.2.drv', '/nix/store/r9pzvks6ysggz6qqs37jg522p6v6arvz-python3.6-gin-config-0.1.1.2.drv' failed

@Ma27
Copy link
Member

Ma27 commented Nov 11, 2018

@GrahamcOfBorg build pythonPackages.gin-config python3Packages.gin-config

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Successfully installed gin-config-0.1.1.2
/build/gin-config-0.1.1.2
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rzwc18kk5fv061ldjlhrfn7mnz8ydpin-python3.6-gin-config-0.1.1.2
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rzwc18kk5fv061ldjlhrfn7mnz8ydpin-python3.6-gin-config-0.1.1.2/lib
patching script interpreter paths in /nix/store/rzwc18kk5fv061ldjlhrfn7mnz8ydpin-python3.6-gin-config-0.1.1.2
checking for references to /build in /nix/store/rzwc18kk5fv061ldjlhrfn7mnz8ydpin-python3.6-gin-config-0.1.1.2...
/nix/store/37j1b22w440l0bfq45i7j6qsa92890kz-python2.7-gin-config-0.1.1.2
/nix/store/rzwc18kk5fv061ldjlhrfn7mnz8ydpin-python3.6-gin-config-0.1.1.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Requirement already satisfied: six>=1.10.0 in /nix/store/3amg4b41sqz4vjfqyzsbrm8gmqr6skj0-python3.6-six-1.11.0/lib/python3.6/site-packages (from gin-config==0.1.1.2) (1.11.0)
Installing collected packages: gin-config
Successfully installed gin-config-0.1.1.2
/private/tmp/nix-build-python3.6-gin-config-0.1.1.2.drv-0/gin-config-0.1.1.2
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/dhb03739jy72lckb29gpnpxiv354hwfc-python3.6-gin-config-0.1.1.2/lib
patching script interpreter paths in /nix/store/dhb03739jy72lckb29gpnpxiv354hwfc-python3.6-gin-config-0.1.1.2
/nix/store/kwfyaxy00pc1ndqjavxzbbvsmz95c3qm-python2.7-gin-config-0.1.1.2
/nix/store/dhb03739jy72lckb29gpnpxiv354hwfc-python3.6-gin-config-0.1.1.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: pythonPackages.gin-config, python3Packages.gin-config

Partial log (click to expand)

Successfully installed gin-config-0.1.1.2
/build/gin-config-0.1.1.2
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/v2bpgmx1qy40a9id26njspx4qagdsnbb-python3.6-gin-config-0.1.1.2
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v2bpgmx1qy40a9id26njspx4qagdsnbb-python3.6-gin-config-0.1.1.2/lib
patching script interpreter paths in /nix/store/v2bpgmx1qy40a9id26njspx4qagdsnbb-python3.6-gin-config-0.1.1.2
checking for references to /build in /nix/store/v2bpgmx1qy40a9id26njspx4qagdsnbb-python3.6-gin-config-0.1.1.2...
/nix/store/b11gmlsyk7jknbbdg580p7869kyw8ls4-python2.7-gin-config-0.1.1.2
/nix/store/v2bpgmx1qy40a9id26njspx4qagdsnbb-python3.6-gin-config-0.1.1.2

Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

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

Checked the basic functionality locally. As most of our Python packages have zero tests (due to fetching the PyPI tarball) this should be fine for now 👍

@Ma27
Copy link
Member

Ma27 commented Nov 11, 2018

@FRidh as you requested changes here as well, I'd wait for your approval ok? :)

@@ -15,7 +15,7 @@ buildPythonPackage rec {

};

propogatedBuildInputs = [ six enum34 ];
propagatedBuildInputs = [ six enum34 ];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

xD oops

@FRidh FRidh merged commit 3c4f709 into NixOS:master Nov 11, 2018
@FRidh
Copy link
Member

FRidh commented Nov 11, 2018

Ah, the commits were not squashed together :(

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

4 participants