Changes
This release brings a major API redesign: nox-poetry now ships its own `session` decorator. Decorate your session functions with it, and `session.install` will use Poetry's lock file to pin dependencies. Thanks brechtm for the initial idea!
This release deprecates the following functions and modules:
| Deprecation | Replacement |
| --- | --- |
| module `patch` | `session` |
| function `install` | `session.install` |
| function `installroot` | `session.poetry.installroot` |
| function `build_package` | `session.poetry.build_package` |
| function `export_requirements` | `session.poetry.export_requirements` |
Read on for a complete list of changes.
:rocket: Features
* Add nox.session drop-in replacement (259) cjolowicz
* Use wheel as default for installroot and build_package (265) cjolowicz
* Allow distribution format to be specified as a string (261) cjolowicz
:fire: Removals and Deprecations
* Deprecate functions from core module (262) cjolowicz
:construction_worker: Continuous Integration
* Ignore CVE-2020-28476 affecting all versions of tornado (257) cjolowicz
:books: Documentation
* Use intersphinx for links to pip and Nox docs (267) cjolowicz
* docs: Invoke Nox inside the Poetry environment for testing (264) cjolowicz
:hammer: Refactoring
* Omit SHA256 hash for the locally built package (260) cjolowicz
:package: Dependencies
* Bump actions/cache from v2.1.3 to v2.1.4 (263) dependabot
* Bump coverage from 5.3.1 to 5.4 (247) dependabot
* Bump darglint from 1.5.8 to 1.6.0 (253) dependabot
* Bump mypy from 0.790 to 0.800 (245) dependabot
* Bump pip from 20.3.3 to 21.0 in /.github/workflows (244) dependabot
* Bump pip from 21.0 to 21.0.1 in /.github/workflows (255) dependabot
* Bump poetry from 1.1.2 to 1.1.4 in /.github/workflows (148) dependabot
* Bump pre-commit from 2.9.3 to 2.10.0 (252) dependabot
* Bump pytest from 6.2.1 to 6.2.2 (246) dependabot
* Bump safety from 1.10.2.post1 to 1.10.3 (240) dependabot
* Bump tornado from 6.0.4 to 6.1 (256) cjolowicz
* Bump typeguard from 2.9.1 to 2.10.0 (142) dependabot
* Bump virtualenv from 20.3.1 to 20.4.0 in /.github/workflows (241) dependabot
* Bump virtualenv from 20.4.0 to 20.4.2 in /.github/workflows (258) dependabot
* Bump xdoctest from 0.15.0 to 0.15.4 (251) dependabot