Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates prompt-toolkit from 3.0.7 to 3.0.14.

Changelog

3.0.14

------------------

New features:
- Disable bell when `PROMPT_TOOLKIT_BELL=false` environment variable has been
set.

Fixes:
- Improve cancellation of history loading.

3.0.13

------------------

Fixes:
- Again, fixed the race condition in `ThreadedHistory`. Previous fix was not
correct.

3.0.12

------------------

New features:
- Expose a `get_ptpython` function in the global namespace, to get programmatic
access to the REPL.
- Expose `embed()` at the top level of the package. Make it possible to do
`from ptpython import embed`.

Fixes:
- Properly handle exceptions when trying to access `__pt_repr__`.
- Properly handle `SystemExit`.

3.0.11

------------------

New features:
- Add support for top-level await.
- Refactoring of event loop usage:

* The ptpython input UI will now run in a separate thread. This makes it
 possible to properly embed ptpython in an asyncio application, without
 having to deal with nested event loops (which asyncio does not support).

* The "eval" part doesn't anymore take place within a ptpython coroutine, so
 it can spawn its own loop if needed. This also fixes `asyncio.run()` usage
 in the REPL, which was broken before.

- Added syntax highlighting and autocompletion for !-style system commands.

Fixes:
- Remove unexpected additional line after output.
- Fix system prompt. Accept !-style inputs again.
- Don't execute PYTHONSTARTUP when -i flag was given.

3.0.10

------------------

Fixes:
- Do dictionary completion on Sequence and Mapping objects (from
collections.abc). Note that dictionary completion is still turned off by
default.

3.0.9

-----------------

New features:
- Allow replacing `PythonInput.completer` at runtime (useful for tools build on
top of ptpython).
- Show REPL title in pager.

3.0.8

-----------------

New features:
- Optional output formatting using Black.
- Optional pager for displaying outputs that don't fit on the screen.
- Added --light-bg and --dark-bg flags to automatically optimize the brightness
of the colors according to the terminal background.
- Addd `PTPYTHON_CONFIG_HOME` for explicitely setting the config directory.
- Show completion suffixes (like '(' for functions).

Fixes:
- Fix dictionary completion on Pandas objects.
- Stop using deprecated Jedi functions.
Links

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@e9e3ed0). Click here to learn what that means.
The diff coverage is 97.39%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1544   +/-   ##
=========================================
  Coverage          ?   83.99%           
=========================================
  Files             ?       48           
  Lines             ?      681           
  Branches          ?        0           
=========================================
  Hits              ?      572           
  Misses            ?      109           
  Partials          ?        0           
Impacted Files Coverage Δ
pypro/modulos/apps.py 0.00% <0.00%> (ø)
pypro/turmas/apps.py 0.00% <0.00%> (ø)
pypro/urls.py 71.42% <ø> (ø)
pypro/modulos/migrations/0003_populando_slug.py 80.00% <80.00%> (ø)
pypro/settings.py 65.21% <90.00%> (ø)
pypro/aperitivos/models.py 90.90% <90.90%> (ø)
pypro/modulos/models.py 92.30% <92.30%> (ø)
pypro/aperitivos/admin.py 100.00% <100.00%> (ø)
pypro/aperitivos/migrations/0001_initial.py 100.00% <100.00%> (ø)
...o/aperitivos/migrations/0002_auto_20190910_0940.py 100.00% <100.00%> (ø)
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e9e3ed0...c2725fb. Read the comment docs.

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #1572

@pyup-bot pyup-bot closed this Feb 11, 2021
@renzon renzon deleted the pyup-update-prompt-toolkit-3.0.7-to-3.0.14 branch February 11, 2021 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants