Python v2019.3.6139 Release Notes
Release Date: 2019-03-26 // about 5 years ago-
โจ Enhancements
๐ฆ 1. Add support for poetry to install packages. (#1871)
- Disabled opening the output pane when sorting imports via isort fails. (thanks chrised) (#2522) ๐ 1. Remove run all cells codelens and replace with run above and run below commands Add run to and from line commands in context menu (#4259) โ 1. Support multi-root workspaces in test explorer. (#4268) ๐ 1. Added support for fetching variable values from the jupyter server (#4291) ๐ 1. Added commands translation for polish locale. (thanks pypros) (#4435) โ 1. Show sub-tests in a subtree in the test explorer. (#4503) ๐ 1. Add support for palette commands for Live Share scenarios. (#4520) โ 1. Retain state of tests when auto discovering tests. (#4576) โก๏ธ 1. Update icons and tooltip in test explorer indicating status of test files/suites (#4583)
- Add 'ignoreVscodeTheme' setting to allow a user to skip using the theme for VS Code in the Python Interactive Window. (#4640)
- Add telemetry around imports. (#4718) โก๏ธ 1. Update status of test suite when all tests pass (#4727) ๐ 1. Add button to ignore the message warning about the use of the macOS system install of Python. (thanks Alina Lobastova) (#4448)
- Add "Run In Interactive" command to run the contents of a file not cell by cell. Group data science context commands in one group. Add run file command to explorer context menu. (#4855)
๐ Fixes
0๏ธโฃ 1. Add 'errorBackgroundColor' (defaults to white/#FFFFFF) for errors in the Interactive Window. Computes foreground based on background. (#3175) ๐ 1. If selection is being sent to the Interactive Windows still allow for context menu commands to run selection in terminal or run file in terminal (#4207) ๐ 1. Support multiline comments for markdown cells (#4215)
- Conda activation fails when there is a space in the env name (#4243) โ 1. Fixes to ensure tests work in multi-root workspaces. (#4268)
- Allow Interactive Window to run commands as both
-m jupyter command
and as-m command
(#4306) - Fix shift enter to send selection when cells are defined. (#4413) โ 1. Test explorer icon should be hidden when tests are disabled (#4494)
- Fix double running of cells with the context menu (#4532) โ 1. Show an "unknown" icon when test status is unknown. (#4578)
- Add sys info when switching interpreters (#4588) โ 1. Display test explorer when discovery has been run. (#4590)
- Resolve
pythonPath
before comparing it to shebang (#4601) - When sending selection to the Interactive Window nothing selected should send the entire line (#4604)
- Provide telemetry for when we show the shift+enter banner and if the user clicks yes (#4636) ๐ 1. Better error message when connecting to remote server (#4666)
- Fix problem with restart never finishing (#4691) โ 1. Fixes to ensure we invoke the right command when running a parameterized test function. (#4713)
- Handle view state changes for the Python Interactive window so that it gains focus when appropriate. (CTRL+1/2/3 etc should give focus to the interactive window) (#4733)
- Don't have "run all above" on first cell and don't start history for empty code runs (#4743)
- Perform case insensitive comparison of Python Environment paths (#4797)
- Ensure
Jedi
uses the currently selected interpreter. (thanks Selim Belhaouane) (#4687) - Multiline comments with text on the first line break Python Interactive window execution. (#4791)
- Fix status bar when using Live Share or just starting the Python Interactive window. (#4853)
- Change the names of our "Run All Cells Above" and "Run Cell and All Below" commands to be more concise (#4876)
- Ensure the
Python
output panel does not steal focus when there errors in theLanguage Server
. (#4868) ๐ 1. Update ptvsd to 4.2.5. (#4932)- Fix issues with django and jinja2 exceptions.
- Detaching sometimes throws ValueError.
- StackTrace request respecting just-my-code.
- Don't give error redirecting output with pythonw.
- Fix for stop on entry issue. โก๏ธ 1. Update the Python language server to 0.2.31.
Code Health
โ 1. Add a Python script to run PyTest correctly for discovery. (#4033)
- Ensure post npm install scripts do not fail when run more than once.
(#4109)
๐ 1. Improve Azure DevOps pipeline for PR validation. Added speed improvements, documented the process better, and simplified what happens in PR validation.
(#4123)
๐ 1. Move to new Azure DevOps instance and bring the Nightly CI build closer to running cleanly by skipping tests and improving reporting transparency.
(#4336)
๐ฒ 1. Add more logging to diagnose issues getting the Python Interactive window to show up.
Add checks for Conda activation never finishing.
(#4424)
โก๏ธ 1. Update
nyc
and removegulp-watch
andgulp-debounced-watch
. (#4490) ๐ 1. Force WS to at least 3.3.1 to alleviate security concerns. (#4497) โ 1. Add tests for Live Share support. (#4521) ๐ 1. Fix running Live Share support in a release build. (#4529) - Delete the
pvsc-dev-ext.py
file as it was not being properly maintained. (#4530) โ 1. Increase timeouts for loading of extension when preparing to run tests. (#4540) โ 1. Exclude filestravis*.log
,pythonFiles/tests/**
,types/**
from the extension. (#4554) - Exclude
*.vsix
from source control. (#4556) ๐ฒ 1. Add more logging for ECONNREFUSED errors and Jupyter server crashes (#4573) - Add travis task to verify bundle can be created. (#4711) โ 1. Add manual test plan for data science (#4716) โ 1. Fix Live Share nightly functional tests (#4757) โ 1. Make cancel test and server cache test more robust (#4818) โ 1. Generalize code used to parse Test results service (#4796)
Thanks
Thanks to the following projects which we fully rely on to provide some of our features:
- isort 4.3.4
- jedi 0.12.0 and parso 0.2.1
- Microsoft Python Language Server
- ptvsd
- exuberant ctags (user-installed)
- rope (user-installed)
Also thanks to the various projects we provide integrations with which help ๐ make this extension useful:
- ๐ Debugging support: Django, Flask, gevent, Jinja, Pyramid, PySpark, Scrapy, Watson
- Formatting: autopep8, black, yapf
- ๐ Interpreter support: conda, direnv, pipenv, pyenv, venv, virtualenv
- ๐ Linting: bandit, flake8, mypy, prospector, pylint, pydocstyle, pylama
- โ Testing: nose, pytest, unittest
And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!