PyCharm 2018.2 EAP 3
The third Early Access Program (EAP) version of PyCharm 2018.2 is now available. We’d like to invite you to download this version from our website.
New in PyCharm 2018.2 EAP 3
pytest fixtures support
With pytest fixtures you can create small test units which can be reused across the testing module simply by adding the @pytest.fixture decorator to them. In this EAP we introduce pytest fixtures support, including:
- pytest fixture names autocompletion
- support for pytest fixtures with the “name” parameter
- pytest.mark.parametrize supporting tuples for fixtures names
- and more
Try pytest fixtures support in this fresh EAP build and let us know if there’s something else we could improve. Create your feature requests and bugs in our public issue tracker.
attrs library support
attrs is the Python package that brings back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).
PyCharm 2018.2 supports attrs providing correct autocompletion and error checking for classes defined with the @attr decorator. There is a number of features related to attrs support which are not implemented yet, but we’re committed to finish their implementation by the 2018.2 release date.
On-demand evaluation in Debugger and Python console
We’ve added a new option that prevents automatic evaluation of variables during debug sessions. This option is especially useful if some of your variables take time to be evaluated and you don’t need values for all the variables you have in your project.
If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.
PyCharm 2018.2 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.2 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.
All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.