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

refactor package_python_dist rule so most of the logic can be reused (Cherry-pick of #18701) #18703

Merged

Conversation

cognifloyd
Copy link
Member

In #18639, I have a change to allow pants to do editable installs of python_distributions for in exported-mutable virtualenvs of user code.

I need all of the dist chroot setup that happens in the package_python_dist rule, so I extracted everything that creates DistBuildRequest into a separate helper function.

I would like this light refactoring to end up in 2.16.x so that I can implement #18639 as a plugin for 2.16.x, while waiting for #18639 to be merged and then released in a 2.17.x version.

@cognifloyd cognifloyd added category:internal CI, fixes for not-yet-released features, etc. backend: Python Python backend-related issues labels Apr 7, 2023
@cognifloyd cognifloyd added this to the 2.16.x milestone Apr 7, 2023
@cognifloyd cognifloyd self-assigned this Apr 7, 2023
@cognifloyd cognifloyd merged commit c82dfc3 into pantsbuild:2.16.x Apr 8, 2023
@cognifloyd cognifloyd deleted the refactor-package_python_dist branch April 8, 2023 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Python Python backend-related issues category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants