running 69k tests by default in an install is really, really abnormal behavior for an AUR package. Please disable the test suite by default. it's crazy that if i don't want to sit and watch it spin for 20 minutes I have to come here to find directions to disable the checks (which disables all the well-behaved checks of other packages as well)
Search Criteria
Package Details: aws-cli-v2 2.22.21-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/aws-cli-v2.git (read-only, click to copy) |
---|---|
Package Base: | aws-cli-v2 |
Description: | Unified command line interface for Amazon Web Services (version 2) |
Upstream URL: | https://github.com/aws/aws-cli/tree/v2 |
Licenses: | Apache-2.0 |
Conflicts: | aws-cli |
Provides: | aws-cli |
Submitter: | jelly |
Maintainer: | kstolp |
Last Packager: | kstolp |
Votes: | 29 |
Popularity: | 2.88 |
First Submitted: | 2024-04-21 11:04 (UTC) |
Last Updated: | 2024-12-20 03:52 (UTC) |
Dependencies (20)
- python (python37AUR, python311AUR, python310AUR)
- python-awscrt
- python-certifi
- python-colorama (python-colorama-gitAUR)
- python-cryptography
- python-dateutil
- python-distro
- python-docutils
- python-jmespath
- python-prompt_toolkit
- python-ruamel-yaml (python-ruamel-yaml-hgAUR)
- python-urllib3
- python-build (make)
- python-flit-core (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR) (check)
- python-jsonschema (check)
- python-pytest (check)
- python-pytest-xdist (check)
Required by (19)
- arkade-bin (requires aws-cli) (optional)
- aurbuilder-git
- awj-git (requires aws-cli)
- aws-credential-1password (requires aws-cli) (optional)
- aws-session-manager-plugin (requires aws-cli)
- aws2-wrap (requires aws-cli)
- curam-git (requires aws-cli)
- datomic-cli (requires aws-cli)
- git-remote-codecommit (requires aws-cli)
- k3sup-bin (requires aws-cli) (optional)
- lambroll-bin (requires aws-cli) (optional)
- liquidprompt (requires aws-cli) (optional)
- porter-bin (requires aws-cli) (optional)
- python-awscli-plugin-endpoint (requires aws-cli)
- python-pdf2video (requires aws-cli)
- rattlesnakeos-stack-bin (requires aws-cli) (optional)
- scwrypts (optional)
- statsite (requires aws-cli) (optional)
- stsauth (requires aws-cli) (make)
Sources (9)
samthurston commented on 2024-05-17 21:55 (UTC)
n1ngu commented on 2024-05-17 09:16 (UTC)
If anyone runs into the error
AttributeError: 'ExternalAliasCommand' object has no attribute 'subcommand_table'
this is because for some (wrong?) reason the build is trying to generate autocompletion for your local cli aliases.
A workaround is to remove and restore your aliases while building.
mv ~/.aws/cli/alias ~/.aws/cli/.alias
# build!
mv ~/.aws/cli/.alias ~/.aws/cli/alias
I don't think it makes any sense to try to generate autocompletion for local aliases. This might be an upstream issue but this AUR package would really help being chrooted while being built!
rakatan commented on 2024-05-15 19:53 (UTC)
another way to fix tests is to set the timezone to UTC:
env TZ=UTC paru aws-cli-v2
mitch_feaster commented on 2024-05-15 19:30 (UTC) (edited on 2024-05-15 19:30 (UTC) by mitch_feaster)
No, users should not be responsible for running the test suite for every package they install on their system. They can if they want but it certainly shouldn't be the default.
The tests are run during development, integration, and release. Re-testing an already tested release on every install is a waste of time and compute resources.
GrzegorzKozub commented on 2024-05-14 05:28 (UTC)
For paru
, use --nocheck
to skip the check()
function which contains the tests:
paru -S --aur --noconfirm --nocheck aws-cli-v2
ei-grad commented on 2024-05-13 07:24 (UTC) (edited on 2024-05-13 07:25 (UTC) by ei-grad)
Solved by !check in makepkg.conf
This should be mentioned in a pinned comment.
a2sc commented on 2024-05-06 13:30 (UTC)
in respect to https://docs.aws.amazon.com/cli/latest/userguide/getting-started-version.html , the key A6310ACC4672475C has to be added with gpg
ksuhiyp commented on 2024-05-06 11:19 (UTC)
disabling checks in yay can be done like this
yay -S package-name --mflags "--nocheck"
debendraoli commented on 2024-05-03 03:55 (UTC) (edited on 2024-05-03 03:58 (UTC) by debendraoli)
I never get to install this pkg due to test failures.
So frustrated, I'm going to release bin version of this pkg.
--nocheck
is not supported on yay
.
Pinned Comments
kstolp commented on 2024-10-23 05:14 (UTC)
If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.
You have two options:
1) Import the key into your keyring. ArchWiki article. The key is available in this repo, which is copied from the AWS documentation. e.g.
gpg --import keys/pgp/FB5DB77FD5C118B80511ADA8A6310ACC4672475C.asc
. (recommended)2) Alternatively, you can skip this verification by passing the
--skippgpcheck
argument tomakepkg
when building. (not recommended)