Frederik Rietdijk
33d12e5f0b
pythonPackages: ensure all derivations provide python modules
...
This adds a test to ensure no new uses of `buildPythonApplication` can
be added to `python-packages.nix`.
Python packages can be grouped into two groups: 1) applications and 2)
packages providing importable modules. In `python-packages.nix` we only
want to have 2). 1) should be in the top-level package set.
To achieve this, all setup hooks need to be marked as being a setup hook.
For the setup hooks in the Python packages set this is done by creating
a new builder, `makePythonHook`.
Because there were issues with splicing, the file importing all the hooks
is converted to an extension. All non-packages were moved out of `python-packages.nix`
into `python-packages-base.nix`. The `keep` argument to `makeScopeWithSplicing
was cleaned up as well; there is no need to keep this one manually in sync
reducing the risk of breaking cross-compilation.
2022-10-27 10:03:16 +02:00
Sandro Jäckel
67dece3b2c
python310Packages.attrs: 21.4.0 -> 22.1.0
2022-08-05 23:22:35 +02:00
Robert Schütz
e5dcb4efd2
python2Packages.lpod: remove
2022-06-07 16:39:08 +00:00
Robert Schütz
f9c76fbaec
python2Packages.libcloud: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
c769a56661
python2Packages.ipaddr: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
3367f6e4e6
python2Packages.wsproto: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
a9aba22cdc
python2Packages.freezegun: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
2a54a83573
python2Packages.decorator: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
c1c1104596
python2Packages.cryptography: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
2f3c0f9a41
python2Packages.click: remove
2022-06-07 16:39:07 +00:00
Robert Schütz
8ceaa66b5a
python2Packages.itsdangerous: remove
2022-06-07 16:39:06 +00:00
Robert Schütz
162b4c1006
python2Packages.werkzeug: remove
2022-06-07 16:39:06 +00:00
Robert Schütz
b566290cdb
python2Packages.flask: remove
2022-06-07 16:39:06 +00:00
Robert Schütz
608ec38f08
python2Packages.pyjwt: remove
2022-06-07 16:39:03 +00:00
Robert Schütz
ed806bb627
python2Packages.urllib3: remove
2022-06-07 16:38:46 +00:00
Robert Schütz
93f430c156
python2Packages.vcrpy: remove
2022-06-07 16:38:21 +00:00
Robert Schütz
137d55460a
python2Packages.wxPython: remove
2022-06-07 16:38:21 +00:00
Sandro Jäckel
8df7949791
pythonPackages.cryptography-vectors: make internal to cryptography
2022-03-27 16:08:55 +02:00
revol-xut
ff845153ac
python27Packages.gtkme: init at version 1.5.1
2022-02-25 14:00:45 +01:00
Dmitry Kalinkin
3087088c41
Merge branch 'staging-next' into staging
...
Conflicts:
pkgs/top-level/aliases.nix
pkgs/top-level/python-aliases.nix
2022-02-01 21:37:39 -05:00
piegames
724822a79d
python2Packages.{pygtk,pyGtkGlade}: remove libglade support
2022-01-29 18:08:51 +01:00
Martin Weinelt
a17e0d7aa4
python2.pkgs.coverage: keep 5.5
2022-01-23 01:09:37 +01:00
Frederik Rietdijk
e42dd294e4
python2.pkgs.pyparsing: keep 2.4.7
2022-01-23 01:09:35 +01:00
Frederik Rietdijk
721a4a296e
python2Packages: remove imports of files that no longer exist
2022-01-17 18:09:07 +01:00
Frederik Rietdijk
ae18d68b6b
python2.pkgs: move expressions into python2-modules/ folder
...
Another step in further separating python2 from python3.
2022-01-16 10:00:16 +01:00
Robert Schütz
12098119d9
python2Packages.pyyaml: init at 5.4.1.1
2022-01-15 20:58:34 +01:00
Robert Schütz
2cae050057
python2Packages: remove superfluous overrides
...
Since Python 2 is not supported anymore we only keep those overrides
which are used by leaf packages.
2022-01-01 02:10:53 +01:00
Martin Weinelt
4beaf5301d
python3Packages.xenomapper: move to top-level
2022-01-01 02:09:11 +01:00
Robert Schütz
de8b43a2e2
python2Packages.pythonIRClib: remove
...
It is not used by any leaf package and provides no executable.
2022-01-01 02:09:09 +01:00
Robert Schütz
63b5ee56a6
python2Packages.gdrivefs: remove
...
It was broken due to python2Packages.gipc being broken for multiple releases.
2022-01-01 02:09:08 +01:00
Robert Schütz
4acf7d91b3
python2Packages.bitbucket-cli: move to top-level
2022-01-01 02:09:08 +01:00
Martin Weinelt
5dd90167ce
nixos/moinmoin, nixos/tests/moinmoin, python2Packages.moinmoin: remove
...
Stuck on python2 and the NixOS test has been failing for 6 months.
2021-12-31 16:39:24 -08:00
Dmitry Kalinkin
da8f155b2a
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/development/python-modules/sphinxext-opengraph/default.nix
2021-12-18 10:18:14 -05:00
Frederik Rietdijk
2e5cfa6de7
python2Packages.platformdirs: init at 2.0.2
...
needed for python2Packages.virtualenv
2021-12-18 14:31:13 +01:00
Robert Schütz
8525e831a8
python2Packages.pyjwt: init at 1.7.1
...
needed for NixOps
2021-12-12 22:07:19 -08:00
github-actions[bot]
b2a2a5759e
Merge master into staging-next
2021-12-10 06:01:17 +00:00
Tom Prince
427912ea93
Move where a couple of existing packages are disabled on python2.
...
This moves where the package are disabled to `pkgs/top-level/python2-packages.nix`.
2021-12-09 19:29:18 -08:00
Tom Prince
deaec9f289
Fix some places where python2 packages fail to evaluate.
...
I unfortunately still depend on some python2 packages. It appears
that these two packages fail to evaluate, in a way that `tryEval`
doesn't catch. This changes them to be explicitly disabled there.
2021-12-09 19:29:18 -08:00
Jonathan Ringer
7de4ded03b
python3Packages.pyjwt1: move to privacyidea overlay
2021-12-09 19:03:03 -08:00
Jonathan Ringer
5263fb820e
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/django-rq/default.nix
pkgs/top-level/all-packages.nix
2021-12-05 22:02:00 -08:00
Robert Schütz
2aaf727771
Merge pull request #145801 from dotlambda/tzlocal-4.1
...
python3Packages.tzlocal: 2.1 -> 4.1
2021-12-05 20:54:19 -08:00
Doron Behar
3a188316e7
gaia: Remove
2021-12-06 00:17:36 +02:00
Robert Schütz
4912ee7bf1
python2Packages.pydocstyle: drop
...
It's not used by any leaf package.
2021-12-02 15:21:23 -08:00
Robert Schütz
d9823c39ce
python2Packages.keyring: drop
...
It's not used by any leaf package.
2021-11-25 08:44:54 -08:00
Robert Schütz
c934296ece
python2Packages.tzlocal: init at 2.1
...
needed for NixOps 2
2021-11-22 16:40:47 -08:00
Alyssa Ross
26b89bcd16
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
2021-11-13 15:30:01 +00:00
sternenseemann
1a1e32f023
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts were caused by 2043dbb6fa
interacting with b2767b69dd
.
2021-11-13 12:35:55 +01:00
Thomas Watson
ce70bbbbd8
protobuf: pin to 3.17 for Python 2
2021-11-13 03:16:49 -05:00
Alyssa Ross
95947f6dd7
python2.pkgs.pycairo: fix cross
2021-11-12 16:57:24 +00:00
github-actions[bot]
7414a16ee5
Merge master into staging-next
2021-11-09 18:01:23 +00:00