summaryrefslogtreecommitdiffstats
path: root/contrib/python/moto/py2
diff options
context:
space:
mode:
authormaxim-yurchuk <[email protected]>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <[email protected]>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/moto/py2
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/moto/py2')
-rw-r--r--contrib/python/moto/py2/.dist-info/METADATA44
-rw-r--r--contrib/python/moto/py2/.dist-info/entry_points.txt3
-rw-r--r--contrib/python/moto/py2/.dist-info/top_level.txt1
-rw-r--r--contrib/python/moto/py2/patches/20-use-ya-resouces-for-ec2.patch22
4 files changed, 70 insertions, 0 deletions
diff --git a/contrib/python/moto/py2/.dist-info/METADATA b/contrib/python/moto/py2/.dist-info/METADATA
new file mode 100644
index 00000000000..e650f39e526
--- /dev/null
+++ b/contrib/python/moto/py2/.dist-info/METADATA
@@ -0,0 +1,44 @@
+Metadata-Version: 2.1
+Name: moto
+Version: 1.3.7
+Summary: A library that allows your python tests to easily mock out the boto library
+Home-page: https://github.com/spulec/moto
+Author: Steve Pulec
+Author-email: [email protected]
+License: Apache
+Platform: UNKNOWN
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: License :: OSI Approved :: Apache Software License
+Classifier: Topic :: Software Development :: Testing
+Provides-Extra: server
+Requires-Dist: Jinja2 (>=2.7.3)
+Requires-Dist: boto (>=2.36.0)
+Requires-Dist: boto3 (>=1.6.16)
+Requires-Dist: botocore (>=1.12.13)
+Requires-Dist: cryptography (>=2.3.0)
+Requires-Dist: requests (>=2.5)
+Requires-Dist: xmltodict
+Requires-Dist: six (>1.9)
+Requires-Dist: werkzeug
+Requires-Dist: pyaml
+Requires-Dist: pytz
+Requires-Dist: python-dateutil (<3.0.0,>=2.1)
+Requires-Dist: python-jose (<3.0.0)
+Requires-Dist: mock
+Requires-Dist: docker (>=2.5.1)
+Requires-Dist: jsondiff (==1.1.1)
+Requires-Dist: aws-xray-sdk (<0.96,>=0.93)
+Requires-Dist: responses (>=0.9.0)
+Requires-Dist: backports.tempfile; python_version<'3.3'
+Provides-Extra: server
+Requires-Dist: flask; extra == 'server'
+
+UNKNOWN
+
+
diff --git a/contrib/python/moto/py2/.dist-info/entry_points.txt b/contrib/python/moto/py2/.dist-info/entry_points.txt
new file mode 100644
index 00000000000..d6d51c38122
--- /dev/null
+++ b/contrib/python/moto/py2/.dist-info/entry_points.txt
@@ -0,0 +1,3 @@
+[console_scripts]
+moto_server = moto.server:main
+
diff --git a/contrib/python/moto/py2/.dist-info/top_level.txt b/contrib/python/moto/py2/.dist-info/top_level.txt
new file mode 100644
index 00000000000..0a175dad0c9
--- /dev/null
+++ b/contrib/python/moto/py2/.dist-info/top_level.txt
@@ -0,0 +1 @@
+moto
diff --git a/contrib/python/moto/py2/patches/20-use-ya-resouces-for-ec2.patch b/contrib/python/moto/py2/patches/20-use-ya-resouces-for-ec2.patch
new file mode 100644
index 00000000000..927b1050038
--- /dev/null
+++ b/contrib/python/moto/py2/patches/20-use-ya-resouces-for-ec2.patch
@@ -0,0 +1,22 @@
+diff --git a/contrib/python/moto/moto/ec2/models.py b/contrib/python/moto/moto/ec2/models.py
+--- a/contrib/python/moto/moto/ec2/models.py
++++ b/contrib/python/moto/moto/ec2/models.py
+@@ -120,13 +120,11 @@ from .utils import (
+ tag_filter_matches,
+ )
+
+-INSTANCE_TYPES = json.load(
+- open(resource_filename(__name__, 'resources/instance_types.json'), 'r')
+-)
+-AMIS = json.load(
+- open(os.environ.get('MOTO_AMIS_PATH') or resource_filename(
+- __name__, 'resources/amis.json'), 'r')
+-)
++# load from ya-resources
++import library.python.resource as _ya_res
++
++INSTANCE_TYPES = json.loads(_ya_res.find('resource/instance_types.json'))
++AMIS = json.loads(_ya_res.find('resource/amis.json'))
+
+
+ def utc_date_and_time():