adisbladis
88ffae91c6
Bump version to 1.29.1
2022-05-14 17:44:35 +12:00
adisbladis
c28987aa1e
Bump version to 1.29.0
2022-05-13 21:43:36 +12:00
adisbladis
b00b6b6ef8
Bump version to 1.28.0
2022-05-05 09:34:55 +12:00
Jairo Llopis
1baca43506
fix: support nullified editablePackageSources in mkPoetryEnv
...
See these docs: 99c7956835/README.md (L86)
They say that any dependency passed as `null` is forced to be non editable, even if it is marked as `develop = true` in `pyproject.toml`.
However, this was not being the case.
Added a test to prove the need for the fix.
@moduon MT-83
2022-04-14 09:29:55 +01:00
adisbladis
405b05a0ab
Bump version to 1.27.1
2022-04-01 22:16:28 +12:00
adisbladis
e0d2c505e7
Bump version to 1.27.0
2022-04-01 21:03:37 +12:00
adisbladis
e6433fee56
overrides.nix: Move into overrides/default.nix
...
I will implement some automation around creating these which will have supplementary files that shouldn't pollute the project root.
2022-01-21 10:19:04 +12:00
adisbladis
9b5fba1b71
Fix cross compilation and add cross test
2022-01-19 04:35:12 +12:00
adisbladis
230e4fbb48
Remove __isBootstrap hack
...
Since #466 was merged we don't need it anymore.
2022-01-19 02:20:37 +12:00
adisbladis
504dc068bb
Add overlay that disables checks for packages inherited from nixpkgs
...
This is a more principled fix to #510 that will hopefully prevent this entire class of errors.
2022-01-17 22:24:06 +12:00
adisbladis
f07f509004
Bump version to 1.26.0
...
I think revived Python2 compat warrants a release!
2022-01-12 20:16:23 +13:00
adisbladis
dc8b983f3f
Bump version to 1.25.0
2022-01-12 17:51:53 +13:00
adisbladis
97acfb6aa0
Allow unsetting editable package sources by explicitly setting them to null
...
With the recent addition of develop=true being installed as editable by default we need a way to opt out of installing sources as editable.
This is done by explicitly passing an attrset with null as the path value.
2022-01-06 05:47:50 +13:00
adisbladis
e74bb4c3f5
Add path dependencies where develop=true as editable packages by default
...
Closes #265
Closes #284
2022-01-06 05:47:50 +13:00
adisbladis
3a9ac250e2
Prevent editable package from being built when in nix-shell environment
...
They are not useful and will will fail to build in some cases, like the case where they depend on another package also being added as an editable source.
2022-01-05 08:12:44 +00:00
adisbladis
85bb626d83
Create a dummy null package for the current project in case any dependencies depend on the root project
...
Closes #307
2022-01-05 07:43:59 +00:00
adisbladis
f3f70444b7
Don't filter sources where the projectDir is the output of a derivation
...
This allows for IFD style projectDir.
Closes #435
2022-01-01 22:38:02 -08:00
adisbladis
4a13d29ad2
Bump version to 1.24.1
2021-12-27 20:26:26 -08:00
adisbladis
8f07b30add
Bump version to 1.24.0
2021-12-27 20:23:32 -08:00
adisbladis
0985711b0b
mkPoetryEnv: Add an extraPackages argument
...
This is a function taking a Python package set and returning a list of extra packages to include in the environment. This is intended for packages deliberately not added to `pyproject.toml` that you still want to include. An example of such a package may be `pip`.
2021-12-27 16:49:26 -08:00
adisbladis
25066da911
Bump version to 1.23.0
2021-12-26 02:48:52 -08:00
adisbladis
2c63047ee1
Run nixpkgs-fmt after the nixpkgs bump
2021-12-25 21:55:18 -08:00
adisbladis
f84d464f41
Bump version to 1.22.0
2021-11-16 12:49:11 -06:00
Phillip Cloud
2fed7bc910
pip: remove restriction
2021-11-08 08:07:04 -05:00
adisbladis
aee8f04296
Bump version to 1.21.0
2021-09-29 21:31:49 -05:00
adisbladis
8cba73cb68
Explicitly pass pos to stdenv.mkDerivation
...
So `meta.position` will resolve to where the package is defined
instead of pointing to Poetry2nix internals.
2021-09-29 21:21:37 -05:00
adisbladis
44fb8d2a22
Bump version to 1.20.0
2021-09-23 02:59:36 -05:00
adisbladis
89b2ae420e
Bump version to 1.19.0
2021-08-19 17:01:37 -05:00
Antoine Eiche
e2a00b1e09
Bump version to 1.18.0
2021-08-11 23:52:40 +02:00
adisbladis
92350882ed
Bump version to 1.17.1
2021-06-08 08:47:31 -05:00
Niels Kristian Lyshøj Jensen
f5012a626e
Define setuptools-scm if it is not already defined
2021-06-03 18:43:02 +02:00
adisbladis
b471059b48
Bump version number to 1.17.0
2021-06-01 16:37:22 -05:00
adisbladis
e9c1b33aab
Merge pull request #270 from sireliah/mk-poetry-propagate-packages
...
Fix mkPoetryPackages: should return deps of deps
2021-03-17 18:23:00 +02:00
sireliah
d157bd2605
Extract the requiredPythonModules from current Python
2021-03-17 15:29:37 +01:00
adisbladis
48dab309bf
Bump version to 1.16.1
2021-03-16 17:08:23 +02:00
sireliah
74ab8c6274
Document dependency changes
2021-03-12 13:40:32 +01:00
sireliah
41de3f2afc
Make mkPoetryPackages return nested dependencies
2021-03-12 09:59:33 +01:00
adisbladis
2983bc401a
Add .0 suffix to version for consistency with previous releases
2021-03-04 14:32:41 +02:00
adisbladis
cf6e70cf28
Bump version to 1.16
2021-03-04 14:13:55 +02:00
adisbladis
3bacb20c61
Bump version to 1.15.5
2021-02-18 09:25:58 +01:00
adisbladis
66cb831032
Bump version to 1.15.4
2021-02-11 14:00:08 +01:00
adisbladis
acbde3ec15
Bump version to 1.15.3
2021-02-11 03:55:29 +01:00
adisbladis
597daf289a
Bump version to 1.15.2
2021-02-02 15:16:36 +01:00
adisbladis
11ad022705
Bump version to 1.15.1
2021-02-02 14:37:13 +01:00
adisbladis
20b8c9be0c
Bump version to 1.15.0
2021-02-02 14:15:46 +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
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
adisbladis
fd0e5772e6
Bump version to 1.14.0
2020-11-30 19:54:06 +01:00
adisbladis
2acbe722a8
Bump version to 1.13.0
2020-10-01 22:51:23 +02:00
adisbladis
555c4846fe
Don't inclde build-system in mkPoetryEnv
2020-10-01 21:47:02 +02:00