1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

152 commits

Author SHA1 Message Date
Fabian Affolter dd1bf6abbb
Merge pull request #332934 from fabaff/dvc-bump
python312Packages.flufl-lock: 7.1.1 -> 8.1.0 , dvc: 3.51.2 -> 3.53.1
2024-08-08 22:08:29 +02:00
Alyssa Ross f34ee18635 mailmanPackages.postorius: use optional-dependencies
We have a mechanism for this — we don't need an overlay hack.

Fixes: 04952ac5c3 ("mailmanPackages.python3: fix markdown support")
2024-08-07 13:27:50 +02:00
Fabian Affolter 6a7037fc9f mailman: refactor 2024-08-07 11:55:17 +02: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
aleksana 07c1bc2034 treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
Franz Pletz 04952ac5c3
mailmanPackages.python3: fix markdown support
Fixes the issue reported at
https://gitlab.com/mailman/mailman/-/issues/1137. The readme-renderer
package needs cmarkgfm for markdown support. Mailman's postorious needs
this to render the info field of mailing lists.
2024-06-20 02:10:09 +02:00
Alyssa Ross a8dbe01264 mailman-web: 0.0.8 -> 0.0.9 2024-05-22 18:24:51 +02:00
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Alyssa Ross 004613a60f mailmanPackages.hyperkitty: 1.3.8 -> 1.3.9
Doesn't seem to be out on PyPI yet, but they have a release tarball.

Hyperkitty has migrated to pyproject.toml, and no longer requires an
outdated version of mistune.  Yay!
2024-03-09 08:01:31 +01:00
natsukium 97e79119f2 python311Packages.flufl-i18n: rename from flufl_i18n 2024-02-02 19:43:34 +01:00
natsukium 13b149cdaa python311Packages.flufl-bounce: rename from flufl_bounce 2024-02-02 19:43:33 +01:00
natsukium 9e74247757 python311Packages.flufl-lock: rename from flufl_lock 2024-02-02 19:43:33 +01:00
Felix Bühler 65342bb7a0
python311Packages.readme-renderer: rename from readme_renderer (#279385) 2024-01-22 17:19:13 -05:00
Alyssa Ross ae517a3941 mailmanPackages.python3.pkgs.redis: 4.5.4 -> 4.6.0 2024-01-22 13:17:01 +01:00
Alyssa Ross a5d263af01 mailman-web: 0.0.6 -> 0.0.8 2024-01-22 13:17:01 +01:00
Alyssa Ross 7d1649fca8 mailmanPackages.postorius: 1.3.8 -> 1.3.10 2024-01-22 13:17:01 +01:00
Alyssa Ross f5804016bb mailman: 3.3.8 -> 3.3.9 2024-01-22 13:17:01 +01:00
Alyssa Ross 78b9406b41 mailmanPackages.hyperkitty: 1.3.7 -> 1.3.8 2024-01-22 13:17:01 +01:00
Alyssa Ross c3b2d5e5db mailman: remove obsolete substitution 2024-01-22 13:17:01 +01:00
Alyssa Ross 7016fa4559 mailmanPackages.hyperkitty: remove obsolete patches
The test failure only happened with Python 3.10.  We use 3.11 by
default, and there's not really any reason to change it, so I don't
think we need to keep that patch around.
2024-01-22 13:17:01 +01:00
Alyssa Ross 76724dbc57 mailmanPackages,python3.pkgs.django-mailman3: add NixOS test to passthru.tests 2024-01-20 11:12:43 +01:00
Felix Buehler 63f5f08857 python311Packages.zope-*: rename from zope_* 2024-01-06 21:04:16 +01:00
Martin Weinelt 1c599defe0
mailman: propagate python-dateutil
Broke after moving python-dateutil to checkDeps in alembic.
2024-01-03 14:36:40 +01:00
natsukium cd49f6378c
python311Packages.zope-configuration: rename frome zope_configuration 2023-11-12 02:38:44 +09:00
OTABI Tomoya 58ad2344cb
Merge pull request #265243 from natsukium/lazr
python311Packages.lazr-config: 2.2.3 -> 3.0; python311Packages.lazr-delegates: 2.0.4 -> 2.1.0; rename
2023-11-10 18:52:54 +09:00
Alyssa Ross 6e2323caad Revert "mailmanPackages: pin to django_3"
This reverts commit 84f6a6755a.

Mailman now supports Django 4.x.

Link: https://github.com/NixOS/nixpkgs/issues/262907
2023-11-09 12:17:25 +01:00
natsukium 09cc8b216e
python311Packages.lazr-config: rename from lazr_config 2023-11-03 21:03:56 +09:00
Robin Gloster e5d552f5b9
treewide: update globin's maintainership 2023-10-24 13:09:45 +02:00
Vladimír Čunát 9320d9e7bc
Merge #260527: Mailman fixes
...into staging-next
2023-10-20 18:56:03 +02:00
Maximilian Bosch 2ee12a93de treewide: remove myself (ma27) from a few packages
It's time again, I guess :>

Main motivation is to stop being pinged about software that I maintained
for work now that I'm about to switch jobs. There's no point in pinging
me to review/test updates or to debug issues in e.g. the Atlassian stack
or on mailman since I use neither personally.

But there's also a bunch of other stuff that I stopped using personally. While
at it I realized that I'm still maintainer of a few tests & modules related to
packages I stopped maintaining in the past already.
2023-10-18 15:47:20 -03:00
Alyssa Ross 09e0a34f92
mailmanPackages.web: apply allauth fix 2023-10-11 20:20:20 +00:00
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