Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mailman, postorius, and hyperkitty to their respective latest versions #75782

Closed
wants to merge 5 commits into from

Conversation

peti
Copy link
Member

@peti peti commented Dec 16, 2019

Unfortunately, this update broke the test suite of postorious. I have no idea why, but it seems like the suite attempts to connect to some local service that's not running in the Nix build sandbox.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

@@ -0,0 +1,19 @@
{ buildPythonPackage, fetchPypi, lib, authres, dnspython, dkimpy, publicsuffix }:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ buildPythonPackage, fetchPypi, lib, authres, dnspython, dkimpy, publicsuffix }:
{ buildPythonPackage, fetchPypi, lib, isPy27, authres, dnspython, dkimpy, ipaddress, publicsuffix }:

sha256 = "0hf1p6ws3jma608pmcb5qsl58xg33wz2s51qqzi9zix0llcnyc97";
};

propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ];
propagatedBuildInputs = [
authres
dnspython
dkimpy
publicsuffix
] ++ lib.optionals isPy27 [ ipaddress ];

to avoid:

  Requirement already satisfied: authres>=1.2.0 in /nix/store/7bxi2wk1p6ppzc8ir9m63ga5xdm2kazn-python2.7-authres-1.2.0/lib/python2.7/site-packages (from authheaders==0.12.1) (1.2.0)
  ERROR: Could not find a version that satisfies the requirement ipaddress (from authheaders==0.12.1) (from versions: none)
  ERROR: No matching distribution found for ipaddress (from authheaders==0.12.1)

@peti
Copy link
Member Author

peti commented Dec 18, 2019

@GrahamcOfBorg build python3Packages.mailman python3Packages.hyperkitty python3Packages.postorius python3Packages.authheaders python2Packages.authheaders

@jonringer
Copy link
Contributor

@peti please take a look at my suggestions, as they fix your python2 authheaders package

@aanderse
Copy link
Member

ping @alyssais because of #77444

@alyssais
Copy link
Member

Needs this commit cherry-picked to make Hyperkitty build.

@jonringer
Copy link
Contributor

jonringer commented Jan 14, 2020

don't forgot to add a comment to the patch describing what it's doing:

  # Fix for networkx 2.4, remove >1.3.1
  fetchpatch ....

Ironically, this is related to networkx/networkx#3750

@alyssais alyssais deleted the t/mailman branch January 20, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants