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

mailpile: 1.0.0rc2 -> 1.0.0rc6 #135543

Closed
wants to merge 4 commits into from
Closed

Conversation

ostylk
Copy link
Contributor

@ostylk ostylk commented Aug 24, 2021

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.

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

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
Copy link
Member

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?

Copy link
Contributor Author

@ostylk ostylk Sep 11, 2021

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.

Copy link
Contributor Author

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

Copy link
Member

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.

@mweinelt mweinelt closed this in 369db3b Jan 16, 2022
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

3 participants