SL-18330: Consistently use new standalone Python llsd package.

master
Nat Goodspeed 2023-05-31 16:34:04 -04:00
parent b11b53b72c
commit ed92f1d803
8 changed files with 9 additions and 9 deletions

View File

@ -109,7 +109,7 @@ namespace tut
"import os\n"
"import sys\n"
"\n"
"from llbase import llsd\n"
"import llsd\n"
"\n"
"class ProtocolError(Exception):\n"
" def __init__(self, msg, data):\n"

View File

@ -1706,7 +1706,7 @@ namespace tut
// scanner.
import_llsd("import os.path\n"
"import sys\n"
"from llbase import llsd\n")
"import llsd\n")
{}
~TestPythonCompatible() {}

View File

@ -38,7 +38,7 @@ from io import StringIO
from http.server import HTTPServer, BaseHTTPRequestHandler
from llbase import llsd
import llsd
# we're in llcorehttp/tests ; testrunner.py is found in llmessage/tests
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir,

View File

@ -33,8 +33,8 @@ import os
import sys
from http.server import HTTPServer, BaseHTTPRequestHandler
from llbase.fastest_elementtree import parse as xml_parse
from llbase import llsd
from llsd.fastest_elementtree import parse as xml_parse
import llsd
from testrunner import freeport, run, debug, VERBOSE
import time

View File

@ -49,7 +49,7 @@ viewer_dir = os.path.dirname(__file__)
# indra.util.llmanifest under their system Python!
sys.path.insert(0, os.path.join(viewer_dir, os.pardir, "lib", "python"))
from indra.util.llmanifest import LLManifest, main, path_ancestors, CHANNEL_VENDOR_BASE, RELEASE_CHANNEL, ManifestError, MissingError
from llbase import llsd
import llsd
class ViewerManifest(LLManifest):
def is_packaging_viewer(self):

View File

@ -29,7 +29,7 @@ Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
$/LicenseInfo$
"""
from llbase import llsd
import llsd
import argparse
parser = argparse.ArgumentParser(

View File

@ -28,7 +28,7 @@ $/LicenseInfo$
import argparse
from lxml import etree
from llbase import llsd
import llsd
def get_metrics_record(infiles):
for filename in args.infiles:

View File

@ -31,7 +31,7 @@ import numpy as np
import pandas as pd
import json
from collections import Counter, defaultdict
from llbase import llsd
import llsd
import io
import re
import os