Skip to content

Commit

Permalink
Run tox -e vendor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jan 30, 2025
1 parent 6c1a014 commit 93cee2e
Show file tree
Hide file tree
Showing 67 changed files with 373 additions and 373 deletions.
2 changes: 1 addition & 1 deletion pex/vendor/_vendored/attrs/.layout.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"fingerprint": "f5dc69d1bcc93115e977855167173724503804e7b4f1a59aeb8c6ddcea8ed2b7", "record_relpath": "attrs-21.5.0.dev0.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
{"fingerprint": "f827748f286aa52ec78b7f6d7f0ae069555adff917b19b0097afa8b7ea45389a", "record_relpath": "attrs-21.5.0.dev0.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
8 changes: 4 additions & 4 deletions pex/vendor/_vendored/attrs/attrs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr import (
from attr import (
NOTHING,
Attribute,
Factory,
Expand Down Expand Up @@ -30,7 +30,7 @@
validate,
) # vendor:skip
else:
from pex.third_party.attr import (
from pex.third_party.attr import (
NOTHING,
Attribute,
Factory,
Expand Down Expand Up @@ -60,9 +60,9 @@
)

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr._next_gen import asdict, astuple # vendor:skip
from attr._next_gen import asdict, astuple # vendor:skip
else:
from pex.third_party.attr._next_gen import asdict, astuple
from pex.third_party.attr._next_gen import asdict, astuple


from . import converters, exceptions, filters, setters, validators
Expand Down
6 changes: 3 additions & 3 deletions pex/vendor/_vendored/attrs/attrs/converters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr.converters import * # vendor:skip
from attr.converters import * # vendor:skip
else:
from pex.third_party.attr.converters import *
# noqa
from pex.third_party.attr.converters import *
# noqa
6 changes: 3 additions & 3 deletions pex/vendor/_vendored/attrs/attrs/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr.exceptions import * # vendor:skip
from attr.exceptions import * # vendor:skip
else:
from pex.third_party.attr.exceptions import *
# noqa
from pex.third_party.attr.exceptions import *
# noqa
6 changes: 3 additions & 3 deletions pex/vendor/_vendored/attrs/attrs/filters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr.filters import * # vendor:skip
from attr.filters import * # vendor:skip
else:
from pex.third_party.attr.filters import *
# noqa
from pex.third_party.attr.filters import *
# noqa
6 changes: 3 additions & 3 deletions pex/vendor/_vendored/attrs/attrs/setters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr.setters import * # vendor:skip
from attr.setters import * # vendor:skip
else:
from pex.third_party.attr.setters import *
# noqa
from pex.third_party.attr.setters import *
# noqa
6 changes: 3 additions & 3 deletions pex/vendor/_vendored/attrs/attrs/validators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT

if "attrs" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from attr.validators import * # vendor:skip
from attr.validators import * # vendor:skip
else:
from pex.third_party.attr.validators import *
# noqa
from pex.third_party.attr.validators import *
# noqa
2 changes: 1 addition & 1 deletion pex/vendor/_vendored/packaging_20_9/.layout.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"fingerprint": "3830d960e6ce1c5d375d8b5ca1977d63d784bfa22aa6e3fa6ab8c9a8b710f90b", "record_relpath": "packaging-20.9.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
{"fingerprint": "3946db78a8f564b5e0f20648918e6352f64be213519585fe08750b080a1a21c3", "record_relpath": "packaging-20.9.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
4 changes: 2 additions & 2 deletions pex/vendor/_vendored/packaging_20_9/packaging/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import sys

if "packaging" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pyparsing import ( # noqa: N817
from pyparsing import ( # noqa: N817
Forward,
Group,
Literal as L,
Expand All @@ -21,7 +21,7 @@
stringStart,
) # vendor:skip
else:
from pex.third_party.pyparsing import ( # noqa: N817
from pex.third_party.pyparsing import ( # noqa: N817
Forward,
Group,
Literal as L,
Expand Down
4 changes: 2 additions & 2 deletions pex/vendor/_vendored/packaging_20_9/packaging/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import sys

if "packaging" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pyparsing import ( # noqa: N817
from pyparsing import ( # noqa: N817
Combine,
Literal as L,
Optional,
Expand All @@ -21,7 +21,7 @@
stringStart,
) # vendor:skip
else:
from pex.third_party.pyparsing import ( # noqa: N817
from pex.third_party.pyparsing import ( # noqa: N817
Combine,
Literal as L,
Optional,
Expand Down
2 changes: 1 addition & 1 deletion pex/vendor/_vendored/packaging_21_3/.layout.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"fingerprint": "44476a1f2ecb29b520c353ce20d8967cf001b935ee8ee16cb35583c9b5fe87e5", "record_relpath": "packaging-21.3.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
{"fingerprint": "cab252202e7be970bad6b45497b8967cfb9a2759e6071eb30119be7b9fff62e1", "record_relpath": "packaging-21.3.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
4 changes: 2 additions & 2 deletions pex/vendor/_vendored/packaging_21_3/packaging/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from typing import Any, Callable, Dict, List, Optional, Tuple, Union

if "packaging" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pyparsing import ( # noqa: N817
from pyparsing import ( # noqa: N817
Forward,
Group,
Literal as L,
Expand All @@ -21,7 +21,7 @@
stringStart,
) # vendor:skip
else:
from pex.third_party.pyparsing import ( # noqa: N817
from pex.third_party.pyparsing import ( # noqa: N817
Forward,
Group,
Literal as L,
Expand Down
4 changes: 2 additions & 2 deletions pex/vendor/_vendored/packaging_21_3/packaging/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import List, Optional as TOptional, Set

if "packaging" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pyparsing import ( # noqa
from pyparsing import ( # noqa
Combine,
Literal as L,
Optional,
Expand All @@ -21,7 +21,7 @@
stringStart,
) # vendor:skip
else:
from pex.third_party.pyparsing import ( # noqa
from pex.third_party.pyparsing import ( # noqa
Combine,
Literal as L,
Optional,
Expand Down
2 changes: 1 addition & 1 deletion pex/vendor/_vendored/setuptools/.layout.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"fingerprint": "66974ae8d54525a2996281ddbd983213d5594739f85808a04df65fe630ce9b65", "record_relpath": "setuptools-44.0.0+3acb925dd708430aeaf197ea53ac8a752f7c1863.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
{"fingerprint": "3ed0a88e9187417528887dc52d09fcfc8f0166098f63499834ddef53f9e46890", "record_relpath": "setuptools-44.0.0+3acb925dd708430aeaf197ea53ac8a752f7c1863.dist-info/RECORD", "root_is_purelib": true, "stash_dir": ".prefix"}
4 changes: 2 additions & 2 deletions pex/vendor/_vendored/setuptools/easy_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

if __name__ == '__main__':
if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.command.easy_install import main # vendor:skip
from setuptools.command.easy_install import main # vendor:skip
else:
from pex.third_party.setuptools.command.easy_install import main
from pex.third_party.setuptools.command.easy_install import main

main()
32 changes: 16 additions & 16 deletions pex/vendor/_vendored/setuptools/pkg_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@
FileExistsError = OSError

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern import six # vendor:skip
from pkg_resources.extern import six # vendor:skip
else:
from pex.third_party.pkg_resources.extern import six
from pex.third_party.pkg_resources.extern import six

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.six.moves import urllib, map, filter # vendor:skip
from pkg_resources.extern.six.moves import urllib, map, filter # vendor:skip
else:
from pex.third_party.pkg_resources.extern.six.moves import urllib, map, filter
from pex.third_party.pkg_resources.extern.six.moves import urllib, map, filter


# capture these to bypass sandboxing
Expand All @@ -86,34 +86,34 @@

from . import py31compat
if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern import appdirs # vendor:skip
from pkg_resources.extern import appdirs # vendor:skip
else:
from pex.third_party.pkg_resources.extern import appdirs
from pex.third_party.pkg_resources.extern import appdirs

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern import packaging # vendor:skip
from pkg_resources.extern import packaging # vendor:skip
else:
from pex.third_party.pkg_resources.extern import packaging
from pex.third_party.pkg_resources.extern import packaging

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
__import__('pkg_resources.extern.packaging.version') # vendor:skip
__import__('pkg_resources.extern.packaging.version') # vendor:skip
else:
__import__('pex.third_party.pkg_resources.extern.packaging.version')
__import__('pex.third_party.pkg_resources.extern.packaging.version')

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
__import__('pkg_resources.extern.packaging.specifiers') # vendor:skip
__import__('pkg_resources.extern.packaging.specifiers') # vendor:skip
else:
__import__('pex.third_party.pkg_resources.extern.packaging.specifiers')
__import__('pex.third_party.pkg_resources.extern.packaging.specifiers')

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
__import__('pkg_resources.extern.packaging.requirements') # vendor:skip
__import__('pkg_resources.extern.packaging.requirements') # vendor:skip
else:
__import__('pex.third_party.pkg_resources.extern.packaging.requirements')
__import__('pex.third_party.pkg_resources.extern.packaging.requirements')

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
__import__('pkg_resources.extern.packaging.markers') # vendor:skip
__import__('pkg_resources.extern.packaging.markers') # vendor:skip
else:
__import__('pex.third_party.pkg_resources.extern.packaging.markers')
__import__('pex.third_party.pkg_resources.extern.packaging.markers')



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
import sys

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd # vendor:skip
from pkg_resources.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd # vendor:skip
else:
from pex.third_party.pkg_resources.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd
from pex.third_party.pkg_resources.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString # vendor:skip
from pkg_resources.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString # vendor:skip
else:
from pex.third_party.pkg_resources.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString
from pex.third_party.pkg_resources.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.pyparsing import Literal as L # vendor:skip
from pkg_resources.extern.pyparsing import Literal as L # vendor:skip
else:
from pex.third_party.pkg_resources.extern.pyparsing import Literal as L
from pex.third_party.pkg_resources.extern.pyparsing import Literal as L
# noqa

from ._compat import string_types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
import re

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException # vendor:skip
from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException # vendor:skip
else:
from pex.third_party.pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
from pex.third_party.pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine # vendor:skip
from pkg_resources.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine # vendor:skip
else:
from pex.third_party.pkg_resources.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine
from pex.third_party.pkg_resources.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.pyparsing import Literal as L # vendor:skip
from pkg_resources.extern.pyparsing import Literal as L # vendor:skip
else:
from pex.third_party.pkg_resources.extern.pyparsing import Literal as L
from pex.third_party.pkg_resources.extern.pyparsing import Literal as L
# noqa
if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources.extern.six.moves.urllib import parse as urlparse # vendor:skip
from pkg_resources.extern.six.moves.urllib import parse as urlparse # vendor:skip
else:
from pex.third_party.pkg_resources.extern.six.moves.urllib import parse as urlparse
from pex.third_party.pkg_resources.extern.six.moves.urllib import parse as urlparse


from .markers import MARKER_EXPR, Marker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
import sys

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd # vendor:skip
from setuptools.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd # vendor:skip
else:
from pex.third_party.setuptools.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd
from pex.third_party.setuptools.extern.pyparsing import ParseException, ParseResults, stringStart, stringEnd

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString # vendor:skip
from setuptools.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString # vendor:skip
else:
from pex.third_party.setuptools.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString
from pex.third_party.setuptools.extern.pyparsing import ZeroOrMore, Group, Forward, QuotedString

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.pyparsing import Literal as L # vendor:skip
from setuptools.extern.pyparsing import Literal as L # vendor:skip
else:
from pex.third_party.setuptools.extern.pyparsing import Literal as L
from pex.third_party.setuptools.extern.pyparsing import Literal as L
# noqa

from ._compat import string_types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
import re

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException # vendor:skip
from setuptools.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException # vendor:skip
else:
from pex.third_party.setuptools.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
from pex.third_party.setuptools.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine # vendor:skip
from setuptools.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine # vendor:skip
else:
from pex.third_party.setuptools.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine
from pex.third_party.setuptools.extern.pyparsing import ZeroOrMore, Word, Optional, Regex, Combine

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.pyparsing import Literal as L # vendor:skip
from setuptools.extern.pyparsing import Literal as L # vendor:skip
else:
from pex.third_party.setuptools.extern.pyparsing import Literal as L
from pex.third_party.setuptools.extern.pyparsing import Literal as L
# noqa
if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from setuptools.extern.six.moves.urllib import parse as urlparse # vendor:skip
from setuptools.extern.six.moves.urllib import parse as urlparse # vendor:skip
else:
from pex.third_party.setuptools.extern.six.moves.urllib import parse as urlparse
from pex.third_party.setuptools.extern.six.moves.urllib import parse as urlparse


from .markers import MARKER_EXPR, Marker
Expand Down
4 changes: 2 additions & 2 deletions pex/vendor/_vendored/setuptools/setuptools/archive_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
from distutils.errors import DistutilsError

if "setuptools" in __import__("os").environ.get("__PEX_UNVENDORED__", ""):
from pkg_resources import ensure_directory # vendor:skip
from pkg_resources import ensure_directory # vendor:skip
else:
from pex.third_party.pkg_resources import ensure_directory
from pex.third_party.pkg_resources import ensure_directory


__all__ = [
Expand Down
Loading

0 comments on commit 93cee2e

Please sign in to comment.