Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/moto/
Date: Mon, 20 Mar 2023 05:36:28
Message-Id: 1679290571.d792c22ab45131af1ed537678ca09a5ebd85e1df.mgorny@gentoo
1 commit: d792c22ab45131af1ed537678ca09a5ebd85e1df
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 20 04:40:36 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 20 05:36:11 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d792c22a
7
8 dev-python/moto: Bump to 4.1.5
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/moto/Manifest | 1 +
13 dev-python/moto/moto-4.1.5.ebuild | 102 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 103 insertions(+)
15
16 diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
17 index 5f2b2475ba04..e92c94282bb4 100644
18 --- a/dev-python/moto/Manifest
19 +++ b/dev-python/moto/Manifest
20 @@ -5,3 +5,4 @@ DIST moto-4.1.1.tar.gz 2581128 BLAKE2B a4af36e5f87633a8b3f0dcfc5b786d95925dc787a
21 DIST moto-4.1.2.tar.gz 2593920 BLAKE2B c07ed5169fa24318e5ea081c470b07d93071c7d6e2242643e770aa3c3f59afa5f808855c47e053265aa51ad12b041d962282387a800d619309fc37ba7a360122 SHA512 73975b95b8d2caaede4f1c32ff72da68d57d28ce5c2354a2582d7501ee5be7ea6b643437234739ea81e090c611e265e54bd2b137fd8146e12d99346497cf6da6
22 DIST moto-4.1.3.tar.gz 2612972 BLAKE2B 50bfb84f83258a87815d41c370d69275a2a0ca375b9f9298fc39daf93cb490c1da0a0ad74db1aaa21fb38cee13a363f49f1a444ee916f936ac565334d5973760 SHA512 bc7a9d6ec0759ffebbc8ec5813952d63e859ca8e686c552d314cc398c6ec04420c11fc24783d965e87bd7e1f4dbd61ef522c438c22c590ec164d215355fc9133
23 DIST moto-4.1.4.tar.gz 3430354 BLAKE2B 9805ab25ea8f6d4fe88960d895caf0eff48912d31bca14e8ffef4e5453a9c6dd7e0f21a97410069c88166b15545148db4e936304e64e814bdd7907e19d513f0e SHA512 77700834c0816897448ff53c255f8bc0a00e2130bf8c2291e88abad5613b3b31bbc9a9828a052b5a8e6dfbc35b0165297ebd68d97b04a4c681380654db324ff1
24 +DIST moto-4.1.5.tar.gz 3458809 BLAKE2B c8121c552e8ff14c1e69e2dbb73aca1dddee8df65bf8d2de164100c2b6aa9e7dcfada0421f414b770514794ecddb18926b6fd35e41ed0f8eccc9b98264d6de09 SHA512 a7b429d3508bed48589b068450a834420aac76a57b62e0305d5c8d9a70c8c0218422b34f3b148a80543dbf6fcc42e21a60daaea090a77254a156e0aeacf87a8c
25
26 diff --git a/dev-python/moto/moto-4.1.5.ebuild b/dev-python/moto/moto-4.1.5.ebuild
27 new file mode 100644
28 index 000000000000..c0f3e3c50f59
29 --- /dev/null
30 +++ b/dev-python/moto/moto-4.1.5.ebuild
31 @@ -0,0 +1,102 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{10..11} )
39 +
40 +inherit distutils-r1 pypi
41 +
42 +DESCRIPTION="Mock library for boto"
43 +HOMEPAGE="
44 + https://github.com/getmoto/moto/
45 + https://pypi.org/project/moto/
46 +"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
51 +
52 +RDEPEND="
53 + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
54 + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}]
55 + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
56 + dev-python/cookies[${PYTHON_USEDEP}]
57 + >=dev-python/docker-py-3.0.0[${PYTHON_USEDEP}]
58 + >=dev-python/idna-2.5[${PYTHON_USEDEP}]
59 + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
60 + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
61 + dev-python/boto3[${PYTHON_USEDEP}]
62 + dev-python/botocore[${PYTHON_USEDEP}]
63 + dev-python/flask[${PYTHON_USEDEP}]
64 + dev-python/flask-cors[${PYTHON_USEDEP}]
65 + dev-python/more-itertools[${PYTHON_USEDEP}]
66 + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}]
67 + >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}]
68 + dev-python/pretty-yaml[${PYTHON_USEDEP}]
69 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
70 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
71 + dev-python/python-dateutil[${PYTHON_USEDEP}]
72 + dev-python/python-jose[${PYTHON_USEDEP}]
73 + dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
74 + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
75 + >=dev-python/requests-2.5[${PYTHON_USEDEP}]
76 + dev-python/xmltodict[${PYTHON_USEDEP}]
77 + dev-python/werkzeug[${PYTHON_USEDEP}]
78 + dev-python/zipp[${PYTHON_USEDEP}]
79 +"
80 +BDEPEND="
81 + test? (
82 + dev-python/freezegun[${PYTHON_USEDEP}]
83 + dev-python/responses[${PYTHON_USEDEP}]
84 + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
85 + )
86 +"
87 +
88 +distutils_enable_tests pytest
89 +
90 +python_test() {
91 + local EPYTEST_DESELECT=(
92 + # TODO
93 + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
94 + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
95 + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
96 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
97 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
98 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
99 + # broken code (local variable used referenced before definition)
100 + tests/test_appsync/test_appsync_schema.py
101 + tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource
102 + # Needs network (or docker?) but not marked as such, bug #807031
103 + # TODO: report upstream
104 + tests/test_batch/test_batch_jobs.py::test_terminate_job
105 + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job
106 + tests/test_batch/test_batch_jobs.py::test_cancel_running_job
107 + tests/test_batch/test_batch_jobs.py::test_dependencies
108 + tests/test_batch/test_batch_jobs.py::test_container_overrides
109 + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
110 +
111 + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
112 + tests/test_core/test_docker.py::test_docker_is_running_and_available
113 + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda
114 + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
115 + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
116 + tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect
117 + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header
118 + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]"
119 + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]"
120 + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]"
121 + # TODO
122 + tests/test_batch/test_batch_jobs.py::test_failed_dependencies
123 + tests/test_batch/test_batch_jobs.py::test_failed_job
124 + tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name
125 + tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none
126 + tests/test_core/test_mock_all.py::test_context_manager
127 + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue
128 + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue
129 + )
130 +
131 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
132 + epytest -m 'not network'
133 +}