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
Convert logging f-strings to use % format, part five #98765
Conversation
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyang@meta.com> [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/98765
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 FailuresAs of commit dd79af7: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: c0381009ba3a5dc4eef04ff66ec8270dcfb07e15 Pull Request resolved: #98765
torch/package/_importlib.py
Outdated
@@ -63,7 +63,7 @@ def _calc___package__(globals): | |||
if package is not None: | |||
if spec is not None and package != spec.parent: | |||
_warnings.warn( # noqa: G010 | |||
"__package__ != __spec__.parent " f"({package!r} != {spec.parent!r})", | |||
"__package__ != __spec__.parent " f"({package!r} != {spec.parent!r})", # noqa: G004 |
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.
since this is copypaste from cpython, just suppress the lint
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> cc soumith voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: 5cf031408faae1b1a9bdfe9d00b34ccd64f990ae Pull Request resolved: #98765
@pytorchbot merge |
Merge failedReason: PR 98704 is out of sync with the corresponding revision 3ddcce5 on branch origin/gh/ezyang/1981/orig that would be merged into master. This usually happens because there is a non ghstack change in the PR. Please sync them and try again (ex. make the changes on origin/gh/ezyang/1981/orig and run ghstack). Details for Dev Infra teamRaised by workflow job |
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> cc soumith voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: ea0df229af061178f8f336644d477e93a4533cfd Pull Request resolved: #98765
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> cc soumith voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
@pytorchbot merge -f "was all green, re-push was to move a lint fix to the correct commit on stack" |
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: ea0df229af061178f8f336644d477e93a4533cfd Pull Request resolved: #98765
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This does some annoying but simple cases by hand. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: #98765 Approved by: https://github.com/wanchaol
Stack from ghstack (oldest at bottom):
This does some annoying but simple cases by hand.
Signed-off-by: Edward Z. Yang ezyang@meta.com
cc @soumith @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire