Skip to content

Commit

Permalink
Update pluggy version pin (#3840)
Browse files Browse the repository at this point in the history
* Update pluggy version pin

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Fix tests

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

---------

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
  • Loading branch information
ankatiyar authored Apr 29, 2024
1 parent 5979635 commit a94d832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"more_itertools>=8.14.0",
"omegaconf>=2.1.1",
"parse>=1.19.0",
"pluggy>=1.0, <1.4.0",
"pluggy>=1.0",
"pre-commit-hooks",
"PyYAML>=4.2,<7.0",
"rich>=12.0,<14.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/cli/test_cli_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def fake_plugin_distribution(mocker):
version="0.1",
)
mocker.patch(
"pluggy._manager.importlib.metadata.distributions",
"importlib.metadata.distributions",
return_value=[fake_distribution],
)
return fake_distribution
Expand Down

0 comments on commit a94d832

Please sign in to comment.