Victor Engmark
9df29d50e9
chore: Remove unused parameter
2023-02-27 14:52:27 +13:00
Victor Engmark
4b6073c65b
build: Remove Python 3.7 support
...
Necessary to bump nixpkgs
<https://github.com/nix-community/poetry2nix/pull/996 >.
2023-02-27 14:16:22 +13:00
Jairo Llopis
c1de037f1b
docs: document how to override preferWheel = true
...
This commit also fixes the previous one's test.
2023-01-26 10:00:13 +00:00
Jairo Llopis
936f2b08bb
tests: assert that setting preferWheel with overridePythonAttrs fails
...
Adding `preferWheel = true` to a package can only be done with `.override` and not with `.overridePythonAttrs`. This is something unexpected or undocumented until now. This test proves that it doesn't work.
2023-01-19 10:53:20 +00: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
Raito Bezarius
330b56105c
fetchwheel: initial version
2020-05-03 10:10:09 +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
b3870576f8
Provide withDefaults and withoutDefaults
...
This adds the convenience functions withDefaults and
withoutDefaults which simply wrap the provided argument in a list
either with or without the default poetry overrides.
Tests have also been adapted to make use of `withDefaults` where
appropriate.
2020-02-25 14:24:48 +01:00
adisbladis
3ade93a0e1
Assert URL actually wheel url in preferWheel test
2020-01-21 12:31:00 +00:00
adisbladis
136f008a03
Add preferWheel option to <derivation>.override
...
Previously override wasn't really useful as it inherited the args from
buildPythonPackage.
Now we can create custom args for overrides.
2020-01-12 19:38:22 +00:00