Conversation
|
How did you test it without building? Also, please review the contribution guidelines. |
|
I just started using nixos recently and don't yet understand how all of the On Thu, Apr 21, 2016 at 3:18 PM Joachim Fasting notifications@github.com
|
|
@drewkett if you're on nixos, the best way is to enable |
|
The travis build log shows that the package is missing some inputs. |
|
Thanks, that works for building it. I just added the pytest package since that's what travis says is missing. How do I get it to run the tests on my local machine, since I don't get those errors when building it? |
|
What exactly are you doing to test this? The best approach is to configure the nix daemon to use sandboxing; this will reveal missing dependencies that would otherwise be picked up from your environment (which is probably the reason why you're not getting import errors). |
|
I enabled |
|
I was able to run |
pkgs/top-level/python-packages.nix
Outdated
There was a problem hiding this comment.
"This is a Python library" is redundant
|
Please squash when you're ready to merge |
|
Done |
|
LGTM. Thanks |
Things done
nix-build --option build-use-chroot trueor nix.useChroot on NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)This adds scrapy and a couple of dependent python packages. I couldn't figure out how to build it using the sandbox, since its a part of the python-packages.nix file.