github cjolowicz/cookiecutter-hypermodern-python 2020.6.15

latest releases: 2022.6.3.post1, 2022.6.3, 2021.11.26...
3 years ago

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

Don't miss a new cookiecutter-hypermodern-python release

NewReleases is sending notifications on new releases.