Skip to content

Comments

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

Merged
radoering merged 1 commit intopython-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 intopython-poetry:masterfrom
radoering:export-deprecation

Conversation

@radoering
Copy link
Member

@radoering radoering commented Oct 20, 2023

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
Copy link

github-actions bot commented Oct 20, 2023

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
Copy link

github-actions bot commented Mar 3, 2024

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