github cjolowicz/cookiecutter-hypermodern-python 2020.10.15

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

Overview of Changes

This section highlights the main changes brought by this release.

  • Generate command-line documentation with sphinx-click (thanks @staticdev)

    There is a new Usage page in the Sphinx documentation of generated projects, describing commands, options, and arguments accepted by the command-line interface. This command-line reference is generated using the sphinx-click extension.

  • Combine coverage data on GitHub Actions (thanks @oncleben31)

    The Tests workflow on GitHub Actions now has a separate coverage job, which combines the coverage data from test runs on different Python versions and operating systems. Previously, the Tests workflow failed if an individual test run did not reach 100% coverage.

  • Integrate Nox and Poetry using nox-poetry

    Nox sessions now use nox-poetry to provide transparent integration with Poetry. Session can be defined in a standard, straightforward way, but use Poetry behind the scenes to build the package and pin dependencies. This removes much boilerplate from noxfile.py.

  • Support for Python 3.9

    The new major release of the Python programming language is now supported. All checks run on Python 3.9 as well as older supported versions of Python. The default Python version for Nox sessions was bumped from 3.8 to 3.9.

  • Support for Poetry 1.1

    The pyproject.toml and poetry.lock files were migrated to Poetry 1.1.
    💥 BREAKING CHANGE 💥 Poetry >= 1.1.0 is now required for development.

Some other important changes:

  • Allow generated projects to use main as the default repository branch.
  • Enable code highlighting in pytest tracebacks.
  • Include xdoctest in the default checks.

Read on for a complete list of changes.

Changes

This section lists changes affecting generated projects.

🚀 Features

🪲 Fixes

📦 Dependencies

Changes to the Cookiecutter

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

🚀 Features

📚 Documentation

📦 Dependencies

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

NewReleases is sending notifications on new releases.