Skip to content

2020.6.15

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Jun 04:32
6b7c5bd

Overview of Changes

Here is an overview of the main changes brought by this release:

  • New release workflow

    Releases are now triggered by a version bump on the master branch. The suggested method is to invoke poetry version and open a PR. When the PR is merged, the package is uploaded to PyPI and a GitHub Release is published. (Previously, releases were triggered by publishing a GitHub Release with a tag name matching the version set by poetry version.)

  • Unified GitHub Action workflows

    The GitHub Actions workflows have been reworked. There are now only two workflows: Tests and Release. The Tests workflow runs each Nox session in a separate job on the targeted Python version and operating system. The Docs and Coverage workflows have been merged into the Tests workflow.

  • Dedicated coverage session

    Coverage is now reported in a dedicated Nox session. The session produces a single combined coverage report for all Python versions. The session is triggered by test runs, but can also be run stand-alone and accepts custom options (for example, this is used to generate an XML coverage report for Codecov in CI). The pytest-cov plugin has been removed.

Changes

This section lists changes affecting generated projects.

πŸš€ Features

πŸ”₯ Removals and Deprecations

πŸͺ² Fixes

  • Include Python 3.6 classifier in package metadata (#362) @cjolowicz
  • Remove */site-packages path prefix from coverage report (#314) @cjolowicz
  • CI: Only run the targeted Python version in each CI job (#322) @cjolowicz
  • CI: Do not restore pre-commit cache in non-pre-commit jobs (#313) @cjolowicz

πŸ”¨ Refactoring

πŸ“š Documentation

  • Fix leading blank line in README and API reference (#378) @cjolowicz

πŸ“¦ Dependencies

Changes to the Cookiecutter

This section lists changes to the Cookiecutter that don't affect generated projects.

πŸ“š Documentation

πŸ”¨ Refactoring

πŸ“¦ Dependencies