Commit Graph

14 Commits

Author SHA1 Message Date
Aliaksandr
03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Jörg Thalheim
298b99bc6e Revert "buildbot: python3Packages.service-identity: 24.1.0 -> 24.2.0"
This reverts commit 7f9857f4bd.

We update the global version now instead.
2025-01-05 11:12:12 +01:00
zowoq
7f9857f4bd buildbot: python3Packages.service-identity: 24.1.0 -> 24.2.0 2025-01-05 18:41:50 +10:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jörg Thalheim
0a4ee602e8 buildbot: get rid of python overrides
we only had moto overriden because we needed to rebuild some other
libraries. This is no longer the case.
2024-10-24 08:00:05 +02:00
zowoq
c47f552fc3 buildbot: 4.0.3 -> 4.1.0
Changelog:

https://github.com/buildbot/buildbot/releases/tag/v4.0.4
https://github.com/buildbot/buildbot/releases/tag/v4.1.0
2024-10-19 09:14:21 +10: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
Jade Lovelace
ebf346ff04 buildbot: tie the knot through a scope to make it overridable
Currently it is impossible to overlay buildbot since all the references
between components are directly bound to the values in scope. Let's fix
this by introducing a scope so you can overrideScope parts of buildbot.

I also changed buildbot-worker to use our overridden python, which is no
functional change, but makes things more consistent.
2024-03-08 13:42:17 -08:00
Martin Weinelt
ba3412d88a treewide: use sqlalchemy_1_4 instead of individual overrides
As long as sqlalchemy 1.4 is still maintained we should rather maintain
one derivation well, instead of many overrides barely.
2024-01-03 03:13:26 +01:00
Jörg Thalheim
2b0e5f1244 buildbot: sqlalchemy: 1.4.49 -> 1.4.50 2023-12-30 11:25:04 +10:00
zowoq
93081fb5f2 buildbot: sqlalchemy: 1.4.40 -> 1.4.49 2023-09-17 10:34:59 +10:00
Vladimír Čunát
9249f60087 treewide: fixup the embedded sqlalchemy
I got tired of doing this one commit per package.
2023-07-21 17:03:19 +02:00
Weijia Wang
d7619eff54 treewide: development: use top-level fetchPypi 2023-05-25 15:52:27 +03:00
Jörg Thalheim
90b750456e buildbot: move out of python3.pkgs
By moving it out we can start apply overrides to python dependendencies
starting with sqlalchemy.

This fixes the build with the current version.
2023-04-11 12:38:58 +02:00