2020.11.15
Overview of Changes
This section highlights the main changes brought by this release.
-
Manage GitHub labels using a YAML configuration file (thanks @oncleben31)
GitHub labels can now be managed using the
.github/labels.yml
configuration file, using the GitHub Labeler action. Labels are used, among other things, to categorize pull requests for the release notes. Thanks to the new Labeler workflow, it is no longer necessary to create GitHub labels manually after generating a project.
-
Support packages whose name does not match the project name (thanks @oncleben31)
By default, Poetry only includes packages if their name matches the configured project name. If a custom
package_name
is specified on project generation, the package must be listed explicitly in thepyproject.toml
file. This is now done automatically on project generation. -
Use standalone build backend for PEP 517 builds (thanks @paw-lu)
Generated projects now use the new standalone build backend introduced by Poetry 1.1. This greatly speeds up PEP 517 isolated builds, because they no longer need to install the full Poetry CLI to build the package.
Read on for a complete list of changes.
Changes
This section lists changes affecting generated projects.
🚀 Features
- Add GitHub Labeler Action to manage project labels automatically (#634) @oncleben31
- Support packages whose name does not match the project name (#631) @oncleben31
- Change to standalone build backend (PEP-517) (#638) @paw-lu
🪲 Fixes
📦 Dependencies
- Bump actions/cache from v2.1.2 to v2.1.3 (#668) @cjolowicz
- Bump codecov/codecov-action from v1.0.13 to v1.0.14 (#650) @cjolowicz
- Bump pip from 20.2.3 to 20.2.4 in /.github/workflows (#651) @cjolowicz
- Bump pre-commit from 2.7.1 to 2.8.2 (#658) @cjolowicz
- Bump pre-commit-hooks from 3.2.0 to 3.3.0 (#654) @cjolowicz
- Bump pygments from 2.7.1 to 2.7.2 (#656) @cjolowicz
- Bump pytest from 6.1.1 to 6.1.2 (#657) @cjolowicz
- Bump regex from 2020.6.8 to 2020.10.28 (#667) @cjolowicz
- Bump release-drafter/release-drafter from v5.11.0 to v5.12.1 (#653) @cjolowicz
- Bump reorder-python-imports from 2.3.5 to 2.3.6 (#663) @cjolowicz
- Bump sphinx from 3.2.1 to 3.3.0 (#664) @cjolowicz
- Bump sphinx from 3.2.1 to 3.3.0 in /docs (#659) @cjolowicz
- Bump sphinx from 3.3.0 to 3.3.1 (#671) @cjolowicz
- Bump sphinx from 3.3.0 to 3.3.1 in /docs (#670) @cjolowicz
- Bump virtualenv from 20.0.35 to 20.1.0 in /.github/workflows (#655) @cjolowicz
- Update actions/checkout requirement to v2.3.4 (#662) @cjolowicz
Changes to the Cookiecutter
This section lists changes to the Cookiecutter that don't affect generated projects.
🪲 Fixes
📚 Documentation
📦 Dependencies
- Bump actions/cache from v2.1.2 to v2.1.3 (#666) @dependabot
- Bump actions/checkout from v2.3.3 to v2.3.4 (#661) @dependabot
- Bump pip from 20.2.3 to 20.2.4 in /.github/workflows (#628) @dependabot
- Bump release-drafter/release-drafter from v5.11.0 to v5.12.0 (#630) @dependabot
- Bump release-drafter/release-drafter from v5.12.0 to v5.12.1 (#632) @dependabot
- Bump sphinx from 3.2.1 to 3.3.0 in /docs (#647) @dependabot
- Bump sphinx from 3.3.0 to 3.3.1 in /docs (#669) @dependabot
- Bump virtualenv from 20.0.34 to 20.0.35 in /.github/workflows (#627) @dependabot
- Bump virtualenv from 20.0.35 to 20.1.0 in /.github/workflows (#636) @dependabot
- Pin pre-commit to 2.8.2 in .github/workflows/constraints.txt (#660) @cjolowicz