···6161- `reaction` has been updated to version 2, which includes some breaking changes.
6262 For more information, [check the release article](https://blog.ppom.me/en-reaction-v2).
63636464+- The `buildPythonPackage` and `buildPythonApplication` functions now require
6565+ an explicit `format` attribute. Previously the default format used setuptools
6666+ and called `setup.py` from the source tree, which is deprecated.
6767+ The modern alternative is to configure `pyproject = true` with `build-system = [ setuptools ]`.
64686569### Deprecations {#sec-nixpkgs-release-25.11-lib-deprecations}
6670
···1010buildPythonApplication rec {
1111 pname = "twitch-chat-downloader";
1212 version = "2.5.4";
1313+ format = "setuptools";
13141415 # NOTE: Using maintained fork because upstream has stopped working, and it has
1516 # not been updated in a while.
···1111buildPythonApplication rec {
1212 pname = "git-review";
1313 version = "2.5.0";
1414+ format = "setuptools";
14151516 # Manually set version because prb wants to get it from the git
1617 # upstream repository (and we are installing from tarball instead)
···2828python.pkgs.buildPythonApplication rec {
2929 pname = "gdtoolkit3";
3030 version = "3.5.0";
3131+ format = "setuptools";
31323233 # If we try to get using fetchPypi it requires GeoIP (but the package dont has that dep!?)
3334 src = fetchFromGitHub {
···3636buildPythonApplication rec {
3737 pname = "haxor-news";
3838 version = "unstable-2020-10-20";
3939+ format = "setuptools";
39404041 # haven't done a stable release in 3+ years, but actively developed
4142 src = fetchFromGitHub {
···1111python3Packages.buildPythonApplication rec {
1212 pname = "multiqc";
1313 version = "1.29";
1414+ format = "setuptools";
14151516 # Two data sources. One for the code, another for the test data
1617 srcs = [
···1515 # seemingly abandoned D-Bus package pydbus and started using maintained
1616 # dbus-next. So let's use latest from GitHub.
1717 version = "0-unstable-2023-12-16";
1818+ format = "setuptools";
18191920 src = fetchFromGitHub {
2021 owner = "mdellweg";
···66python3.pkgs.buildPythonApplication rec {
77 pname = "perfect-hash";
88 version = "0.4.1";
99+ format = "setuptools";
9101011 # Archive on pypi does not contain examples, which are very helpful to
1112 # understand how to use this program, so we use git source.
···1111buildPythonApplication rec {
1212 pname = "pwgen-secure";
1313 version = "0.9.1";
1414+ format = "setuptools";
14151516 # it needs `secrets` which was introduced in 3.6
1617 disabled = pythonOlder "3.6";
···66python312Packages.buildPythonApplication {
77 pname = "vanguards";
88 version = "0.3.1-unstable-2023-10-31";
99+ format = "setuptools";
9101011 dependencies = [ python312Packages.stem ];
1112 #tries to access the network during the tests, which fails
···211211 else if format != null then
212212 format
213213 else
214214- "setuptools";
214214+ throw "${name} does not configure a `format`. To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ]`.`";
215215216216 withDistOutput = withDistOutput' format';
217217···268268269269 isSetuptoolsDependency = isSetuptoolsDependency' (attrs.pname or null);
270270271271+ name = namePrefix + attrs.name or "${finalAttrs.pname}-${finalAttrs.version}";
272272+271273 in
272274 (cleanAttrs attrs)
273275 // {
274274-275275- name = namePrefix + attrs.name or "${finalAttrs.pname}-${finalAttrs.version}";
276276+ inherit name;
276277277278 inherit catchConflicts;
278279
···99buildPythonPackage {
1010 pname = "pipetools";
1111 version = "1.1.0";
1212+ format = "setuptools";
12131314 # Used github as the src since the pypi package does not include the tests
1415 src = fetchFromGitHub {
···2020 # If you need these, you can just add them to your environment.
21212222 version = "4.57.1";
2323+ format = "setuptools";
2324 pname = "hypothesis";
24252526 # Use github tarballs that includes tests
···2929 # downloads break constantly. Because of that, updates should always be backported
3030 # to the latest stable release.
3131 version = "2021.12.17";
3232+ format = "setuptools";
32333334 src = fetchurl {
3435 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";