Skip to content

print a future warning that poetry-plugin-export will not be installed by default anymore#8562

Merged
radoering merged 1 commit into
python-poetry:masterfrom
radoering:export-deprecation
Oct 28, 2023
Merged

print a future warning that poetry-plugin-export will not be installed by default anymore#8562
radoering merged 1 commit into
python-poetry:masterfrom
radoering:export-deprecation

Conversation

@radoering

@radoering radoering commented Oct 20, 2023

Copy link
Copy Markdown
Member

Pull Request Check List

Related-to: #5980, #6441, python-poetry/poetry-plugin-export#240

  • Added tests for changed code.
  • Updated documentation for changed code.

Since I don't see a more elegant solution to proceed with #5980 in the near future, maybe just do it the simple way:
Print a warning for, let's say, 3 minor versions and then just remove the dependency.

With this PR the following deprecation warning will be printed as soon as poetry export is run:

Warning: poetry-plugin-export will not be installed by default in the future.
In order to avoid a breaking change and make your automation forward-compatible, please install poetry-plugin-export explicitly. See https://python-poetry.org/docs/plugins/#using-plugins for details on how to install a plugin.
To disable this warning run 'poetry config warnings.export false'.

@radoering radoering added the impact/docs Contains or requires documentation changes label Oct 20, 2023
@github-actions

github-actions Bot commented Oct 20, 2023

Copy link
Copy Markdown

Deploy preview for website ready!

✅ Preview
https://website-67hvdgmzt-python-poetry.vercel.app

Built with commit 69e9af5.
This pull request is being automatically deployed with vercel-action

@radoering radoering force-pushed the export-deprecation branch 2 times, most recently from 0f5f103 to 6261e37 Compare October 20, 2023 16:51
…d by default anymore and update docs accordingly
@github-actions

github-actions Bot commented Mar 3, 2024

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 3, 2024
@radoering radoering deleted the export-deprecation branch November 24, 2024 12:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

impact/docs Contains or requires documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants