Skip to content

DeprecatedNotAFuture #677

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

Closed
wants to merge 14 commits into from
Closed

DeprecatedNotAFuture #677

wants to merge 14 commits into from

Conversation

zdevito
Copy link
Contributor

@zdevito zdevito commented Jul 29, 2025

Stack from ghstack (oldest at bottom):

Differential Revision: D79143853

NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 29, 2025
zdevito added a commit that referenced this pull request Jul 29, 2025
Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

ghstack-source-id: 299181648
Pull Request resolved: #677
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Aug 1, 2025
This moves around the PythonTask logic so that ProcMesh and Alloc can be directly returned as python objects while preserving the same user-facing API.

It introduces a `DeprecatedNotAFuture` class to polyfill get()/await to ProcMesh and Alloc so that existing code works as unchanged but raises a warning saying it is ok to delete the get()/await.


Pull Request resolved: #677


ghstack-source-id: 300228621
@exported-using-ghexport

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Aug 2, 2025
This moves around the PythonTask logic so that ProcMesh and Alloc can be directly returned as python objects while preserving the same user-facing API.

It introduces a `DeprecatedNotAFuture` class to polyfill get()/await to ProcMesh and Alloc so that existing code works as unchanged but raises a warning saying it is ok to delete the get()/await.


Pull Request resolved: #677


ghstack-source-id: 300327773
@exported-using-ghexport

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Aug 2, 2025
This moves around the PythonTask logic so that ProcMesh and Alloc can be directly returned as python objects while preserving the same user-facing API.

It introduces a `DeprecatedNotAFuture` class to polyfill get()/await to ProcMesh and Alloc so that existing code works as unchanged but raises a warning saying it is ok to delete the get()/await.


Pull Request resolved: #677


ghstack-source-id: 300330427
@exported-using-ghexport

Differential Revision: [D79143853](https://our.internmc.facebook.com/intern/diff/D79143853/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D79143853/)!
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79143853

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fa2c327.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants