Package Details: aws-sam-cli 1.110.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/aws/aws-sam-cli
Licenses: Apache
Submitter: javmorin
Maintainer: javmorin
Last Packager: javmorin
Votes: 11
Popularity: 0.22
First Submitted: 2020-06-11 05:09 (UTC)
Last Updated: 2024-02-22 19:07 (UTC)

Pinned Comments

javmorin commented on 2023-08-24 23:08 (UTC)

v1.94+ introduced a dependency on the type-checking variants of the boto3 library which I need to work on integrating as a dependency.

I have downgraded the package to 1.93 -- the last version pre-typechecking -- for the moment until this is resolved. Anyone who has updated to 1.94+ will need to force the downgrade in their systems.

Latest Comments

1 2 3 Next › Last »

javmorin commented on 2023-08-24 23:08 (UTC)

v1.94+ introduced a dependency on the type-checking variants of the boto3 library which I need to work on integrating as a dependency.

I have downgraded the package to 1.93 -- the last version pre-typechecking -- for the moment until this is resolved. Anyone who has updated to 1.94+ will need to force the downgrade in their systems.

dcooke commented on 2023-08-24 21:59 (UTC)

Missing mypy_boto3_cloudformation on the latest build (1.95.0)

2023-08-24 22:59:14 Command 'deploy' is not configured correctly. Unable to import 'samcli.commands.deploy'
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/samcli/cli/command.py", line 263, in get_command
    mod = importlib.import_module(pkg_name)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/samcli/commands/deploy/__init__.py", line 6, in <module>
    from .command import cli  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/samcli/commands/deploy/command.py", line 39, in <module>
    from samcli.lib.bootstrap.companion_stack.companion_stack_manager import sync_ecr_stack
  File "/usr/lib/python3.11/site-packages/samcli/lib/bootstrap/companion_stack/companion_stack_manager.py", line 10, in <module>
    from mypy_boto3_cloudformation.client import CloudFormationClient
ModuleNotFoundError: No module named 'mypy_boto3_cloudformation'

javmorin commented on 2023-07-10 02:59 (UTC)

@utkarsh thanks for the heads up! This has been resolved alongside the latest version bump.

utkarsh commented on 2023-07-08 10:23 (UTC)

Hi @javmorin,

I think we also need python-rich. Otherwise we get the following error:

$ sam --version
Traceback (most recent call last):
  File "/usr/bin/sam", line 33, in <module>
    sys.exit(load_entry_point('aws-sam-cli==1.86.1', 'console_scripts', 'sam')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/sam", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/samcli/cli/main.py", line 12, in <module>
    from samcli.cli.context import Context
  File "/usr/lib/python3.11/site-packages/samcli/cli/context.py", line 13, in <module>
    from samcli.lib.utils.sam_logging import (
  File "/usr/lib/python3.11/site-packages/samcli/lib/utils/sam_logging.py", line 8, in <module>
    from rich.console import Console
ModuleNotFoundError: No module named 'rich'

null commented on 2023-04-24 20:27 (UTC)

You're right. Sorry I didn't check as I use aurutils which (usually) installs base-devel automatically..

javmorin commented on 2023-04-23 17:18 (UTC)

@null debugedit is depended on by base-devel which is assumed to be installed if you are building AUR packages (see https://wiki.archlinux.org/title/Arch_User_Repository).

Make sure you've updated your base-devel package per https://archlinux.org/news/switch-to-the-base-devel-meta-package-requires-manual-intervention/

null commented on 2023-04-23 17:14 (UTC)

I'm getting many /usr/share/makepkg/tidy/strip.sh: line 48: debugedit: command not found messages while building messages while building in a clean environment. core/debugedit should probably be added to build dependencies.

sedot commented on 2022-11-07 12:57 (UTC)

Thanks @javmorin! I wish my issues with commercial software were handled this professionally. ;)

javmorin commented on 2022-11-03 20:37 (UTC) (edited on 2022-11-03 20:38 (UTC) by javmorin)

I have uploaded 1.61.0-2 which performs a minor sed/patch to avoid inclusion of the files which conflict with the python-installer package. This may only be a temporary fix, as conversation is happening with upstream to resolve this as well.

I will keep this patch in place until resolved upstream; see https://github.com/aws/aws-sam-cli/issues/4375 for that discussion.

javmorin commented on 2022-11-02 18:03 (UTC) (edited on 2022-11-02 19:25 (UTC) by javmorin)

@sedot: This is definitely not intentional. I am looking into it now.

Edit: This unfortunately is an existing issue in how AWS packages the SAM cli.

I need to do more research into whether I can remove the conflicting files and I may need to raise an issue upstream to determine WHY this is the case, in order to do so. In the meantime, you could try the (unrelated) aws-sam-cli-bin package which isolates all the components of aws-sam-cli from the rest of your system. Otherwise you will need to remove python-installer on your system in order to install this package.