Commit Graph

55 Commits

Author SHA1 Message Date
R. Ryantm
7ac6fb9b83 poetryPlugins.poetry-plugin-up: 0.7.1 -> 0.7.2 2024-08-06 08:26:55 +00:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
natsukium
cc1f88268f poetry: relax deps constraint 2024-06-24 12:18:28 +02:00
R. Ryantm
3a20317b3a poetry: 1.8.2 -> 1.8.3 2024-05-15 15:30:33 +00:00
R. Ryantm
fcf2ec5d1a poetryPlugins.poetry-plugin-export: 1.7.1 -> 1.8.0 2024-05-14 00:00:08 +00:00
Sandro
55c36ec47f
Merge pull request #295651 from hennk/poetry-plugin-poeblix 2024-03-27 11:21:28 +01:00
R. Ryantm
efa3818249 poetryPlugins.poetry-plugin-export: 1.7.0 -> 1.7.1 2024-03-20 00:06:01 +00:00
Henning Kiel
6a3ecb0f6a poetryPlugins.poetry-plugin-poeblix: init at 0.10.0 2024-03-19 10:56:34 +01:00
R. Ryantm
b9b30333db poetryPlugins.poetry-plugin-export: 1.6.0 -> 1.7.0 2024-03-16 16:34:12 +00:00
Robert Schütz
1418ffd56e poetryPlugins.poetry-audit-plugin: 0.3.0 -> 0.4.0
Diff: https://github.com/opeco17/poetry-audit-plugin/compare/refs/tags/0.3.0...0.4.0
2024-03-09 14:40:19 -08:00
Robert Schütz
a11e884491 poetry: 1.8.1 -> 1.8.2
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.8.1...1.8.2

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.8.2/CHANGELOG.md
2024-03-03 11:47:44 -08:00
Robert Schütz
9f269d495c poetry: 1.7.1 -> 1.8.1
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.7.1...1.8.1

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.8.1/CHANGELOG.md
2024-02-27 16:58:52 -08:00
Robert Schütz
3b5fd3ff81 poetry: fix tests on Darwin
tests/console/commands/test_shell.py::test_shell used to fail with

    shellingham.posix.ps.PsNotAvailable: ps not found
2024-01-16 13:06:06 -08:00
Ches Martin
25f6ddf601 poetry: Relax dep requirement check for xattr
Following from #280522, the xattr dependency still failed the
pythonRuntimeDepsCheck hook, likely overlooked because it is a
Darwin-only dep:

    > Checking runtime dependencies for poetry-1.7.1-py3-none-any.whl
    >   - xattr<0.11.0,>=0.10.0 not satisfied by version 1.0.0

From 0.10.0 to 1.0.0 there are no functional changes with compatibility
implications, only dropped support for Python 2.
2024-01-15 17:22:10 +07:00
Franz Pletz
87b9bf8ea4
Merge pull request #273477 from charles-dyfis-net/poetry-compose-overrides 2024-01-15 02:25:49 +01:00
Martin Weinelt
7995c92514 poetry: fix up dependencies
> Checking runtime dependencies for poetry-1.7.1-py3-none-any.whl
>   - fastjsonschema not installed
>   - platformdirs<4.0.0,>=3.0.0 not satisfied by version 4.0.0
2024-01-12 08:49:54 -08:00
Martin Weinelt
4611371303
treewide: scale back maintainership for various packages 2024-01-05 14:43:39 +01:00
Charles Duffy
85f625165c
poetry: compose packageOverrides if already defined for python interpreter
The poetry package sets `packageOverrides` to force the poetry-core and poetry versions into alignment.

Unfortunately, in doing so, it replaces any _other_ overrides that may have been put in place on the interpreter at hand.

For Python 3.12, for example, the package `babel` needs to be updated to 2.13.1. Someone can reasonably use an overlay that sets `packageOverrides` for `python312` to update `babel`, and this works in almost all circumstances; however, it does _not_ work for purposes of building `poetry`, which discards any prior overrides.

This PR uses `composeManyExtensions` to combine the new `packageOverrides` needed for poetry with any prior value that may exist.
2023-12-10 20:30:17 -06:00
Robert Schütz
fe672501a6
Merge pull request #269799 from dotlambda/poetry-1.7.1
poetry: 1.7.0 -> 1.7.1
2023-11-28 22:48:31 -08:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Robert Schütz
5427e0b5b3 poetryPlugins.poetry-plugin-up: 0.7.0 -> 0.7.1
Diff: https://github.com/MousaZeidBaker/poetry-plugin-up/compare/refs/tags/0.7.0...0.7.1

Changelog: https://github.com/MousaZeidBaker/poetry-plugin-up/releases/tag/0.7.1
2023-11-24 22:12:00 -08:00
Robert Schütz
334cf93916 poetry: 1.7.0 -> 1.7.1
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.7.0...1.7.1

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.7.1/CHANGELOG.md
2023-11-24 22:11:50 -08:00
Robert Schütz
655678ed0a poetryPlugins.poetry-plugin-export: 1.5.0 -> 1.6.0
Diff: https://github.com/python-poetry/poetry-plugin-export/compare/refs/tags/1.5.0...1.6.0

Changelog: https://github.com/python-poetry/poetry-plugin-export/blob/refs/tags/1.6.0/CHANGELOG.md
2023-11-04 17:23:50 -07:00
Robert Schütz
cf5f42066f poetry: 1.6.1 -> 1.7.0
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.6.1...1.7.0

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.7.0/CHANGELOG.md
2023-11-04 17:22:51 -07:00
K900
1c43eb8585
Merge pull request #262308 from mirkolenz/poetry-plugin-up
poetryPlugins.poetry-plugin-up: 0.4.0 -> 0.7.0
2023-10-31 14:13:55 +03:00
K900
881e946d8b poetry: restore poetry-core override 2023-10-24 21:18:39 +03:00
K900
ed11e1b4c4 poetry: remove unnecessary overrides, backport upstream patch for build 1.0 compatibility 2023-10-24 16:16:49 +03:00
Mirko Lenz
e4e2245d35 poetryPlugins.poetry-plugin-up: 0.4.0 -> 0.7.0
Diff: https://github.com/MousaZeidBaker/poetry-plugin-up/compare/refs/tags/0.4.0...0.7.0

Changelog: https://github.com/MousaZeidBaker/poetry-plugin-up/releases/tag/0.7.0
2023-10-20 16:15:21 +02:00
Robert Schütz
cfd4aea3cc poetry: fix build on x86_64-darwin
The poetry-core patches don't apply to version 1.7.0.
The only dependency of poetry that requires them is deepdiff, so we
disable its tests for now.
2023-09-09 14:11:28 -07:00
Mirko Lenz
9d41dca193 poetry-plugin-up: 0.3.0 -> 0.4.0 2023-09-06 10:26:17 +02:00
Robert Schütz
61c94743e3
Merge pull request #251643 from dotlambda/poetry-1.6.1
poetry: 1.5.1 -> 1.6.1
2023-09-03 18:54:54 +00:00
Robert Schütz
92236affa2 poetry: 1.5.1 -> 1.6.1
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.5.1...1.6.1

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.6.1/CHANGELOG.md
2023-08-26 10:31:52 -07:00
Robert Schütz
169f5fa545 poetryPlugins.poetry-plugin-export: 1.4.0 -> 1.5.0
Diff: https://github.com/python-poetry/poetry-plugin-export/compare/refs/tags/1.4.0...1.5.0

Changelog: https://github.com/python-poetry/poetry-plugin-export/blob/refs/tags/1.5.0/CHANGELOG.md
2023-08-26 10:31:52 -07:00
Robert Schütz
df047df64c python310Packages.poetry-core: 1.5.1 -> 1.6.1
Diff: https://github.com/python-poetry/poetry-core/compare/1.5.1...1.6.1

Changelog: https://github.com/python-poetry/poetry-core/blob/1.6.1/CHANGELOG.md
2023-07-28 08:45:56 -07:00
Robert Schütz
4e7b3a4137 poetry: fix build 2023-07-28 12:13:29 +02:00
Robert Schütz
bb74660ed2 poetry: fix build of poetry-core on x86_64-darwin 2023-07-11 14:04:52 -07:00
Robert Schütz
28ed9b141f poetry: 1.4.2 -> 1.5.1
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.4.2...1.5.1

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.5.1/CHANGELOG.md
2023-07-08 20:39:49 -07:00
Robert Schütz
e7e3cd85ce python310Packages.poetry-plugin-export: move to poetryPlugins 2023-07-08 19:51:51 -07:00
Robert Schütz
15d805ea11 poetryPlugins.poetry-plugin-up: make compatible with poetry 1.5 2023-07-08 19:51:50 -07:00
Robert Schütz
6d398316c7 poetry: pin cachecontrol to 0.12.14 2023-07-08 19:48:47 -07:00
K900
d4f2e34e34 poetry: make sure we don't load stuff from ambient PYTHONPATH 2023-05-14 14:25:30 +03:00
Robert Schütz
a001b446a2 poetry: 1.4.1 -> 1.4.2
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.4.1...1.4.2

Changelog: https://github.com/python-poetry/poetry/releases/tag/1.4.2
2023-04-03 15:00:22 -07:00
Robert Schütz
862cc4acbd poetryPlugins.poetry-plugin-up: 0.2.1 -> 0.3.0
Diff: https://github.com/MousaZeidBaker/poetry-plugin-up/compare/refs/tags/0.2.1...0.3.0

Changelog: https://github.com/MousaZeidBaker/poetry-plugin-up/releases/tag/0.3.0
2023-03-20 23:34:16 -07:00
Robert Schütz
fc6ce1d262 poetry: 1.4.0 -> 1.4.1
Diff: https://github.com/python-poetry/poetry/compare/refs/tags/1.4.0...1.4.1

Changelog: https://github.com/python-poetry/poetry/blob/refs/tags/1.4.1/CHANGELOG.md
2023-03-20 23:34:16 -07:00
Robert Schütz
29646474f4 poetry: update dependencies 2023-03-04 12:02:00 -08:00
Martin Weinelt
c15b54914a poetry: 1.3.2 -> 1.4.0
https://github.com/python-poetry/poetry/releases/tag/1.4.0
2023-03-03 23:59:33 +01:00
Robert Schütz
72fc45dc80 poetryPlugins.poetry-audit-plugin: init at 0.3.0 2023-02-03 14:32:34 -08:00
K900
0349728efb poetryPlugins.poetry-plugin-up: init at 0.2.1 2023-02-03 14:32:30 -08:00
Robert Schütz
01959f61f0 poetry: add withPlugins 2023-02-03 14:22:22 -08:00