Skip to content

Conversation

@dotlambda
Copy link
Member

Diff: pallets/click@8.2.1...8.3.1

Changelog: https://github.com/pallets/click/blob/8.3.1/CHANGES.rst

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. labels Oct 22, 2025
@nixpkgs-ci nixpkgs-ci bot added 9.needs: reviewer This PR currently has no reviewers requested and needs attention. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Oct 22, 2025
@github-project-automation github-project-automation bot moved this from In progress to Done in Python batch upgrade Oct 22, 2025
@github-project-automation github-project-automation bot moved this from Done to In progress in Python batch upgrade Oct 22, 2025
@wolfgangwalther
Copy link
Contributor

For everyone pinged here without reason: These accidental pings happened for maintainers of packages with broken meta.position, when their package was rebuilt on staging without actually touching the file. These pings are now fixed as of #454648.

@dotlambda
Copy link
Member Author

dotlambda commented Oct 23, 2025

This seems to break python3Packages.flask:

=========================== short test summary info ============================
FAILED tests/test_cli.py::test_run_cert_path - Failed: DID NOT RAISE <class 'click.exceptions.BadParameter'>
FAILED tests/test_cli.py::test_run_exclude_patterns - click.exceptions.BadParameter: Required when using "--cert".
=================== 2 failed, 486 passed, 2 skipped in 2.19s ===================

See pallets/flask#5836

@dotlambda dotlambda removed the request for review from ShamrockLee October 23, 2025 16:53
fabianhjr
fabianhjr previously approved these changes Oct 29, 2025
@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in Python batch upgrade Oct 29, 2025
Copy link
Member

@fabianhjr fabianhjr left a comment

Choose a reason for hiding this comment

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

pallets/click#3109 (comment)

Maybe go for 8.3.0?

@fabianhjr fabianhjr dismissed their stale review October 29, 2025 06:42

Retracting approval due to breakage documented by dotlambda

@dotlambda
Copy link
Member Author

Maybe go for 8.3.0?

That would cause pimutils/todoman#596

@iedame
Copy link
Contributor

iedame commented Nov 4, 2025

Click 8.2.1 broke tests on some packages, reference: pallets/click#2939
Subscribing to check affected packages again after an update is merged.

@dotlambda
Copy link
Member Author

Click 8.2.1 broke tests on some packages, reference: pallets/click#2939

Should we add a patch for that to click?

@iedame
Copy link
Contributor

iedame commented Nov 4, 2025

Click 8.2.1 broke tests on some packages, reference: pallets/click#2939

Should we add a patch for that to click?

It was fixed upstream but if 8.3.x update will take a while, it might help fix some of those failures.

One I checked already excluded Click 8.2.1 in latest update so it is failing due to that restriction.

It will need a patch too if click is not updated.

@dotlambda
Copy link
Member Author

@iedame Feel free to open a PR.

@dotlambda dotlambda force-pushed the python3Packages.click branch from 1c2c8e9 to 3cf5886 Compare November 15, 2025 20:58
@dotlambda dotlambda marked this pull request as ready for review November 15, 2025 20:59
Copy link
Member

@thunze thunze left a comment

Choose a reason for hiding this comment

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

Confirmed that click and all passthru.tests of click now build for both Python 3.12 and 3.13, including flask, but excluding mitmproxy which fails due to an unsatisfied version constraint on the brotli Python package (i.e., unrelated).

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 16, 2025
@dotlambda dotlambda added this pull request to the merge queue Nov 16, 2025
@dotlambda
Copy link
Member Author

excluding mitmproxy which fails due to an unsatisfied version constraint on the brotli Python package

fixed in #462265

Merged via the queue into NixOS:staging with commit ad87c47 Nov 16, 2025
28 of 31 checks passed
@dotlambda dotlambda deleted the python3Packages.click branch November 16, 2025 15:30
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in Python batch upgrade Nov 16, 2025
@dotlambda
Copy link
Member Author

dotlambda commented Nov 21, 2025

It looks like this broke mkdocs:

======================================================================
FAIL: test_serve_default (tests.cli_tests.CLITests.test_serve_default)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/lib/python3.13/unittest/mock.py", line 1426, in patched
    return func(*newargs, **newkeywargs)
  File "/build/source/mkdocs/tests/cli_tests.py", line 22, in test_serve_default
    mock_serve.assert_called_once_with(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        dev_addr=None,
        ^^^^^^^^^^^^^^
    ...<8 lines>...
        watch=(),
        ^^^^^^^^^
    )
    ^
  File "/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/lib/python3.13/unittest/mock.py", line 244, in assert_called_once_with
    return mock.assert_called_once_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/lib/python3.13/unittest/mock.py", line 991, in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/nix/store/3lll9y925zz9393sa59h653xik66srjb-python3-3.13.9/lib/python3.13/unittest/mock.py", line 979, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: expected call not found.
Expected: serve(dev_addr=None, open_in_browser=False, livereload=True, build_type=None, config_file=None, strict=None, theme=None, use_directory_urls=None, watch_theme=False, watch=())
  Actual: serve(dev_addr=None, open_in_browser=False, livereload=False, build_type=None, watch_theme=False, watch=(), config_file=None, strict=None, theme=None, use_directory_urls=None)

Maybe mkdocs/mkdocs#4032 is related?
Note that pallets/click#3152 does not fix this.
cc @rkoe

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. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

Development

Successfully merging this pull request may close these issues.

5 participants