Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated functions and modules #737

Merged
merged 10 commits into from
May 17, 2022
Merged

Conversation

cjolowicz
Copy link
Owner

@cjolowicz cjolowicz commented May 17, 2022

Remove deprecated global functions:

  • export_requirements
  • build_package
  • patch
  • install
  • installroot

Remove deprecated modules:

  • core
  • patch

These functions and modules have been deprecated since version 0.8.0 (2021-02-05).

Use the @nox_poetry.session decorator instead.

The functionality provided by the deprecated functions remains accessible via the session.poetry attribute, with the exception of patch. Patching via importing nox_poetry.patch is also no longer supported.

Removal 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

@cjolowicz cjolowicz added the removal Removals and Deprecations label May 17, 2022
@cjolowicz cjolowicz changed the title Remove deprecated global functions (install, installroot, export_requirements, build_package, patch) Remove deprecated global functions and modules May 17, 2022
@cjolowicz cjolowicz changed the title Remove deprecated global functions and modules Remove deprecated functions and modules May 17, 2022
@cjolowicz cjolowicz merged commit c9b89d1 into main May 17, 2022
@cjolowicz cjolowicz deleted the feat/remove-deprecated branch May 17, 2022 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
removal Removals and Deprecations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant