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 ManagerLost and VersionMismatch to errors.py #3496

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

khk-globus
Copy link
Collaborator

Per the analysis in #3495, defining the ManagerLost and VersionMismatch errors in the interchange.py became a problem in #3463, where the interchange now runs as __main__. This makes it difficult for Dill to get the serde correct.

The organizational fix is simply to move these classes to an importable location, which follows the expectation that classes are available in both local and remote locations, which defining in __main__ can't easily guarantee.

Fixes: #3495

Type of change

  • Bug fix

Per the analysis in #3495, defining the `ManagerLost` and `VersionMismatch`
errors in the `interchange.py` became a problem in #3463, where the interchange
now runs as `__main__`.  This makes it difficult for Dill to get the serde
correct.

The organizational fix is simply to move these classes to an importable
location, which follows the expectation that classes are available in both
local and remote locations, which defining in `__main__` can't easily
guarantee.

Fixes: #3495
@khk-globus khk-globus requested a review from benclifford June 26, 2024 17:02
@benclifford benclifford merged commit 1ea41f8 into master Jun 27, 2024
7 checks passed
@benclifford benclifford deleted the issue3495/managerlost_deserialization_error branch June 27, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTEX interchange ManagerLost/VersionMismatch reporting is broken by PR #3463
2 participants