Commit graph

1473 commits

Author SHA1 Message Date
adisbladis
007b726331
Add pyzmq override 2020-02-25 10:01:38 +00:00
adisbladis
cb214f8327
fix overrides formatting 2020-02-24 18:49:12 +00:00
adisbladis
2848db5993
overrides: Add pandas cython override 2020-02-24 17:34:57 +00:00
adisbladis
5691ea49bd
Bump poetry2nix version number to 1.5.0 2020-02-24 12:42:20 +00:00
adisbladis
5d902c8bab
Slightly improve evaluation performance 2020-02-24 12:41:42 +00:00
adisbladis
35d38a1b11
Merge pull request #53 from utdemir/expose-mkPoetryPython
Expose mkPoetryPackages
2020-02-24 12:39:53 +00:00
Utku Demir
f4b70664c2
Expose mkPoetryPackages 2020-02-24 12:38:15 +00:00
adisbladis
c88211d081
Merge pull request #52 from nix-community/pyproject-python-version
Add support for python version constraints from pyproject.toml
2020-02-24 12:35:33 +00:00
adisbladis
4d9bee6f81
Refactor mkPoetryPython (mkPoetryPackages)
- Renamed mkPoetryPython to mkPoetryPackages as it's more descriptive
We intend to expose this function soon so a better name is in order.

- Put TOML parsing inside mkPoetryPackages to unify parsing and avoid double parsing.
2020-02-24 12:25:55 +00:00
adisbladis
dc88082f58
Add support for python version constraints from pyproject.toml
Pep508 markers alone are not always enough, see #50

This sadly introduces a minor breakage in `mkPoetryEnv`.
2020-02-24 12:25:51 +00:00
adisbladis
64f7a11c03
Merge pull request #51 from nix-community/toml-path-deps-hook
Convert TOML path dependency filtering to a setup hook
2020-02-23 15:56:27 +01:00
adisbladis
1c3ab5388a
Comment pypy tests
Pypy seems to have had some recent nixpkgs breakage unrelated to poetry2nix
2020-02-23 14:37:01 +00:00
adisbladis
0367b93492
Turn pyproject.toml patching into a hook
We should not be setting pre/post phases as it's counter intuitive
when working with overrides.
2020-02-23 14:37:01 +00:00
adisbladis
fc6c640a12
Merge pull request #49 from purcell/two-level-path-deps
Handle two-layer inclusion of "path" dependencies
2020-02-23 15:36:50 +01:00
Steve Purcell
71cdd20018 Remove "path" dependencies in indirectly referenced packages 2020-02-18 15:58:31 +13:00
Steve Purcell
b013b7a1c9 Add failing test for two-layer inclusion of "path" dependencies 2020-02-18 15:58:17 +13:00
adisbladis
cdb1bd83a3
poetry: 1.0.2 -> 1.0.3 2020-02-01 21:56:43 +00:00
adisbladis
8504e52c27
fmt fixup 2020-01-28 20:04:44 +00:00
adisbladis
1ffabaa066
Prevent infinite recursion for setuptools-scm extras 2020-01-28 19:42:35 +00:00
max-arrival
3ca47a1220
Add uvloop overrides for MacOS builds 2020-01-23 23:24:07 +00:00
adisbladis
82166c8a49
Fix platform_python_implementation field 2020-01-22 18:33:24 +00:00
adisbladis
145fc6ce83
overrides: Dont add pytestrunner to faker
We can patch away the requirement instead, it's not _really_ required.
2020-01-22 17:40:06 +00:00
adisbladis
c8a486b894
nixpkgs-fmt fixup
A git pre-commit hook would be useful...
2020-01-22 17:21:03 +00:00
adisbladis
419304ee18
cli: Skip black build step
Black recently changed some rules and we're failing on older nixpkgs.
2020-01-22 16:25:38 +00:00
adisbladis
6d8ba34f4f
overrides: Add override to build faker 2020-01-22 16:18:58 +00:00
adisbladis
f1af96e2c5
pep508: Fix platform_python_implementation for pypy 2020-01-21 14:56:37 +00:00
adisbladis
3ade93a0e1
Assert URL actually wheel url in preferWheel test 2020-01-21 12:31:00 +00:00
adisbladis
2caffda3ef
Use the canonical name setuptools-scm
Nixpkgs calls this setuptools_scm which is a mismatch for pypi.

Create an alias so any setuptools-scm installed by a user impacts all packages.
2020-01-21 12:12:36 +00:00
adisbladis
0ec54e142b
Add peewee override 2020-01-21 12:08:21 +00:00
adisbladis
78ee08bec7
overrides: Make matplotlib override configurable 2020-01-21 11:56:14 +00:00
adisbladis
2bbc96dd6d
overrides: Make numpy BLAS implementation pluggable 2020-01-21 11:44:03 +00:00
adisbladis
59a83bbc93
overrides: Make pyqt5 override configurable 2020-01-21 11:43:44 +00:00
adisbladis
b125af3789
Make dependency function variadic and passthru args
This will enable feature flags such as enableFoo to be added in an override.
2020-01-21 11:43:03 +00:00
adisbladis
00d3d17410
overrides: Fix zipp >= 2.0 version detection 2020-01-20 15:52:00 +00:00
adisbladis
6955050679
Use update script to update poetry 2020-01-18 22:12:40 +00:00
adisbladis
7170aad633
Add Pypy support (#40) 2020-01-18 20:29:07 +00:00
adisbladis
769dc25d77
Fixup pyqt5 override 2020-01-17 18:34:06 +00:00
adisbladis
feb792d8f7
Fix shapely override 2020-01-17 18:18:40 +00:00
adisbladis
224973c59c
Dont strip binary wheels 2020-01-17 18:06:09 +00:00
Oleh Stolyar
719f74ef4c Add a closure size test
Can fail with the following:

output '/nix/store/dxxkcgkl4qfypf97jcw96lgba671hqmb-closure-size-1.0.0' is not allowed to refer to the following paths:
  /nix/store/9bi4j2k7bnqprn6h2ijn63xgskdgacxk-poetry-1.0.2
  /nix/store/bqr68255raz3icc73nq6788105v0r748-postgresql-11.6
  /nix/store/qksib0d7ygx1mmqk7172yjz02ya13lsh-gcc-9.2.0
2020-01-17 15:45:16 +00:00
Oleh Stolyar
fd450ae21d Reduce closure size of packages built with poetry2nix
- Strip libraries and executables.
  If they are not stripped, they will retain debug symbols that often reference
  compilers (standard library includes), or dev outputs
  (headers that are not needed at runtime).

- Put buildSystemPkgs in buildInputs instead of propagatedBuildInputs.
  This removes intreehooks and Poetry from runtime closure.
  During fixupPhase, scripts in $out/bin are wrapped, and the wrapping
  script walks all propagatedBuildInputs when collecting PATH and
  PYTHONPATH.
2020-01-17 15:45:16 +00:00
Oleh Stolyar
58eb9e63a7 Make it possible to pass additional nativeBuildInputs
..to mkPoetryApplication
2020-01-17 15:45:16 +00:00
Oleh Stolyar
5c943c6964 Do not depend on contents of pwd (#38)
Prevent Nix from copying the project directory to store by removing it
from args passed to buildPythonApplication.
2020-01-17 14:39:51 +00:00
adisbladis
380a8aa482
Add dlib overrides 2020-01-17 11:01:22 +00:00
Roberto Di Remigio
36170bfc28 Fix small mistake in override of vose-alias-method (#37) 2020-01-16 10:27:08 +00:00
adisbladis
6032bb34b2
Add overrides to make scipy/scikit-learn build 2020-01-15 16:18:22 +00:00
adisbladis
2751a7fa0d
Add overrides required to build poetry with python2 2020-01-13 15:43:56 +00:00
adisbladis
d224eabc6a
Re-enable Qt5 test
I've added `sip` to the environment which makes the package work
regardless of what version of sip is in nixpkgs.
2020-01-13 10:43:43 +00:00
adisbladis
d887ec4602
Disable pyqt5 test for now
We are waiting for an update of python3Packages.sip to hit nixpkgs
2020-01-13 00:28:39 +00:00
adisbladis
8591164784
Add overrides to build pyqt5
Extra functionality exposed in nixpkgs needs further overrides.
2020-01-13 00:27:14 +00:00