Webinar: “Automating Build, Test and Release Workflows with tox” with Oliver Bestwalter

Python’s tox project is a critical tool for quality software production. Most of our users and customers know about it, but haven’t made the time to learn it.

This webinar’s for you. Oliver Bestwalter is one of the maintainers of tox, and as he discussed in a recent Test and Code interview, has many ideas on how to automate the build/release process.

  • Thursday, December 13
  • 4:00 PM – 5:00 PM CET (10:00 AM – 11:00 PM EST)
  • Register here
  • Aimed at intermediate Python developers

Webinar Bestwalter Register

Agenda

We will look at what is necessary to automate all important workflows involved in building, testing and releasing software using tox.

We’ll cover how to use tox to …

  • run static code analysis, automatic code formatting/fixing as a separate stage orchestrated by the pre-commit framework
  • run tests with pytest
  • measure and report test coverage
  • build and upload packages to pypi/devpi/artifactory

All this can be run and debugged locally from the command line or programmatically.

These building blocks can then form a complete build, test and release pipeline to be run on CI systems like Travis-CI, Gitlab, Jenkins, Teamcity, etc.

If time permits, we’ll also look at how projects like tox and pytest are automating their own processes.

Speaking to You

Oliver is an engineer at Avira who fell in love with open source in the 1990s and with Python in 2006. He creates and helps to maintain test and automation tools helping developers and companies to produce better software more effectively.

Since 2011 he has been a Software Developer at Avira, helping a diverse range of product teams to improve their build, test and release processes. He strives to be a good open source citizen by helping to maintain and improve projects in the area of testing and automation. As part of this effort he spends 20% of his time at Avira working on open source projects. He also enjoys accompanying others on their journey, helping them to improve their skills, and acts as a coach and mentor at Avira and with the Python Academy. When he gets the chance (and can rustle up the courage) he also talks at conferences and meetups.

In 2016 he joined the tox project and is now one of the maintainers. Since 2017 he has been spending up to 20% of his time at Avira working on tox and other open source projects.

-PyCharm Team-
The Drive to Develop

Posted in Webinar | Tagged | Leave a comment

PyCharm 2018.3 RC 2

We’re putting the final touches on PyCharm 2018.3 to prepare for our release. You can get our second release candidate from our website

Fixed in This Version

  • The “There is a plugin available” notification would open the wrong window
  • For some users, some UI elements weren’t visible
  • The Markdown preview window wouldn’t load images correctly
  • Read the release notes for details

Interested?

Download the RC from our website. Alternatively, you can use the JetBrains Toolbox App.

If you’re on Ubuntu 16.04 or later, you can use snap to get the PyCharm RC, and stay up to date. You can find the installation instructions on our website.

The release candidate is not an EAP version, this means that you will either need to have an active PyCharm license, or you’ll receive a 30 day free trial for PyCharm Professional Edition. The community edition is free and open source as usual.

Posted in Early Access Preview | Tagged | Leave a comment

PyCharm 2018.1.6 and 2017.3.7

We’ve fixed an issue in our custom Java Runtime Environment for older versions of PyCharm. If you’re using PyCharm 2017.3 or PyCharm 2018.1, please update to the new version.

Fixed in These Versions

Keyboard issues in macOS Mojave

After typing a special character by pressing and holding a key, the IDE would not accept any other input after inserting the special character. This has now been resolved.

To Update

Download the new version from our website, choose Help | Check for Updates in the IDE, or use JetBrains Toolbox to keep all of your JetBrains IDEs updated.

Posted in Release Announcements | Tagged | Leave a comment

PyCharm 2018.2.5

PyCharm 2018.3 is almost ready for release, however, first we’d like to release some important fixes for PyCharm 2018.2. You can update to 2018.2.5 now: either on our website, within PyCharm (Help | Check for Updates), or using JetBrains ToolBox.

New in 2018.2.5

  • An issue that causes PyCharm to crash on Ubuntu 16.04 has been resolved
  • Matplotlib 3.0.0 can now be imported in the Python Console
  • Python code now folds correctly after it’s minimized with Ctrl+Shift+Numpad – (Cmd+Shift+- on macOS)
  • And further fixes, see the release notes for more information

Interested?

Download PyCharm 2018.2.5

Posted in Release Announcements | Tagged | Leave a comment

PyCharm 2018.3 Release Candidate

PyCharm 2018.3 is almost ready to be released, and that’s why we’re happy to present the release candidate for PyCharm 2018.3. Download this version from our website

New in This Version

Multiline TODOs

Multiline Todos

If you like to put TODOs in your code to remember yourself (or your colleagues) to further improve a part of your code, you now have more space to do so. If you indent the line after the line with ‘TODO’ (or ‘FIXME’, or anything you configure in Settings | Editor | Todo) it’ll be treated as a continuation of the todo.

Further Improvements

  • Various Docker Compose fixes
  • An issue where PyCharm would freeze when using Ctrl-C in the Python console has been resolved
  • Debugging node.js code on WSL could in some cases result in an exception, this is now fixed
  • And more, read the release notes

Interested?

Download the RC from our website. Alternatively, you can use the JetBrains Toolbox App.

If you’re on Ubuntu 16.04 or later, you can use snap to get the PyCharm RC, and stay up to date. You can find the installation instructions on our website.

The release candidate is not an EAP version, this means that you will either need to have an active PyCharm license, or you’ll receive a 30 day free trial for PyCharm Professional Edition. The community edition is free and open source as usual.

Posted in Early Access Preview | Tagged | 3 Comments

PyCharm 2018.2.5 RC

We have a couple of fixes for PyCharm 2018.2 which you can now try in the 2018.2.5 Release Candidate.

New in 2018.2.5 RC

  • An issue that causes PyCharm to crash on Ubuntu 16.04 has been resolved
  • Matplotlib 3.0.0 can now be imported in the Python Console
  • Python code now folds correctly after it’s minimized with Ctrl+Shift+Numpad – (Cmd+Shift+- on macOS)
  • And further fixes, see the release notes for more information

Interested?

Download PyCharm 2018.2.5 RC from our confluence page.

The release candidate is not an Early Access Program (EAP) release, so you’ll either need a valid license, or you’ll have a 30-day free trial.

Posted in Early Access Preview | Tagged | Leave a comment

PyCharm 2018.3 EAP 9

We’ve entered the final phase of the Early Access Program (EAP) for PyCharm 2018.3, the ninth version is now available. Download this version from our website

New in This Version

Enhanced GitHub Integration

GitHub

We’ve included a couple of cool GitHub specific features in PyCharm. You can now update your fork of GitHub projects you contribute to right from PyCharm, then do some work, and create a pull request.

Do you maintain a project? You can now check out pull requests in PyCharm, and check out a branch to play with it right from the version control tools in your IDE.

Further Improvements

  • The Python 3.7 breakpoint() statement will now trigger the PyCharm debugger to break. Of course, you can still use regular breakpoints and prevent yourself from accidentally checking in a debugging statement.
  • A bug that caused Gtk to not have code completion has been resolved.
  • Sometimes when opening a task in PyCharm, the IDE would freeze for a long time, this has been resolved now. Did you know that PyCharm integrates with your issue tracker? Read more in our docs
  • And more, check out the release notes for more details

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

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.3 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.3 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.

Posted in Early Access Preview | Tagged | 5 Comments

PyCharm 2018.3 EAP 8

Our Early Access Preview (EAP) program continues, and the eighth preview version of PyCharm 2018.3 is now available. Download now from our website

New in This Version

Customizable SQL Aliases

Join Aliases

You may have seen that PyCharm Professional Edition automatically completes SQL join statements for you, and chooses aliases for your tables. You can now customize what aliases PyCharm uses for your tables in the settings.

If you haven’t tried using the database integration in PyCharm Professional Edition, be sure to check it out.

Further Improvements

  • We had a bug where the Python console would stop working when importing matplotlib 3.0.0, this has been resolved.
  • Copying a line into a JSON file will now automatically add a comma to the preceding line, if necessary. Editing HTML, JavaScript, and JSON are included in PyCharm Professional Edition only. PyCharm Professional Edition bundles all functionality from WebStorm, our JavaScript IDE.
  • An issue that would cause Docker Compose-based Python interpreters to stop working when updating PyCharm has been resolved.
  • Did you read about the new copyright feature last week, and are you interested in reading more about it? We’ve updated the documentation
  • And much more, check out our release notes

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

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.3 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.3 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.

Posted in Early Access Preview | Tagged | Leave a comment

PyCharm 2018.3 EAP 7

PyCharm 2018.3 EAP 7 is out! Get it now from the JetBrains website.

