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

Mark all Python tools as exportable #20787

Merged
merged 5 commits into from May 22, 2024

Conversation

lilatomic
Copy link
Contributor

Following to #20730 , this MR flags all Python tools as exportable. It omits some internal tools (for example, parsers for dependency inference).

I think there's a risk that someone tries to export a Python-based tool without activating the Python backend. I also want to look into a few instances where some lockfile rules are registered and see if those registrations are still necessary.

@lilatomic lilatomic added category:new feature backend: Python Python backend-related issues labels Apr 13, 2024
@huonw
Copy link
Contributor

huonw commented May 8, 2024

When you have a chance, please merge main (or rebase onto it) and add some release notes to docs/notes/2.22.x.md. See #20888 for more info.

Also, other than that, is this waiting on anything other than hitting the merge button?

@lilatomic lilatomic force-pushed the feature/export-python-tools branch from 70d14d6 to fad1073 Compare May 18, 2024 17:33
@lilatomic
Copy link
Contributor Author

I think we're good to go. I thought that it might be nice to have a toggle to turn this off, in case it causes problems during migration or people don't like the UX of having all resolves suggested together. I'm not sure that's worth the effort, though

Copy link
Contributor

@huonw huonw left a comment

Choose a reason for hiding this comment

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

Thanks!

Looking at that now, it looks like there's a few potential docs that could be updated now that we've got this useful feature:

Is that on your radar?

I thought that it might be nice to have a toggle to turn this off, in case it causes problems during migration or people don't like the UX of having all resolves suggested together. I'm not sure that's worth the effort, though

We can see how it goes in dev release testing and retro-fit if required, I imagine?

docs/notes/2.22.x.md Outdated Show resolved Hide resolved
@lilatomic lilatomic force-pushed the feature/export-python-tools branch from d32b49f to 83a0d58 Compare May 22, 2024 16:33
@lilatomic
Copy link
Contributor Author

Is that on your radar?

It probably should have been, the purpose of this MR was to remove those 😅. Thanks for pointing them out, I've updated them

I thought that it might be nice to have a toggle to turn this off, in case it causes problems during migration or people don't like the UX of having all resolves suggested together. I'm not sure that's worth the effort, though

We can see how it goes in dev release testing and retro-fit if required, I imagine?

Makes sense

@tdyas tdyas merged commit 20f3924 into pantsbuild:main May 22, 2024
25 checks passed
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:new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants