Skip to content

Commit

Permalink
third_party/emboss: Update Python runner to be 3.11 compliant
Browse files Browse the repository at this point in the history
"importlib.util" no longer transitively imports `importlib.machinery`
in 3.11.

Change-Id: Ie30d77b538867539be65838913098c1ab8e91a8f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/150235
Reviewed-by: Rob Mohr <mohrr@google.com>
Commit-Queue: Kevin Cho <chok@google.com>
  • Loading branch information
lrbom authored and CQ Bot Account committed Jun 2, 2023
1 parent 09129c4 commit b258eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third_party/emboss/embossc_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# the License.

import sys
import importlib.machinery
import importlib.util

loader = importlib.machinery.SourceFileLoader("embossc", sys.argv[1])
Expand Down

0 comments on commit b258eb3

Please sign in to comment.