In this EAP release we looked into improvements for Docker and further enabling WSL support.

A new build is available from our website, via the Toolbox App, or as a snap package (if you are using Ubuntu). If you are on macOS, there is a separate build for Apple Silicon (M1 chip). 

Important: EAP builds are not fully tested and might be unstable.

Improvements for Docker

Upload local Docker image to other connections

You can now copy images from one Docker daemon to another using the new Copy Docker Image action. It saves the image to a file and then pushes it to the chosen connection.

Docker auto-connection at IDE restart

PyCharm now automatically connects to Docker when you restart the IDE. This new setting is enabled by default in Preferences / Settings | Advanced Settings | Docker.

Docker connection options for different Docker daemons

As of v.2022.2, PyCharm integrates with Colima and Rancher to support more options for establishing connections to the Docker daemon.

Updates for the HTTP client

Support for WebSocket endpoints

PyCharm 2022.2 supports WebSocket connections, which allows you to create requests as well as send and receive messages.

Support for GraphQL endpoints

With the 2022.2 release, we’ve also introduced support for GraphQL requests in the HTTP client. PyCharm can now send GraphQL queries over HTTP and WebSocket protocols. For http:// and https:// simple HTTP requests are used, while ws:// and wss:// are delegated to the WebSocket executor.

WSL support

We’re continuing to work on improving WSL support. In this EAP we fixed the ability to use Docker-based interpreters for projects inside WSL. Give it a try for run / debug jobs and share your experience with us. If you are not sure how to create an interpreter using Docker with PyCharm, you can read the guide on the dedicated Help page. Also for those using IntelliJ IDEA with the Python plugin, we fixed skeleton generation for the WSL interpreter.

Notable bug fixes:

For M1 (Apple Silicon), PyCharm now provides prebuilt Cython speedups which makes the debugger experience faster and eliminates annoying popups that suggest downloading speedups [PY-46655].PyCharm now recognizes indirect fixtures of pytest and provides correct warnings [PY-36334].We added a fix for multiprocess debugging when a subprocess is called with a PathLike object as a parameter [PY-48506].For the Call Graph display in the Profiller, we disabled the default grid view to provide a clearer display of the graphs [PY-50701].

To see the full list of improvements, check out the release notes. We are looking forward to hearing your feedback in comments, on Twitter, or using our issue tracker.

Categories: Python