In this EAP we have introduced a host of new features as well as fixed bugs for various subsystems.

Read the Release Notes

New in This Version

WSL Support

py_wsl_interpreter

We have some great news for Windows users, PyCharm now supports Windows Subsystem for Linux (WSL). With support for WSL, you can select a WSL-based Python interpreter in PyCharm’s project interpreter settings and then run and debug your project or perform any other actions as if you had a local interpreter setup. There’s only one exception – you won’t be able to create virtual environments with WSL-based interpreters. All packages have to be installed on the corresponding WSL system interpreter. Before trying this new type of Python interpreter in PyCharm, please make sure you have properly installed WSL.

Read more about WSL support in the PyCharm Documentation.

Structure of ‘from’ Imports

Selection_247

The new “Structure of ‘from’ imports” set of style options is available under Settings(Preferences) | Editor | Code Style | Python. Using these options you can control the code style for imports by choosing between joining imports into one line and splitting imports by placing each of them on a new line when performing imports optimizations (Ctrl(Cmd)+Alt+O).

Read more about the other code style options available.

Support for Python Stub Files and PEP-561

PyCharm has been supporting Python stub files (.pyi) for a while. These files let you specify type hints using Python 3 syntax for both Python 2 and 3. PyCharm shows an asterisk in the left-hand gutter for those code elements that have stubs. Clicking the asterisk results in jumping to the corresponding stub:

elements with stubs

With the PEP-561 support introduced in this PyCharm 2018.3 EAP build, you can install stubs as packages for a Python 3.7 interpreter:

py_install_stub_package

Read more about the Python stub files support in the PyCharm Documentation.

Time Tracking

Selection_243

With the PyCharm’s built-in Time Tracking plugin, you can track the amount of time you spend on a task when working in the editor. To enable this feature go to Settings/Preferences | Tools | Tasks | Time Tracking, and select the Enable Time Tracking checkbox. Once enabled, you can start using the tool to track and record your productivity:

Read more about the Time Tracking tool in the PyCharm documentation.

Copyright Notices in Project Files

Inserting copyright notices in the project files can be daunting. PyCharm makes it easier with its new “Copyright”-related set of settings and features. Set different copyright profiles along with the project scopes that they apply to in Settings (Preferences) | Copyright. After you have your copyright profiles in place, simply generate copyright notices by simply pressing Alt + Insert anywhere in a file:

Selection_246

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to keep up to date with the latest releases throughout the entire EAP.

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.3 is in constant 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.3 is pre-release software, it is worth noting that 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 up to 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.

 

Posted in Early Access Preview | Leave a comment

Support framework of a strong relationship. 30% off PyCharm and 100% to Django

In summer 2017, JetBrains PyCharm partnered with the Django Software Foundation for the second year in a row to generate a big boost to the Django fundraising campaign. The campaign was a huge success. We raised a total of $66,094 USD for the Django Software Foundation!

This year we really hope to repeat this success of the previous year. For the next three weeks, buy a new individual license for PyCharm Professional Edition at 30% OFF, and all the money raised will go to the DSF’s general fundraising and the Django Fellowship program.

Promotion details

Up until November 1, you can effectively donate to Django by purchasing a New Individual PyCharm Professional annual subscription at 30% off. It’s very simple:

1. When buying a new annual PyCharm subscription in our e-store, on the checkout page, сlick “Have a discount code?”.

2. Enter the following 30% discount promo code:  

ISUPPORTDJANGO 

3. Fill in the other required fields on the page and click the “Place order” button.

Alternatively, just click this shortcut link to go to the e-store with the code automatically applied

All of the income from this promotion code will go to the DSF fundraising campaign 2018 – not just the profits, but actually the entire sales amount including taxes, transaction fees – everything. The campaign will help the DSF to maintain the healthy state of the Django project and help them continue contributing to their different outreach and diversity programs.

Read more details on the special promotion page.

“Django has grown to be a world-class web framework, and coupled with PyCharm’s Django support, we can give tremendous developer productivity,” says Frank Wiles, DSF President. “Last year JetBrains was a great partner for us in support of raising money for the Django Software Foundation, on behalf of the community, I would like to extend our deepest thanks for their generous help. Together we hope to make this a yearly event!”

If you have any questions, get in touch with Django at fundraising@djangoproject.com or JetBrains at sales@jetbrains.com.

Posted in Sales and Promotions | Tagged , , | Leave a comment