Skip to content

mailman: reenable tests, add necessary deps - #118879

Closed
lheckemann wants to merge 1 commit into
NixOS:masterfrom
mayflower:mailman-tests
Closed

lheckemann wants to merge 1 commit into
NixOS:masterfrom
mayflower:mailman-tests

Conversation

@lheckemann

Copy link
Copy Markdown
Member
Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg
ofborg Bot requested a review from peti April 9, 2021 06:05
@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 9, 2021
@r-rmcgibbo

r-rmcgibbo commented Apr 9, 2021 •

Copy link
Copy Markdown

Result of nixpkgs-review pr 118879 at bcf30d4 run on aarch64-linux 1

5 packages built successfully:
  • mailman
  • python38Packages.mailman
  • python38Packages.mailman-hyperkitty
  • python39Packages.mailman
  • python39Packages.mailman-hyperkitty
7 suggestions:
  • warning: missing-patch-comment

    Please add a comment on the line above, explaining the purpose of this patch.
    Near pkgs/servers/mail/mailman/default.nix:27:5:

       |
    27 |     (fetchpatch {
       |     ^
    
  • warning: no-uri-literals

    URI literals are deprecated.
    Near pkgs/servers/mail/mailman/default.nix:32:13:

       |
    32 |       url = https://gitlab.com/mailman/mailman/-/commit/9613154f3c04fa2383fbf017031ef263c291418d.patch;
       |             ^
    
  • warning: no-python-tests

    Test runner could not discover any test cases: ‘Ran 0 tests in 0.000s’
    Near pkgs/servers/mail/mailman/default.nix:56:0:

       |
    56 |     description = "Free software for managing electronic mail discussion and newsletter lists";
       | ^
    
  • warning: unused-argument

    Unused argument: lazr_delegates.
    Near pkgs/servers/mail/mailman/default.nix:2:54:

      |
    2 | , flufl_bounce, flufl_i18n, flufl_lock, lazr_config, lazr_delegates, passlib
      |                                                      ^
    
  • warning: missing-patch-comment

    Please add a comment on the line above, explaining the purpose of this patch.
    Near pkgs/servers/mail/mailman/default.nix:31:5:

       |
    31 |     (fetchpatch {
       |     ^
    
  • warning: missing-patch-comment

    Please add a comment on the line above, explaining the purpose of this patch.
    Near pkgs/servers/mail/mailman/default.nix:35:5:

       |
    35 |     ./log-stderr.patch
       |     ^
    
  • warning: no-uri-literals

    URI literals are deprecated.
    Near pkgs/servers/mail/mailman/default.nix:28:13:

       |
    28 |       url = https://gitlab.com/mailman/mailman/-/commit/4b206e2a5267a0e17f345fd7b2d957122ba57566.patch;
       |             ^
    

Result of nixpkgs-review pr 118879 at bcf30d4 run on x86_64-linux 1

5 packages built successfully:
  • mailman
  • python38Packages.mailman
  • python38Packages.mailman-hyperkitty
  • python39Packages.mailman
  • python39Packages.mailman-hyperkitty
7 suggestions:
  • warning: missing-patch-comment

    Please add a comment on the line above, explaining the purpose of this patch.
    Near pkgs/servers/mail/mailman/default.nix:35:5:

       |
    35 |     ./log-stderr.patch
       |     ^
    
  • warning: missing-patch-comment

    Please add a comment on the line above, explaining the purpose of this patch.
    Near pkgs/servers/mail/mailman/default.nix:31:5:

       |
    31 |     (fetchpatch {
       |     ^
    
  • warning: no-python-tests

    Test runner could not discover any test cases: ‘Ran 0 tests in 0.000s’
    Near pkgs/servers/mail/mailman/default.nix:56:0:

       |
    56 |     description = "Free software for managing electronic mail discussion and newsletter lists";
       | ^
    
  • warning: no-uri-literals

    URI literals are deprecated.
    Near pkgs/servers/mail/mailman/default.nix:28:13:

       |
    28 |       url = https://gitlab.com/mailman/mailman/-/commit/4b206e2a5267a0e17f345fd7b2d957122ba57566.patch;
       |             ^
    
  • warning: no-uri-literals

    URI literals are deprecated.
    Near pkgs/servers/mail/mailman/default.nix:32:13:

       |
    32 |       url = https://gitlab.com/mailman/mailman/-/commit/9613154f3c04fa2383fbf017031ef263c291418d.patch;
       |             ^
    
  • warning: unused-argument

    Unused argument: lazr_delegates.
    Near pkgs/servers/mail/mailman/default.nix:2:54:

      |
    2 | , flufl_bounce, flufl_i18n, flufl_lock, lazr_config, lazr_delegates, passlib
      |                                                      ^
    
  • warning: missing-patch-comment

    Please add a comment on the line above, explaining the purpose of this patch.
    Near pkgs/servers/mail/mailman/default.nix:27:5:

       |
    27 |     (fetchpatch {
       |     ^
    

@Ma27

Ma27 commented Apr 9, 2021

Copy link
Copy Markdown
Member

@lheckemann are you sure the tests are properly executed? Since I get the following output while building:

python3.8-mailman> writing manifest file 'src/mailman.egg-info/SOURCES.txt'
python3.8-mailman> running build_ext
python3.8-mailman> ----------------------------------------------------------------------
python3.8-mailman> Ran 0 tests in 0.000s
python3.8-mailman> OK

@SuperSandro2000

Copy link
Copy Markdown
Member

ping @lheckemann

@lheckemann
lheckemann marked this pull request as draft September 28, 2021 17:02
@Artturin

Artturin commented Oct 21, 2021 •

Copy link
Copy Markdown
Member

will try enabling them in #142153

@Artturin Artturin closed this Oct 21, 2021
@lheckemann
lheckemann deleted the mailman-tests branch January 26, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants