./net/py-moto, Mock-up of the boto library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.1.14, Package name: py312-moto-4.1.14, Maintainer: pkgsrc-users

A library that allows your python tests to easily mock out the boto
library.


Required to run:
[devel/py-setuptools] [time/py-dateutil] [net/py-boto] [time/py-pytz] [textproc/py-jinja2] [devel/py-mock] [lang/python27] [www/py-werkzeug] [www/py-flask] [devel/py-requests] [lang/py-six] [security/py-cryptography] [net/py-boto3] [textproc/py-xmltodict] [textproc/py-dicttoxml] [textproc/py-pyaml] [www/py-cookies]

Required to build:
[databases/py-gdbm] [x11/py-Tk] [textproc/py-lxml] [devel/py-nose] [pkgtools/cwrappers] [devel/py-freezegun] [devel/py-sure]

Master sites:

Filesize: 3528.183 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-01-27 20:05:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-moto: updated to 4.2.14

4.2.14

New Services:
    * Backup:
        * create_backup_plan()
        * create_backup_vault()
        * get_backup_plan()
        * describe_backup_vault()
        * delete_backup_plan()
        * list_backup_plans()
        * list_backup_vaults()
        * list_tags()
        * tag_resource()
        * untag_resource()

New Methods:
    * RDS:
        * describe_db_cluster_snapshot_attributes()
        * describe_db_snapshot_attributes()
        * modify_db_cluster_snapshot_attribute()
        * modify_db_snapshot_attribute()
        * restore_db_instance_to_point_in_time()

    * SageMaker:
        * create_feature_group()

    * SageMakerRuntime:
        * invoke_endpoint_async()

Miscellaneous:
    * Cognito: The ID-token now contains custom attributes
    * DynamoDB: query() now returns the correct ScannedCount
    * EC2: Security Group Rules now have tag support
    * LakeFormation: grant_permissions() now has better support for known \ 
principal-resource pairs
    * SNS: set_subscription_attributes() can now unset the FilterPolicy
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-07-30 17:04:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-moto: updated to 4.1.13

4.1.13
General:
    * The ISO-regions introduced in 4.1.12 are now locked behind an environment \ 
variable: `MOTO_ENABLE_ISO_REGIONS`
    * General performance improvements in the URL matching logic - especially \ 
`mock_all` users should notice improvements

New Methods:
    * APIGatewayV2:
        * create_stage()
        * delete_stage()
        * get_stage()
        * get_stages()

    * CloudFront:
        * create_origin_access_control()
        * delete_origin_access_control()
        * get_origin_access_control()
        * list_origin_access_controls()
        * update_origin_access_control()

    * Lambda:
        * list_aliases()

    * Logs:
        * delete_destination()
        * describe_destinations()
        * get_destination()
        * put_destination()
        * put_destination_policy()

    * Route53:
        * get_health_check_status()

    * SSM:
        * deregister_task_from_maintenance_window()
        * describe_maintenance_window_tasks()
        * register_task_with_maintenance_window()

Miscellaneous:
    * Batch: create_compute_environment() now validates instanceRole and minvCpu
    * CloudFront: create_distribution() now correctly handles a single alias
    * CloudFront - CustomOrigins now have default timeouts if not supplied
    * DynamoDB: delete_item() now throws the correct error when the table is not \ 
found
    * EC2: describe_security_group_rules() now returns the GroupId
    * ECR: create_repository() now validates the repositoryName-parameter
    * Lambda: create_function() now returns the ImageConfigResponse and \ 
EphemeralStorage parameters
    * IOTData: publish() can now handle non-Unicode bytes
    * RDS: Automated snapshots now have the appropriate SnapshotType
    * Route53: create_hosted_zone() now returns the Location
    * Scheduler: get_schedule() now returns the CreationDate and LastModificationDate
    * SecretsManager: delete_secret() now throws an error when setting the \ 
Recovery to 0 days
    * StepFunctions: start_execution() now validates the name-length
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2022-11-02 09:45:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-moto: updated to 4.0.9

4.0.9

Miscellaneous:
* CloudTrail: describe_trails() now returns the correct (MultiRegion) trails
* CloudWatch:tag_resource() now allows tagting new Alarms that didn't have tags yet
* EC2: create_instances() now supports the `IamInstanceProfile`-parameter
* EC2: describe_route_tables() now supports the \ 
`route.vpc-peering-connection-id`-filter
* EC2: modify_vpc_attribute() now supports the \ 
enableNetworkAddressUsageMetrics-attribute
* S3: delete_objects() now works against the JS SDK v3.197.0
   2022-10-26 14:58:04 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-moto: updated to 4.0.8

4.0.8

General:
    * Unpins the werkzeug-dependency - Moto now works with werkzeug==2.2.2
    * Fixes the Docker-build to run on M1 Macbooks.

New Services:
    * ServiceQuotas:
        * get_service_quota()
        * list_aws_default_service_quotas()

New Methods:
    * CloudFront: list_invalidations()
    * RDS: modify_db_cluster()

Miscellaneous:
    * Lambda:delete_function() - fixed an issue where the wrong Function would \ 
be deleted when providing a qualifier
    * ECR:put_image() now removes any existing images that have the provided tag
    * IAM:detach_user/group/role_policy() now throws the correct error message \ 
when the policy is not attached in the first place
    * S3:list_object_versions(): Fix delimiter to take prefix into account
    * S3: Now closes file handles as early as possible when deleting \ 
files/multipart uploads
    * Sagamaker:describe_training_job() now throws the correct exception when \ 
trying to explain a non-existing job
   2022-10-19 15:56:34 by Nia Alarie | Files touched by this commit (26)
Log message:
fighting a losing battle against py-cryptography rustification, part 2

Switch users to versioned_dependencies.mk.