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
mailpile: 1.0.0rc2 -> 1.0.0rc6 #135543
mailpile: 1.0.0rc2 -> 1.0.0rc6 #135543
Conversation
Updates Mailpile to the most recent GitHub release. Added fasteners-python2 to python2-packages. The current `fasteners` python package in pulls in a dependency on Django which is incompatible with python2. So I needed to downgrade the `fasteners` to a version which does not have Django as a dependency.
Co-authored-by: Gytis Ivaskevicius <gytis02.21@gmail.com>
@@ -22,18 +23,27 @@ python2Packages.buildPythonApplication rec { | |||
appdirs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use python3 instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, Mailpile does not support Python 3 (they are planning it since 2013). This "updated" version is from 2019 (last release on GitHub) so there is also no Python 3 support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a similar pull request updating Mailpile (#97274). However, the last pull request does not work anymore because of the fasteners
library. So when this is merged, the old PR can be closed.
Also it seems like you already asked whether Python 3 support is possible one year ago :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python2 should be removed from as much as possible because we no longer maintain it and don't even check for breakages when updating libraries.
Motivation for this change
Have the most recent version of Mailpile in nixpkgs.
Things done
Mailpile package has been upgraded to the 1.0.0rc6 version (most recent on their GitHub). Because the
fasteners
library dropped support for python 2 an older version of it had to be used to compile Mailpile.sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)