Commit Graph

16 Commits

Author SHA1 Message Date
Robert Schütz
543781083a treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07: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
Martin Weinelt
3d12611232
python312Packages.typer: include standard optional
Typer specifies the standard optional-dependencies package list, but then
due to internal tooling includes it by default in Require-Dist.

https://github.com/tiangolo/typer/blob/0.12.3/pyproject.toml#L71-L72

This is in line with changes that happened in typer 0.12.1

https://github.com/tiangolo/typer/releases/tag/0.12.1
2024-07-18 18:54:10 +02:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Fabian Affolter
b875091628 dbx: format with nixfmt 2024-04-05 12:44:16 +02:00
Fabian Affolter
8bb9b05011 dbx: disable failing tests 2024-04-05 12:42:05 +02:00
Fabian Affolter
6412ad9550 dbx: 0.8.11 -> 0.8.18
Diff: https://github.com/databrickslabs/dbx/compare/refs/tags/v0.8.11...v0.8.18

Changelog: https://github.com/databrickslabs/dbx/blob/v0.8.18/CHANGELOG.md
2023-08-14 11:49:48 +00:00
Fabian Affolter
ba8ca6aa28 dbx: migrate to pythonRelaxDepsHook 2023-06-11 00:31:40 +02:00
Fabian Affolter
821628224a dbx: 0.8.8 -> 0.8.11
Diff: https://github.com/databrickslabs/dbx/compare/refs/tags/v0.8.8...v0.8.11

Changelog: https://github.com/databrickslabs/dbx/blob/v0.8.11/CHANGELOG.md
2023-04-28 23:26:31 +02:00
Fabian Affolter
faa5ecad9d dbx: 0.7.6 -> 0.8.8
Diff: https://github.com/databrickslabs/dbx/compare/refs/tags/v0.7.6...v0.8.8

Changelog: https://github.com/databrickslabs/dbx/blob/v0.8.8/CHANGELOG.md
2023-02-27 10:28:53 +01:00
Fabian Affolter
51d6b4cc27 dbx: add changelog to meta 2023-02-27 10:12:58 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Fabian Affolter
c4ab717b14 dbx: 0.6.8 -> 0.7.6 2022-10-16 23:39:01 +02:00
Jörg Thalheim
acbab233f9 dbx: use non-aliased variant of library 2022-07-31 11:10:26 +02:00
Jörg Thalheim
cb83d392fe dbx: 0.5.0 -> 0.6.8 2022-07-31 11:10:18 +02:00
Guillaume Desforges
b079da4c56 python3Packages.dbx: 0.5.0 2022-07-25 17:44:21 +02:00