Commit graph

219 commits

Author SHA1 Message Date
Pegasust
7fa648dad3 Merge remote-tracking branch 'canon/master' into _orjson 2023-11-11 22:37:10 -08:00
adisbladis
4ccb4976e9 vendor: Bump pyproject.nix 2023-11-08 18:59:21 +13:00
adisbladis
7a001e012c Remove some obsolete overrides 2023-11-08 18:59:21 +13:00
Pegasust
6b04148b7f format: run '.#formatter.$system'
format: run '.#formatters.$system'
2023-11-05 19:19:24 -08:00
adisbladis
177fad817a
Merge pull request #1298 from Pegasust/wheel-url-support
Add wheel url support
2023-10-29 01:28:48 +13:00
Phillip Cloud
849504a736
chore: remove unused inherit 2023-10-28 06:38:21 -04:00
adisbladis
32f94fd9cd mk-poetry-dep: use poetry extended pep440 parser 2023-10-28 23:26:20 +13:00
adisbladis
ef4e605bc6 Use PEP440 version conditions from pyproject.nix 2023-10-27 13:37:58 +13:00
pegasust
59acbb08ec
feat: support whl url 2023-10-26 05:18:11 -04:00
adisbladis
15185adb4c vendor: bump pyproject.nix 2023-10-26 17:02:10 +13:00
adisbladis
3a448dd440 Use normalizePackageName from pyproject.nix 2023-10-26 12:48:05 +13:00
adisbladis
b7617a7c4c pep508: Reimplement using pyproject.nix 2023-10-26 12:48:05 +13:00
adisbladis
98971720b6 style: Apply statix/deadnix 2023-10-26 12:28:09 +13:00
Phillip Cloud
eae09d1fb3
chore: remove dead code 2023-10-25 05:04:18 -04:00
Phillip Cloud
806eb84c20
chore: use poetry from upstream nixpkgs 2023-10-24 16:59:09 -04:00
Sandro Jäckel
aeecfaa549
Use lib function to import json 2023-07-12 14:32:47 +02:00
Sergey Vlasov
f9940e5132 Fix CLI after removal of version 2023-07-08 00:07:47 +03:00
adisbladis
52850e7d53 Auto-release using a date-based tag on master push 2023-07-07 23:49:48 +12:00
adisbladis
4157878ffe Bump version to 1.42.1 2023-06-30 12:16:31 +12:00
adisbladis
76393d0888 Bump version to 1.42.0 2023-06-29 11:51:23 +12:00
Bob van der Linden
960d99b6ee
mkPoetryEnv: add checkGroups
Currently it is not possible to remove the "dev" group when using mkPoetryEnv: the "dev" group is still built because it is part of the `checkGroups`. To be able to avoid this, I opted to add `checkGroups` to `mkPoetryEnv`, just like what you would be able to in `mkPoetryApplication` and `mkPoetryPackages`.
2023-04-26 11:40:03 +02:00
adisbladis
585f19cce3 Bump version to 1.41.0 2023-04-06 12:30:11 +12:00
K900
47e42a4cf1 fix: always build poetry with current poetry2nix
So nothing leaks through from nixpkgs
2023-04-05 10:47:20 +03:00
K900
e60afe781c overrides: remove more dead code 2023-04-05 10:47:17 +03:00
K900
fb135081ec fix(flake): build poetry with correct poetry2nix 2023-04-05 10:06:33 +03:00
adisbladis
3313ab3740 Bump version to 1.40.1 2023-03-24 14:33:23 +13:00
adisbladis
bf63fce1f7 Bump version to 1.40.0 2023-03-24 13:57:41 +13:00
Ryan Swart
a1b220f20a fix: trio fix 2023-03-24 13:30:56 +13:00
Robert Schütz
0150dd59f2
don't use poetry from nixpkgs
This was applied in nixpkgs in 17c15cc3ff
2023-02-27 12:02:21 -08:00
Phillip Cloud
f36ad45f17 fix: reorder overlays 2023-02-27 14:44:10 +13:00
Phillip Cloud
d6687ddbe7
fix: add nativeCheckInputs for new nixpkgs 2023-01-25 14:53:32 -05:00
Robert Hensing
31e6d68d59 feat: Show lock location in package errors
Tested by temporarily setting `meta.broken = true;` in
`mk-poetry-dep.nix`, and then

    $ nix-build tools -A env
    error: Package ‘python3.9-click-8.1.3’ in /home/user/h/poetry2nix/tools/poetry.lock:0 is marked as broken, refusing to evaluate.

       a) To temporarily allo[...]

As you can see, the location of the lock file is reported, which
is especially useful in Nixpkgs, which contains multiple lockfiles.

This used to be just the location of a generic python builder, which
is generally not what the user wants.

I've exposed the `poetrylockPos` variable as a parameter that callers
may set. This is intended as a contingency more so than a feature that
is useful to users. That's why I've decided not to document it,
because it would just add noise.
2023-01-03 16:38:09 +01:00
Phillip Cloud
6ecbca98ad
feat: add ability to specify optional dependencies 2022-12-20 10:20:40 -05:00
adisbladis
bb7f4e1d04 Bump version to 1.39.1 2022-12-11 03:16:55 +13:00
adisbladis
f27dae13de Bump version to 1.39.0 2022-12-10 22:07:53 +13:00
adisbladis
dbbf4c83e0 Bump version to 1.38.0 2022-12-07 18:29:51 +13:00
Sem Mulder
9dc514d294 Fix infinite recursion for aliases in pkgs/top-level/python-aliases.nix
This fixes #750.
2022-12-05 10:37:33 +01:00
adisbladis
3a965c8dd6 Bump version to 1.37.0 2022-12-01 22:06:20 +13:00
adisbladis
289efb1871 Bump version to 1.36.0 2022-10-28 13:58:39 +13:00
K900
2c5c418746 fix: pull in hooks directly instead of sneaking them in through pythonPackages
This does technically break people that override hooks, but they deserve it.
2022-10-28 00:40:18 +03:00
Federico Ravasio
0bc09f58e7 fix: eval error on poetry 1.2 when a dev dependency is from git 2022-10-20 08:55:38 +00:00
adisbladis
d62ba59f1e bump version to 1.35.0 2022-10-11 15:28:30 +13:00
adisbladis
d29aad97ee Add forwards compatibility with Poetry lock version 2.0
Most notably this version moves files from metadata.files to being per
package entry in the lock.
2022-10-11 11:59:13 +13:00
adisbladis
98a03a25fb Bump version to 1.34.1 2022-10-10 18:29:24 +13:00
adisbladis
5821dfe589 Bump version to 1.34.0 2022-10-10 16:40:28 +13:00
Phillip Cloud
e59e1b7c6a
add support for specifying dependency groups that are checkPhase only 2022-10-09 07:34:47 -04:00
K900
673ba1f7cc treewide: another pile of assorted changes
- update pinned nixpkgs used for tests
- fix the rest of the setuptools fallout
- add and test some scientific packages
2022-10-09 11:33:01 +13:00
adisbladis
583b4ddef7 bump version to 1.33.0 2022-10-08 11:22:13 +13:00
adisbladis
e285ac8ece bump version to 1.32.1 2022-10-07 18:10:02 +13:00
adisbladis
617d7a421c take non-existing dependency groups into account
closes #741
2022-10-07 18:01:12 +13:00