Commit Graph

25 Commits

Author SHA1 Message Date
Pol Dellaiera
a9115b3a83 nbstripout: replace git with gitMinimal 2025-01-09 21:02:44 +01:00
Arne Keller
f9b3ad9126
nbstripout: Don't propagate ipython (#230164)
If you have a devShell with `python311` and `nbstripout` in `buildInputs`, running `python --version` will output 3.10 as of today, because `nbstripout` is propagating python through ipython.
2024-12-11 07:05:50 +01: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
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
figsoda
8014b08ee0 treewide/applications: use top-level fetchPypi 2023-05-25 10:51:30 -04:00
Marin
f43fb79c08
[nbstripout] Don't propagate ipython
If you have a devShell with `python311` and `nbstripout` in `buildInputs`, running `python --version` will output 3.10 as of today, because `nbstripout` is propagating python through ipython.
2023-05-05 14:31:09 -04: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
Robert Schütz
75300fb33d nbstripout: 0.6.0 -> 0.6.1 2022-12-10 13:56:00 -08:00
R. Ryantm
a2d88a153d nbstripout: 0.5.0 -> 0.6.0 2022-07-25 06:00:47 +00:00
R. RyanTM
270d068656 nbstripout: 0.3.9 -> 0.5.0 2021-08-13 05:45:17 +00:00
Sandro Jäckel
9bfdf57e13
pythonPackages: deprecate pytestrunner alias 2021-07-21 13:32:49 +02:00
Felix Buehler
82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
R. RyanTM
00f0b1d721 nbstripout: 0.3.7 -> 0.3.9 2020-10-16 00:40:08 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jaakko Luttinen
8074942aed
nbstripout: 0.3.6 -> 0.3.7 2020-03-09 16:47:57 +02:00
Jonathan Ringer
fca4359376 nbstripout: fix build 2019-12-30 16:46:55 +01:00
Jaakko Luttinen
8b51ee3667
nbstripout: 0.3.1 -> 0.3.6 2019-09-07 14:43:43 +03:00
Frederik Rietdijk
f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
Marek Mahut
92571e8a55 nbstripout: moving buildInputs to checkInputs
Fixes https://hydra.nixos.org/build/98602011
2019-08-17 23:10:37 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jaakko Luttinen
caf8794910
nbstripout: fix tests
Building of nbstripout has failed after the version was bumped to 0.3.1 because:
the test files were missing from the new release tarball. This adds tests by
using the release tarball from GitHub instead of PyPI.

However, these tests fail because of a bug in one test. Thus, a patch is used to
fix the tests.
2018-04-05 10:02:34 +03:00
Frederik Rietdijk
c96c80365d python: nbstripout: 0.3.0 -> 0.3.1 2018-02-26 18:44:22 +01:00
Frederik Rietdijk
1623c8371c buildPythonPackage: rename nix_run_setup.py to nix_run_setup
If the extension is .py it tends to be picked up by tools, breaking for
example tests.
2018-01-20 13:31:14 +01:00
Jaakko Luttinen
4a9acbb79a
nbstripout: fix build on darwin 2017-05-17 11:06:59 +03:00
Jaakko Luttinen
1745b7e949
nbstripout: init at 0.3.0 2017-05-08 18:58:37 +03:00