diff options
| author | Signal Linden <signal@lindenlab.com> | 2022-10-11 15:10:04 -0700 | 
|---|---|---|
| committer | Signal Linden <signal@lindenlab.com> | 2022-10-11 15:10:04 -0700 | 
| commit | 8d7cde22c31a59d0503230334b1d68e858364c9a (patch) | |
| tree | 824362a5905f5545ab62346c5d56cb52fe73d952 | |
| parent | 13ab3e3f0658a26ae8345a1b8916240bafae302b (diff) | |
Replace llbase with llsd module
| -rw-r--r-- | .github/workflows/build.yaml | 3 | ||||
| -rw-r--r-- | indra/llcommon/tests/llleap_test.cpp | 2 | ||||
| -rw-r--r-- | indra/llcommon/tests/llsdserialize_test.cpp | 2 | ||||
| -rwxr-xr-x | indra/llcorehttp/tests/test_llcorehttp_peer.py | 3 | ||||
| -rwxr-xr-x | indra/llmessage/tests/test_llsdmessage_peer.py | 3 | ||||
| -rwxr-xr-x | indra/newview/viewer_manifest.py | 2 | ||||
| -rw-r--r-- | scripts/metrics/slp_conv.py | 2 | ||||
| -rw-r--r-- | scripts/metrics/viewer_asset_logs.py | 2 | ||||
| -rwxr-xr-x | scripts/metrics/viewerstats.py | 2 | 
9 files changed, 10 insertions, 11 deletions
| diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f2bba6dc45..91788c4076 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,7 +10,7 @@ jobs:    build:      strategy:        matrix: -        os: [windows-2022] +        os: [windows-2022, macos-11]          configuration: [RelWithDebInfoOS]          addrsize: [64]          include: @@ -48,5 +48,6 @@ jobs:        - name: Build          shell: bash          run: | +          pip install llsd # Required by viewer tests            autobuild configure            autobuild build --no-configure diff --git a/indra/llcommon/tests/llleap_test.cpp b/indra/llcommon/tests/llleap_test.cpp index 7ee36a9ea6..60005fc6a9 100644 --- a/indra/llcommon/tests/llleap_test.cpp +++ b/indra/llcommon/tests/llleap_test.cpp @@ -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" diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp index c246f5ee56..be7ec12094 100644 --- a/indra/llcommon/tests/llsdserialize_test.cpp +++ b/indra/llcommon/tests/llsdserialize_test.cpp @@ -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() {} diff --git a/indra/llcorehttp/tests/test_llcorehttp_peer.py b/indra/llcorehttp/tests/test_llcorehttp_peer.py index 778de90962..b9992538ba 100755 --- a/indra/llcorehttp/tests/test_llcorehttp_peer.py +++ b/indra/llcorehttp/tests/test_llcorehttp_peer.py @@ -38,8 +38,7 @@ from io import StringIO  from http.server import HTTPServer, BaseHTTPRequestHandler -from llbase.fastest_elementtree import parse as xml_parse -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, diff --git a/indra/llmessage/tests/test_llsdmessage_peer.py b/indra/llmessage/tests/test_llsdmessage_peer.py index 5ba0749e31..ff8f40a144 100755 --- a/indra/llmessage/tests/test_llsdmessage_peer.py +++ b/indra/llmessage/tests/test_llsdmessage_peer.py @@ -33,8 +33,7 @@ import os  import sys  from http.server import HTTPServer, BaseHTTPRequestHandler -from llbase.fastest_elementtree import parse as xml_parse -from llbase import llsd +import llsd  from testrunner import freeport, run, debug, VERBOSE  import time diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 3327ecfb56..30b0d23a93 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -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): diff --git a/scripts/metrics/slp_conv.py b/scripts/metrics/slp_conv.py index 27f922b74a..25f9a8c060 100644 --- a/scripts/metrics/slp_conv.py +++ b/scripts/metrics/slp_conv.py @@ -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( diff --git a/scripts/metrics/viewer_asset_logs.py b/scripts/metrics/viewer_asset_logs.py index 0365936188..bd996dff79 100644 --- a/scripts/metrics/viewer_asset_logs.py +++ b/scripts/metrics/viewer_asset_logs.py @@ -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: diff --git a/scripts/metrics/viewerstats.py b/scripts/metrics/viewerstats.py index 7e19539e15..e64343329c 100755 --- a/scripts/metrics/viewerstats.py +++ b/scripts/metrics/viewerstats.py @@ -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 | 
