Commit graph

133 commits

Author SHA1 Message Date
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
adisbladis
360bfd0b80
Fix mkPoetryEnv with the new lock file structure 2020-10-01 20:52:44 +02:00
adisbladis
52a484be33
Reformat with nixpkgs-fmt 1.0.0 2020-10-01 19:08:57 +02:00
adisbladis
f218d27905
Filter packages based on python-versions 2020-10-01 19:08:04 +02:00
adisbladis
aed290dad2
Prefer the newest possible version of a package 2020-10-01 18:21:00 +02:00
adisbladis
234b0f3f4d
Fix build with separated poetry/poetry-core build systems 2020-10-01 18:21:00 +02:00
adisbladis
99cdaa7cca
mk-poetry-dep: Add pep508 evaluation to dependency selection
Poetry 1.1.0 changed the marker format in https://github.com/python-poetry/poetry/pull/2361
2020-10-01 18:20:59 +02:00
adisbladis
099b3040ec
Null out poetry in pythonPackages set when bootstrapping 2020-10-01 14:34:58 +02:00
adisbladis
230f08e403
Bump version to 1.12.0 2020-08-26 15:01:31 +02:00
adisbladis
23a969297d
mkPoetryEnv: Add scripts from pyproject.toml (if they exist) 2020-08-17 11:06:13 +02:00
adisbladis
b6f9670d56
overrides: Remove condition from wheel override 2020-08-17 05:02:19 +02:00
adisbladis
6e2a8ce9cc
Release 1.11.0 2020-07-22 16:55:35 +02:00
adisbladis
f4fbc592d7
Make overrideOverlay composable 2020-07-22 01:21:24 +02:00
adisbladis
2a907cd9a9
Make default overrides extensible in a way that's also composable 2020-07-22 01:21:24 +02:00
adisbladis
6abe06ed6c
Make default overrides reference scope
So that overrideScope' will propagate overrides properly
2020-07-22 01:10:42 +02:00
adisbladis
f9cb26ed41
Make poetry2nix entirely overridable 2020-07-21 19:54:25 +02:00
adisbladis
78aeb5d8e3
Release 1.10.0 2020-07-14 16:13:18 +02:00
adisbladis
1d41a55f88
Always add Poetry as a build input unless bootstrapping
Currently Poetry does not have a notion of build-time
dependencies (setup-requires) in it's lock file.

When installing a dependency built with Poetry this has to be added
via an override which is really bad UX.

This change always adds Poetry as an interim solution until we have
resolved this in upstream Poetry.
2020-07-14 15:30:07 +02:00
adisbladis
8215ac6941
Add experimental support for plugin closures 2020-07-14 14:35:28 +02:00
Silvan Mosberger
bc4ac731e0
Fix moduleName not being applied for accessing python pkgs set 2020-07-01 10:24:00 +02:00
adisbladis
b6687abfc1
Release 1.9.2 2020-06-08 23:50:24 +02:00
adisbladis
35eac96f8c
Revert "Prefer newer versions of dependencies when there are multiple available ones"
This was a wrong fix based on a misunderstanding of the issue.
The actual problem has been reported upstream.

This reverts commit c19f1e414a.
2020-06-08 20:33:07 +02:00
adisbladis
c19f1e414a
Prefer newer versions of dependencies when there are multiple available ones 2020-06-08 19:48:47 +02:00
adisbladis
a2c8782734
Release 1.9.1 2020-06-08 17:31:33 +02:00
adisbladis
40a67636c3
Merge pull request #110 from Infinisil/editable-egg
Editable eggs
2020-05-28 22:23:29 +02:00
Silvan Mosberger
dfd357468f
Install an egg for editablePackageSources
This allows pkg_resources to find the package
2020-05-28 16:18:57 +02:00
adisbladis
e0d3a5e730
Fix nested git dependencies
When a dependency itself has a git dependency the metadata to infer
`ref` is not available in `pyproject.toml` and we have to fall back to `HEAD`.
2020-05-26 13:48:09 +01:00
adisbladis
9fec4a00a6
Invert meta precedence
User passed meta should always take precedence over automatically
infered meta.
2020-05-20 15:27:17 +01:00
adisbladis
cd5cd15526
Check pyproject for description & homepage attrs
These don't always exist.
2020-05-20 15:26:22 +01:00