Skip to content

mailpile: 1.0.0rc2 -> 1.0.0rc6#135543

Closed
ostylk wants to merge 4 commits intoNixOS:masterfrom
ostylk:submit/mailpile
Closed

mailpile: 1.0.0rc2 -> 1.0.0rc6#135543
ostylk wants to merge 4 commits intoNixOS:masterfrom
ostylk:submit/mailpile

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.

ostylk added 3 commits August 24, 2021 12:32
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.
@ostylk ostylk requested review from FRidh and jonringer as code owners August 24, 2021 10:48
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Aug 24, 2021
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Aug 24, 2021
@Mic92 Mic92 changed the title Submit/mailpile mailpile: 1.0.0rc2 -> 1.0.0rc6 Aug 24, 2021
@@ -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

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants