Skip to content

Commit

Permalink
Fix broken interactive pytest --pdb sessions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Apr 8, 2023
1 parent 5374aee commit 03b2d14
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This version is not released yet and is under active development.
- Display all environment variables in `--show-params` output, including those auto-generated by the way of the `auto_envvar_prefix` context parameter.
- Allow hard-coded context defaults on `@extra_command`/`@extra_group` to be overriden by user.
- Fix rendering of GitHub-Flavored Markdown tables in canonical format.
- Fix broken interactive `pytest --pdb` sessions by temporarily relying on patched `boltons` dependency.

## {gh}`3.10.0 (2023-04-04) <compare/v3.9.0...v3.10.0>`

Expand Down
18 changes: 11 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ classifiers = [
# List of python versions and their support status:
# https://en.wikipedia.org/wiki/History_of_Python#Support
python = "^3.7"
boltons = "^23.0.0"
# XXX A leaky monkey-patching in boltons.ecoutils breaks PDB interactive sessions in pytest.
# A patch has been submitted upstream, but is not yet merged or released:
# https://github.com/mahmoud/boltons/issues/334
# https://github.com/mahmoud/boltons/pull/335
boltons = { git = "https://github.com/kdeldycke/boltons.git", branch = "fix-pprint.safe_repr-monkeypatching" }
click = "^8.1.1"
click-log = "^0.4.0"
cloup = "^2.0.0.post1"
Expand Down

0 comments on commit 03b2d14

Please sign in to comment.