Commit Graph

121 Commits

Author SHA1 Message Date
Alyssa Ross
91bbbbabe0
mailmanPackages.hyperkitty: apply allauth fix 2023-10-11 20:20:19 +00:00
Alyssa Ross
0d910a60ef
mailmanPackages: pin elasticsearch to 7.17.9
Hyperkitty's tests fail with 8.x, because it tries and fails to import
elastic_transport.  There are 7.17.10 and 7.17.11 releases, but for
unknown reasons they're not available on PyPI.

Link: https://github.com/elastic/elasticsearch-py/issues/2336
2023-10-11 20:20:16 +00:00
Alyssa Ross
755ef90835
mailmanPackages: pin redis to 4.5.4 2023-10-11 20:20:15 +00:00
Alyssa Ross
ec58ad152a
mailman: use sphinx from python3.pkgs
At least since e161990d40 ("mailman: remove docutils input"), we
rely on sphinx being a Python library package for our Python version,
so that it propagates a compatible docutils.  Taking sphinx from the
top level therefore won't work right if it's using a different Python
version.
2023-10-11 20:20:11 +00:00
Alyssa Ross
a4c3566925
mailman: remove importlib-resources dependency
mailman is incompatible with importlib-resources 6.x, and upstream
have decided to remove the dependency.

Fixes: 3c86835248 ("python3Packages.importlib-resources: 5.12.0 -> 6.0.1")
Link: https://gitlab.com/mailman/mailman/-/issues/1093
2023-10-11 20:20:09 +00:00
Robert Schütz
98152f67b9 mailman-hyperkitty: pin mistune at 2.0.5 2023-09-15 09:34:30 -07:00
Alyssa Ross
e161990d40 mailman: remove docutils input
In Nixpkgs, we currently have the strange situation where
pkgs.docutils (which was being used here) is on a different version
than pkgs.python3.pkgs.docutils (which is propagated from sphinx).
This led to a conflict here and a build failure.

Since we'd need to provide the same version as propagated by sphinx
anyway, let's just remove the explicit docutils check input and only
use the version propagated by sphinx, avoiding this kind of conflict
in future.

Fixes: 2312861130 ("docutils: 0.19 -> 0.20.1")
2023-08-31 14:18:22 +00:00
Alyssa Ross
7ca3513f3e
mailmanPackages.web.meta.homepage: add
This is the URL listed as "Project home" in the README.
2023-08-25 18:48:02 +00:00
Jan Tojnar
86f6b16d28 Merge branch 'master' into staging-next
Conflicts:
- pkgs/servers/mail/mailman/python.nix (relevant to mailman-web)
  between f8a17e4200 and 84f6a6755a
2023-08-15 21:39:20 +02:00
Maximilian Bosch
f8a17e4200
mailman/python: remove obsolete almebic override, add explanation why this empty overlay should be kept 2023-08-15 12:36:23 +02:00
Maximilian Bosch
8b45dd8698
mailmanPackages: remove psycopg2 pin
This hack was necessary for django 2.x[1] which was the default `django`
version (i.e. current LTS) when this fix was needed. However, 2.x is now
EOL and not packaged anymore and mailman is running with django3, so
this can be dropped.

[1] https://github.com/psycopg/psycopg2/issues/1293
2023-08-12 13:51:10 +02:00
Maximilian Bosch
2cefe69f6f
mailmanPackages.python: allow changing python package-set used for mailman
When having a patch for a python module that should only be used for
mailman, but for nothing else, it's now possible to apply it like this:

    self: super: {
      mailmanPackages = super.mailmanPackages.extend (mailmanSelf: mailmanSuper: {
	python3 = mailmanSuper.python3.override {
	  overlay = pythonSelf: pythonSuper: {
	    psycopg2 = /* ... */;
	  };
	};
      });
    }

