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

move export code into export plugin #6128

Merged

Conversation

radoering
Copy link
Member

follow up of python-poetry/poetry-plugin-export#94

Requires a release of poetry-plugin-export with the mentioned change

@radoering radoering force-pushed the move-code-to-poetry-plugin-export branch from 3f1d53b to ab53b9b Compare August 8, 2022 19:35
@radoering radoering requested a review from a team August 8, 2022 20:03
@radoering radoering force-pushed the move-code-to-poetry-plugin-export branch from ab53b9b to d8a63c7 Compare August 13, 2022 17:59

return nested_dependencies.items()

def get_project_dependency_packages(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A quick GitHub search shows that this is at least used by one popular project: https://github.com/cloud-custodian/cloud-custodian/blob/318f2b4b1c81b4ffae3474c92038ad328ce00dab/tools/dev/poetrypkg.py#L221-L223.
Not that this holds us from removing this method, but we should probably mention this removal in 1.2 release notes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I agree we should mention that the functionality has been moved to poetry-plugin-export.

I was just thinking about whether we should deprecate the methods and call the functions in the plugin but I don't think that's necessary since we moved the complete export code between 1.1 and 1.2 so that can't be imported as before either. Further, calling export code here is counterproductive for disentangling poetry and poetry-plugin-export. Thus, a notice in the changelog must suffice.

@radoering radoering merged commit 7bb0a87 into python-poetry:master Aug 15, 2022
Copy link

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 Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants