Tom Sydney Kerckhove
ba43d90b78
torch fix, fixes #230 ( #237 )
...
* torch fix, fixes #230
Co-authored-by: Tom Sydney Kerckhove <syd@cs-syd.eu>
2021-01-30 19:56:39 +01:00
Silvan Mosberger
ee478fd8d4
Merge pull request #217 from Infinisil/overrides
...
Overrides for packaging and pytest
2021-01-30 19:53:17 +01:00
Silvan Mosberger
e16c7426d5
Fix pytest version being 0.0.0
...
Without this patch, the pytest version in the resulting environment is
0.0.0
Fixes https://github.com/nix-community/poetry2nix/issues/188
2021-01-30 19:50:01 +01:00
Silvan Mosberger
16b39d8d6d
Add override for packaging now using flit
...
As of https://github.com/pypa/packaging/pull/352
Seems like this dependency isn't automatically discovered, same as with
hashids requiring the same override
2021-01-30 19:49:58 +01:00
Silvan Mosberger
89865e1496
Merge pull request #242 from K900/fix-platform
...
Fix stdenv.platform accesses for latest nixpkgs
2021-01-30 19:49:24 +01:00
K900
324cc0cb2a
Fix stdenv.platform accesses for latest nixpkgs
...
This fixes builds being completely broken after:
* https://github.com/NixOS/nixpkgs/pull/110726
* https://github.com/NixOS/nixpkgs/pull/110544
This also fixes poetry2nix on ARM and PowerPC platforms by introducing a
mapping from Nixpkgs targets to manylinux_* machine names and using it
when matching wheels for dependencies.
2021-01-30 20:17:54 +03:00
adisbladis
649c50051f
Merge pull request #235 from cpcloud/ignore-direnv
...
gitignore: ignore direnv
2021-01-17 18:25:59 +01:00
Phillip Cloud
f4e79232e1
.gitignore: ignore .direnv file generated by https://github.com/nix-community/nix-direnv
2021-01-17 09:07:42 -05:00
adisbladis
09a1400769
Merge pull request #227 from fabaff/patch-1
...
Add license file
2021-01-15 19:38:35 +01:00
adisbladis
72f6416dec
Merge pull request #233 from cpcloud/fix-wheel
...
overrides: fix wheel inputs to support different versions of python
2021-01-15 19:38:07 +01:00
adisbladis
c090534dbf
Merge pull request #234 from jskrzypek/jskrzypek/expose-editable-scripts-packages
...
Expose functions for editable & scripts packages
2021-01-15 18:10:47 +01:00
Joshua Skrzypek
a2bd638ff8
Expose functions for editable & scripts packages
...
The editablePackage and scriptsPackage elements of the mkPoetryEnv
function are wholly separable and really ought to be moved into the
functionality of the mkPoetryPackages function. By doing so both will
automatically be available in the mkPoetryApplication's dependencyEnv as
well.
I thought the functionality that encapsulates these might further see
potential use even outside the context of mkPoetryPackages, so I made
them top-level functions and documented them in the README.
2021-01-15 12:06:29 -05:00
Jörg Thalheim
8bbd28df40
Merge pull request #221 from teto/flake-default-app
2021-01-15 17:02:42 +00:00
Jörg Thalheim
a51040319a
flake.lock: bump flake-utils & nixpkgs
2021-01-15 18:01:34 +01:00
Jörg Thalheim
3ee89c424c
flake.nix: add poetry2nix.cli
2021-01-15 18:00:08 +01:00
Phillip Cloud
9321f57657
tests: enable manylinux test
2021-01-14 12:52:57 -05:00
Phillip Cloud
714fdf2f75
overrides: fix wheel derivation to use proper inputs
2021-01-14 12:50:04 -05:00
Matthieu Coudron
c826e376a8
chore: use flake-utils
...
to provide better support for different platforms.
2021-01-02 00:25:05 +01:00
Matthieu Coudron
797970c69d
feat: can now call 'nix run' on it
...
For instance nix run poetry#. -- lock -v or something similar.
you can override the nixpkgs input if you dont want to redownload
it, or just lock everything.
2020-12-30 16:02:00 +01:00
Matthieu Coudron
034761d214
Revert "Remove package in flake.nix as we don't provide any"
...
This reverts commit 4d83e7e3af
.
2020-12-30 16:02:00 +01:00
adisbladis
84a5da7b59
Merge pull request #228 from sireliah/override-datadog-lambda
...
Add overrides for datadog libraries
2020-12-23 02:23:29 +01:00
sireliah
c0a391b6f2
Provide overrides for two Datadog libraries
2020-12-22 16:24:11 +01:00
Fabian Affolter
cf905e0bb2
Remove file extension
2020-12-19 18:50:11 +01:00
Fabian Affolter
8fd7855fba
Add license file
2020-12-19 18:45:50 +01:00
adisbladis
31e3d16d65
Merge pull request #225 from kylegentle/patch-1
...
Add mkPoetryEnv shell.nix examples to README
2020-12-14 02:10:06 +01:00
Kyle Gentle
2caeb26814
add missing pkgs
prefix to examples
2020-12-13 13:39:11 -05:00
Kyle Gentle
f70ffaa7ef
Add mkPoetryEnv shell.nix examples to README
...
It took me a while to figure this out, so I think it may be useful to add as a reference to future `poetry2nix` users.
Related to and inspired by #186 , #60 .
2020-12-13 12:44:27 -05:00
adisbladis
fd0e5772e6
Bump version to 1.14.0
2020-11-30 19:54:06 +01:00
adisbladis
662a2fb378
Bump nixpkgs
2020-11-30 19:34:28 +01:00
adisbladis
18a77a95cd
!!
2020-11-30 19:28:07 +01: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
d460ed2be1
Fix cross compilation support in hooks
2020-11-27 16:14:19 +01:00
adisbladis
98e0220502
Use build packages in setup hook
...
https://github.com/NixOS/nixpkgs/pull/104201 broke this.
2020-11-26 20:28:09 +01:00
adisbladis
4523826243
Use nix-build --keep-going in CI
...
We want to get as many binaries as possible in the binary cache, even if a single dependency fails.
2020-11-26 19:08:29 +01:00
Yuri Albuquerque
e840602b3b
Fix pytest-django.
...
Closes #212
2020-11-26 19:05:58 +01:00
Jörg Thalheim
38704165d4
support url source types
2020-11-26 14:51:44 +01:00
Jörg Thalheim
689373cef7
shell.nix: add nix-prefetch-git
2020-11-26 14:51:03 +01:00
adisbladis
ba41e216a6
Fix wheel builds
2020-11-26 14:46:51 +01:00
Marc 'risson' Schmitt
f0eb99280e
overrides: add colour
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2020-11-26 13:54:50 +01:00
Matthieu Coudron
1a6885076a
fix(flake): overlay args are standardized
...
when trying to use poetry2nix overlay in my flake, I get:
error: --- Error --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
overlay does not take an argument named 'final'
------------------------------------------------------------------------------------------ show-trace ------------------------------------------------------------------------------------------
trace: while checking the overlay 'overlays.poetry2nix'
2020-11-26 13:52:39 +01:00
adisbladis
f3a7d429b4
Only run CI on master
...
Unstable is broken atm and I want to cut a release
2020-11-26 13:51:42 +01:00
adisbladis
eb4f5d024f
Merge remote-tracking branch 'typetetris/fix-flake'
2020-11-26 13:49:55 +01:00
adisbladis
32bbe07355
Fix formatting
2020-11-26 13:33:35 +01:00
adisbladis
cac2eaed19
Merge branch 'fix-cross'
2020-11-25 03:08:05 +01:00
adisbladis
6fbec0342c
Hard code unstable
...
Is github actions drunk? Idk, but the matrix setup isn't working...
2020-11-24 23:06:34 +01:00
Daiderd Jordan
11d33aced2
exclude build python from poetry dependencies
...
While building PYTHONPATH includes pythonForBuild which can only be used
during the build. Just tracking propagated inputs here should be enough.
2020-11-24 23:04:11 +01:00
Daiderd Jordan
a16e8aa760
various cross override fixes
2020-11-24 23:04:10 +01:00
Daiderd Jordan
4beb2b2941
always include setuptools in buildInputs
...
When cross compiling setuptools isn't available in the build environment
but needed for eg. python setup.py egg_info.
2020-11-24 23:04:10 +01:00
adisbladis
c72860f2bd
Attempt fixing matrix env
2020-11-24 19:41:00 +01:00
adisbladis
9b17586988
Bump cachix-action
2020-11-24 19:37:14 +01:00