Python v2021.11.0 Release Notes

Release Date: 2021-11-04 // over 2 years ago
  • ✨ Enhancements

    βœ… 1. Improve setting description for enabling A/B tests. (Thanks Thi Le) (#7793) βœ… 1. Support expectedFailure when running unittest tests using pytest. (#8427) πŸ‘ 1. Support environment variable substitution in python property for launch.json. (#12289) ⚑️ 1. Update homebrew instructions to install python 3. (thanks Carolinekung2 ) (#17590)

    πŸ›  Fixes

    βœ… 1. Reworded message for A/B testing in the output channel to "Experiment 'X' is active/inactive". (Thanks Vidushi Gupta for the contribution) (#6352)

    1. Change text to "Select at workspace level" instead of "Entire workspace" when selecting or clearing interpreters in a multiroot folder scenario. (Thanks Quynh Do) (#10737) πŸ“± 1. Fix unresponsive extension issues caused by discovery component. (#11924) 🚚 1. Remove duplicate 'Run Python file' commands in command palette. (#14562) 🏁 1. Change drive first before changing directory in windows, to anticipate running file outside working directory with different storage drive. (thanks afikrim) (#14730) πŸ‘ 1. Support installing Insiders extension in remote sessions. (#15145)
    2. If the executeInFileDir setting is enabled, always change to the script directory before running the script, even if the script is in the Workspace folder. (thanks (acash715)[https://github.com/acash715]) (#15181)
    3. replaceAll for replacing separators. (thanks Aliva Das) (#15288)
    4. When activating environment, creating new Integrated Terminal doesn't take selected workspace into account. (Thanks Vidushi Gupta for the contribution) (#15522)
    5. Fix truncated mypy errors by setting --no-pretty. (thanks Peter Lithammer) (#16836)
    6. Renamed the commands in the Run/Debug button of the editor title. (thanks (AnalΓ­a Bannura)[https://github.com/analiabs] and (Anna Arsentieva)[https://github.com/arsentieva]) (#17019) βœ… 1. Fix for pytest run all tests when using pytest.ini. (#17546) ⚑️ 1. Ensures test node is updated when unittest sub-tests are used. (#17561) ⚑️ 1. Update debugpy to 1.5.1 to ensure user-unhandled exception setting is false by default. (#17789) 🌐 1. Ensure we filter out unsupported features in web scenario using shellExecutionSupported context key. (#17811) 🚚 1. Remove python.condaPath from workspace scope. (#17819) ⚑️ 1. Make updateTestItemFromRawData async to prevent blocking the extension. (#17823)
    7. Semantic colorization can sometimes require reopening or scrolling of a file. (#17878)

    Code Health

    πŸ‘• 1. Remove TSLint comments since we use ESLint. (#4060) 🚚 1. Remove unused SHA512 hashing code. (#7333) πŸ“¦ 1. Remove unused packages. (#16840) 🚚 1. Remove old discovery code and discovery experiments. (#17795)

    1. Do not query for version and kind if it's not needed when reporting an issue. (#17815) 🚚 1. Remove Microsoft Python Language Server support from the extension. (#17834)
    2. Bump packaging from 21.0 to 21.2. (#17886)

    Thanks

    Thanks to the following projects which we fully rely on to provide some of our features:

    Also thanks to the various projects we provide integrations with which help πŸ‘‰ make this extension useful:

    And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!