Commit Graph

14 Commits

Author SHA1 Message Date
R. Ryantm
7a533b24be snapcraft: 8.3.2 -> 8.3.3 2024-09-14 03:36:12 +00:00
Sandro Jäckel
ca355f14c8
treewide: replace all pytest-cov patching outside of pythonPackages with pytest-cov-stub 2024-08-27 20:47:13 +02:00
R. Ryantm
405945d6f2 snapcraft: 8.3.1 -> 8.3.2 2024-08-07 17:27:39 +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
Robert Schütz
6fd9741c85 snapcraft: don't override pydantic 2024-07-24 10:51:39 -07:00
Robert Schütz
b969054329 snapcraft: do catch conflicts 2024-07-24 09:34:06 -07:00
Robert Schütz
85687388d6 snapcraft: pin pydantic-yaml 2024-07-24 09:34:06 -07:00
Robert Schütz
451746aa12 snapcraft: 8.2.12 -> 8.3.1
Diff: https://github.com/canonical/snapcraft/compare/refs/tags/8.2.12...8.3.1

Changelog: https://github.com/canonical/snapcraft/releases/tag/8.3.0
           https://github.com/canonical/snapcraft/releases/tag/8.3.1
2024-07-24 09:34:05 -07:00
Jon Seager
646456a7f3
snapcraft: run nixfmt-rfc-style 2024-07-10 16:43:58 +02:00
Jon Seager
57cf148d2b
snapcraft: 8.2.0 -> 8.2.12 2024-07-10 16:43:55 +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
R. Ryantm
d2b58349e3 snapcraft: 8.2.1 -> 8.2.5 2024-05-07 09:24:41 +00:00
R. Ryantm
4c1ddbda19 snapcraft: 8.2.0 -> 8.2.1 2024-04-30 09:43:02 +00:00
Jon Seager
fe0775e297
snapcraft: init at 8.2.0 2024-04-18 19:06:42 +01:00