The underlying issue is that the `packageOverrides`-mechanism of
`pkgs.python3` doesn't compose, so an optional overlay is manually
applied to the `python3` used for mailman.
2023-08-12 13:51:10 +02:00
Maximilian Bosch
892661f45b
mailmanPackages.web: 0.0.5 -> 0.0.6
ChangeLog: https://gitlab.com/mailman/mailman-web/-/compare/0.0.5...0.0.6
2023-08-12 13:51:09 +02:00
Maximilian Bosch
9c96150189
mailmanPackages.hyperkitty: 1.3.5 -> 1.3.7
ChangeLog: https://gitlab.com/mailman/hyperkitty/-/compare/1.3.5...1.3.7
2023-08-12 13:51:09 +02:00
Maximilian Bosch
be50a4d290
mailmanPackages.postorius: 1.3.6 -> 1.3.8
ChangeLog: https://gitlab.com/mailman/postorius/-/compare/1.3.6...1.3.8
2023-08-12 13:49:55 +02:00
github-actions[bot]
3e483a0e1f
Merge staging-next into staging 2023-08-07 06:01:33 +00:00
Vladimír Čunát
923a94aba4
python3Packages.gunicorn: add missing dependency
The package wouldn't fail itself but others depending on it would:
https://hydra.nixos.org/build/229774404/nixlog/4/tail
2023-08-07 07:38:43 +02:00
github-actions[bot]
687b501234
Merge staging-next into staging 2023-08-05 18:01:37 +00:00
Vladimír Čunát
383d4c0c3e
mailman-hyperkitty: add missing dependency
https://hydra.nixos.org/build/230292365/nixlog/2/tail
2023-08-05 18:12:58 +02:00
Martin Weinelt
84f6a6755a
mailmanPackages: pin to django_3 2023-08-03 14:35:39 +02:00
natsukium
39ea250bb6
python310Packages.zope-component: rename from zope_component 2023-07-28 09:55:45 +09:00
Weijia Wang
6e7c0b97d4 treewide: make fetchPypi more explicit 2023-05-25 21:37:59 +03:00
figsoda
22ec7aebbc treewide/servers: use top-level fetchPypi 2023-05-25 12:06:38 -04:00
Martin Weinelt
e96bad849d
mailmanPackages.hyperkitty: fix tests
Probably broken in the last beautifulsoup4 bump.
2023-05-14 03:02:19 +02:00
Kirill Radzikhovskyy
48c2d3284a mailman: 3.3.5 -> 3.3.8 supports latest sqlalchemy 2023-02-11 06:28:05 +11:00
Weijia Wang
849db3829c
Merge pull request #209413 from r-ryantm/auto-update/mailman-hyperkitty
mailman-hyperkitty: 1.2.0 -> 1.2.1
2023-01-23 16:18:10 +01: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
R. Ryantm
f0ebe533a3 mailman-hyperkitty: 1.2.0 -> 1.2.1 2023-01-07 04:28:02 +00:00
OPNA2608
99b3530710 mailmanPackages.buildEnvs: Fixup after ldap -> python-ldap rename 2022-10-07 19:11:50 +02:00
Robert Schütz
243053e521 python310Packages.mistune: 0.8.4 -> 2.0.4
Remove mistune_0_8 because it's insecure.
2022-08-15 06:53:01 +00:00
Martin Weinelt
33ee10c80e
python3Packages.django-compressor: rename from django_compressor 2022-08-06 00:21:16 +02:00
Maximilian Bosch
6c7fbcd21e
mailman: make mailmanPackages.extend actually work in overlays 2022-07-04 21:15:56 +02:00
Maximilian Bosch
dd4b6b81fa
nixos/mailman: implement LDAP support for postorius 2022-07-04 21:15:53 +02:00
Maximilian Bosch
e768893052
mailmanPackages.hyperkitty: fix build
Closes #177470
2022-06-17 15:53:40 +02:00
Maximilian Bosch
aea3ec632d
mailman: split python env for web and mailman 2022-05-20 01:36:48 +02:00
Maximilian Bosch
72a14ea563
mailman: refactor package structure
* Removed unused `.package`-option.
* Added explicit postgresql support.
* Create a new meta-package for mailman to make sure each component has
  the **same** python and packages can be downgraded if needed (e.g.
  psycopg2 or sqlalchemy) without interfering with `pythonPackages` in any way.
* Document why certain python overrides are needed.

Closes #170035
Closes #158424
2022-05-20 01:21:20 +02:00
K900
016facb869 hyperkitty: backport patch fixing Python 3.10 support 2022-05-16 13:27:16 +03:00
Martin Weinelt
69900853ca mailman: fix build
Required an update to the sqlalchemy override due to new hash variable
usage. Also disables tests for sqlalchemy and alembic because neither
can find any, so they error out.
2022-04-15 01:39:55 +02:00
Alyssa Ross
3512f5b707
mailman-web: fix django version check removal
Recent versions had increased the amount of indentation, which stopped
this applying.  The next version will also change the case, so I've
adjusted in advance for that too.
2022-03-21 19:35:12 +00:00
Nikolay Korotkiy
343e96c0cc
python3Packages.hyperkitty: fix mistune imports for mistune >= 2.0.0 2022-02-01 22:57:03 +03:00
Robert Schütz
c0b9a9ee44 python3Packages.django_extensions: rename to django-extensions 2022-01-09 15:25:05 +00:00
Artturin
a997abfb28 mailman: formatting 2021-11-13 02:14:26 +02:00
Artturin
92b9bd4eb6 python3Packages.hyperkitty: 1.3.4 -> 1.3.5 2021-11-13 02:14:26 +02:00
Artturin
5f8d34ad31 mailman-web: unstable-2021-04-10 -> 0.0.5 2021-11-13 02:14:26 +02:00
Artturin
413e2f0070 python3Packages.postorius: 1.3.5 -> 1.3.6 2021-11-13 02:14:26 +02:00
Sandro
b499e23f93
Merge pull request #137656 from r-ryantm/auto-update/python38Packages.postorius 2021-11-12 17:34:47 +01:00
Martin Weinelt
adf4e67dd4 Merge remote-tracking branch 'origin/staging' into staging-next 2021-10-15 01:34:36 +02:00
Peter Simons
476635afe1 Drop myself from meta.maintainers for most packages.
I'd like to reduce the number of Github notifications and
review requests I receive.
2021-10-14 11:01:27 +02:00
Martin Weinelt
90ef69cae9
hyperkitty: unstable-2021-10-08 -> 1.3.5
One dependency per line, some sorting, clean out some unused
dependencies.
2021-10-13 20:16:21 +02:00
Martin Weinelt
b8144b632e python3Packages.hyperkitty: 1.3.4 -> unstable-2021-10-08
Fixes the failing test suite.
2021-10-11 01:54:21 +02:00