Package Details: aws-sam-cli 1.22.0-1

Git Clone URL: https://aur.archlinux.org/aws-sam-cli.git (read-only, click to copy)
Package Base: aws-sam-cli
Description: CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
Upstream URL: https://github.com/awslabs/aws-sam-cli
Licenses: Apache
Submitter: javmorin
Maintainer: javmorin
Last Packager: javmorin
Votes: 6
Popularity: 0.25
First Submitted: 2020-06-11 05:09
Last Updated: 2021-04-07 00:33

Pinned Comments

javmorin commented on 2021-01-13 16:12

Firstly, apologies for the disruption.

The python-aws_lambda_builders dependency package is in the process of a rename and the aws-sam-cli package release bump to change the dependency was not pushed as expected. This has now been corrected, and your tools should prompt for the install of the new python-aws-lambda-builders package.

Please install the new python-aws-lambda-builders package, which should prompt to replace the old python-aws_lambda_builders package.

Latest Comments

javmorin commented on 2021-03-09 23:05

@cortiz - your issue is with a different package that uses the AWS bundled version of the client.

cortiz commented on 2021-03-09 22:55

==> Making package: aws-sam-cli-bin 1.20.0-1 (Tue 09 Mar 2021 04:54:46 PM CST) ==> Retrieving sources... -> Found aws-sam-cli-linux-x86_64.zip ==> Validating source files with sha256sums... aws-sam-cli-linux-x86_64.zip ... FAILED ==> ERROR: One or more files did not pass the validity check! error downloading sources: aws-sam-cli-bin

enanone commented on 2021-01-13 20:01

Hey @javmorin, thank you very much!! :D

javmorin commented on 2021-01-13 16:12

Firstly, apologies for the disruption.

The python-aws_lambda_builders dependency package is in the process of a rename and the aws-sam-cli package release bump to change the dependency was not pushed as expected. This has now been corrected, and your tools should prompt for the install of the new python-aws-lambda-builders package.

Please install the new python-aws-lambda-builders package, which should prompt to replace the old python-aws_lambda_builders package.

enanone commented on 2021-01-13 09:17

There is some problem with the python-aws_lambda_builders dependency. I have this stacktrace

==> Installing missing dependencies...
error: target not found: python-aws-lambda-builders
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python-aws-lambda-builders

But I do have python-aws_lambda_builders installed:

$ pacman -Q python-aws_lambda_builders # python-aws_lambda_builders 1.1.0-1

Why was the dependency name changed? How do I fix this?

EDIT: Rebuilding the dependency python-aws_lambda_builders with git pull && makepkg does not fix the problem

javmorin commented on 2020-11-16 20:20

@boletus_aereus I don't use that functionality, so I cannot verify it myself. As this package just installs the upstream code as-is, I would suggest reviewing the open issues on GitHub (https://github.com/awslabs/aws-sam-cli), and filing one if you don't find your answer there.

boletus_aereus commented on 2020-11-16 18:45

HI, I'm experiencing some trouble when I run "sam deploy --guided" command

Before updating this package it use to works perfect


Traceback (most recent call last):
  File "/usr/bin/sam", line 33, in <module>
    sys.exit(load_entry_point('aws-sam-cli==1.9.0', 'console_scripts', 'sam')())
  File "/usr/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/click/decorators.py", line 73, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/samcli/lib/telemetry/metrics.py", line 148, in wrapped
    raise exception  # pylint: disable=raising-bad-type
  File "/usr/lib/python3.8/site-packages/samcli/lib/telemetry/metrics.py", line 114, in wrapped
    return_value = func(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/samcli/commands/deploy/command.py", line 175, in cli
    do_cli(
  File "/usr/lib/python3.8/site-packages/samcli/commands/deploy/command.py", line 248, in do_cli
    guided_context.run()
  File "/usr/lib/python3.8/site-packages/samcli/commands/deploy/guided_context.py", line 201, in run
    self.guided_prompts(_parameter_override_keys)
  File "/usr/lib/python3.8/site-packages/samcli/commands/deploy/guided_context.py", line 132, in guided_prompts
    s3_bucket = manage_stack(profile=self.profile, region=region)
  File "/usr/lib/python3.8/site-packages/samcli/lib/bootstrap/bootstrap.py", line 27, in manage_stack
    cloudformation_client = boto3.client("cloudformation", config=Config(region_name=region if region else None))
  File "/usr/lib/python3.8/site-packages/boto3/__init__.py", line 91, in client
    return _get_default_session().client(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/boto3/session.py", line 258, in client
    return self._session.create_client(
TypeError: create_client() got an unexpected keyword argument 'api_version'

boletus_aereus commented on 2020-11-11 14:25

Hi, could you please upgrade package to latest version? I think is 1.9. Thanks in advance

boggogo commented on 2020-09-30 22:08

Thank you for the package! Much appreciated! :)

igalmarino commented on 2020-07-20 23:41

Works great ! Thank you very much.