Date: Tuesday, February 9, 2021 @ 08:15:25 Author: yan12125 Revision: 850819
python-moto: add comments about setuptools and update disabled tests; not bump pkgrel as it's only a fix for check() Refs: 1. https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/ 2. https://github.com/spulec/moto/pull/3628 3. https://github.com/spulec/moto/pull/3610 Modified: python-moto/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-02-09 07:58:24 UTC (rev 850818) +++ PKGBUILD 2021-02-09 08:15:25 UTC (rev 850819) @@ -9,6 +9,7 @@ arch=(any) url='https://github.com/spulec/moto' license=(Apache) +# depends on python-setuptools as pkg_resources is used is several modules depends=(python-aws-xray-sdk python-boto python-boto3 python-cryptography python-dateutil python-docker python-jinja python-jsondiff python-jose python-mock python-yaml @@ -66,6 +67,13 @@ # creates a Job object, which requires docker # * In test_create_stack_lambda_and_dynamodb, the CloudFormation template # contain AWS::Lambda resources and thus uses moto.awslambda + # * test_create_notebook_instance_bad_volume_size, + # * test_describe_parameters_parameter_validation: fixed in + # https://github.com/spulec/moto/pull/3628. Disable tests here as the + # patch cannot be applied cleanly. Note that in #3628, the removed test + # test_describe_parameters_parameter_validation is one of tests split + # from test_describe_parameters_invalid_parameter_filters in + # https://github.com/spulec/moto/pull/3610 TZ=UTC nosetests -s ./tests/ \ --exclude='test_lambda' \ --exclude='test_list_jobs' \ @@ -75,7 +83,9 @@ --exclude='test_create_stack_lambda_and_dynamodb' \ --exclude='test_delete_subscription_filter_errors' \ --exclude='test_put_subscription_filter_update' \ - --exclude='test_put_subscription_filter_with_lambda' + --exclude='test_put_subscription_filter_with_lambda' \ + --exclude='test_create_notebook_instance_bad_volume_size' \ + --exclude='test_describe_parameters_invalid_parameter_filters' } package() {