-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[pkg] add zipfile unit tests #74929
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
[pkg] add zipfile unit tests #74929
Conversation
[ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 3e99b19 (more details on the Dr. CI page):
🕵️ 2 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
|
lint is failing otherwise looks good |
| def __init__(self, *args, **kwargs): | ||
| super().__init__(*args, **kwargs) | ||
| self.ZipfileWriter = TorchScriptPackageZipFileWriter | ||
| self.ZipfileReader = TorchScriptPackageZipFileReader |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be using TorchScript one or the not torchscript one?
Add unit tests for zipfile classes [ghstack-poisoned]
Add unit tests for zipfile classes [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Add unit tests for zipfile classes Differential Revision: [D35254715](https://our.internmc.facebook.com/intern/diff/D35254715) [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Add unit tests for zipfile classes Differential Revision: [D35254715](https://our.internmc.facebook.com/intern/diff/D35254715) [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Add unit tests for zipfile classes Differential Revision: [D35254715](https://our.internmc.facebook.com/intern/diff/D35254715) [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Add unit tests for zipfile classes Differential Revision: [D35254715](https://our.internmc.facebook.com/intern/diff/D35254715) [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Add unit tests for zipfile classes Differential Revision: [D35254715](https://our.internmc.facebook.com/intern/diff/D35254715) [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
d4l3k
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reapproving
Add unit tests for zipfile classes Differential Revision: [D35254715](https://our.internmc.facebook.com/intern/diff/D35254715) [ghstack-poisoned]
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Pull Request resolved: #74929 Add unit tests for zipfile classes Test Plan: Imported from OSS Reviewed By: dagitses, d4l3k Differential Revision: D35254715 Pulled By: PaliC fbshipit-source-id: bda862cc6df823249f577e37a2718247e9d0a431
|
Hey @PaliC. |
|
This pull request has been reverted by 20266f0. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk). |
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
2 similar comments
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@PaliC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Pull Request resolved: #74929 Add unit tests for zipfile classes Test Plan: Imported from OSS Reviewed By: d4l3k Differential Revision: D35423078 Pulled By: PaliC fbshipit-source-id: 13cd0f82ec7d9fc95b6db86b65b9958e389086e3
|
This pull request has been reverted by a1d59bb. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk). |
Summary: This PR is a response to pytorch#72237 and pytorch#74929 getting reverted as they were breaking MacOS testing builds due to the lack of the `zipfile` package. It does effectively the same thing. However, it also installs `zipfile` to MacOS builds in `.jenkins/pytorch/macos-common.sh` Test Plan: External CI Differential Revision: D35474261 fbshipit-source-id: 68a8203e12422ea394f1c597ea432d347ee6e48c
Summary: This PR is a response to pytorch#72237 and pytorch#74929 getting reverted as they were breaking MacOS testing builds due to the lack of the `zipfile` package. It does effectively the same thing. However, it also installs `zipfile` to MacOS builds in `.jenkins/pytorch/macos-common.sh` Test Plan: External CI Differential Revision: D35474261 fbshipit-source-id: 0098fa87753293fc627ba4a95c5e03e8d14cf481
Summary: This PR is a response to pytorch#72237 and pytorch#74929 getting reverted as they were breaking MacOS testing builds due to the lack of the `zipfile` package. It does effectively the same thing. However, it also installs `zipfile` to MacOS builds in `.jenkins/pytorch/macos-common.sh` Test Plan: External CI Differential Revision: D35474261 fbshipit-source-id: 02687b7b690b1e9d922578b5c78f68f1cc323972
Stack from ghstack (oldest at bottom):
Add unit tests for zipfile classes