Commit graph

11 commits

Author SHA1 Message Date
adisbladis
7f019e5c5d tests.manylinux: Fix test 2021-12-26 02:15:03 -08:00
Phillip Cloud
9321f57657 tests: enable manylinux test 2021-01-14 12:52:57 -05:00
adisbladis
c0c6038262
Fix tests
Something upstream broke a lot of python37 packages and I'm not
interested in debugging this.
2020-11-30 19:27:48 +01:00
adisbladis
ac533e586a
tests: Pin prefer wheel tests to python 3.7
Some wheels are not available for python 3.8 which is the default on
unstable now.
2020-07-01 10:36:07 +02:00
adisbladis
db06bdd6e7
Format with nixpkgs-fmt 0.9 2020-05-19 21:06:02 +01:00
adisbladis
4ebbfdacd1
nixpkgs-fmt broke it's format yet again 2020-04-29 14:12:59 +01:00
adisbladis
f7e435407e
nixpkgs-fmt all the things (again...) 2020-03-14 23:13:51 +00:00
Tobias Pflug
08eb9637aa Remove default values and drop src from mkPoetryPyhon
Drp `poetrylock` and `pyproject` mandatory arguments
without default values and drops `src` from `mkPoetryPyhon`.

Fix test invocations with invalid arguments.
2019-12-17 12:38:34 +01:00
Andreas Rammhold
d8fde74219
split mkPoetryPackage into mkPoetryPython and mkPoetryApplication 2019-12-16 15:03:49 +01:00
Tobias Pflug
84f27ee31d
Refactoring
- Extract utility functions to ./lib.nix
- Extract buildPythonPackage to ./mk-poetry-dep.nix
- Replace some functions with existing builtin functions
- Use lib.partition for python package splitting
- Drop package filtering on the top-level and leave it to pep425.nix
2019-12-16 15:03:49 +01:00
Tobias Pflug
29c93b1dc2
Add wheel file selection according to pep425
Provides a `select` function that picks the most appropriate `.whl` file
based on platform, arch, python version and manylinux/OSX - version.

- Adds unit tests for pep425
- Adds test for manylinux support
- Fixes overrides: `passhtru` must be extended, not overwritten
- Don't strip python packages: this screws up manylinux binaries
2019-12-16 15:02:41 +01:00