Package Details: awslogs 0.14.0-5

Git Clone URL: https://aur.archlinux.org/awslogs.git (read-only, click to copy)
Package Base: awslogs
Description: AWS CloudWatch logs for Humans™
Upstream URL: https://github.com/jorgebastida/awslogs
Licenses: Apache
Submitter: neg3ntropy
Maintainer: christoph.gysin
Last Packager: christoph.gysin
Votes: 2
Popularity: 0.000000
First Submitted: 2016-03-31 17:07 (UTC)
Last Updated: 2023-05-04 18:22 (UTC)

Latest Comments

1 2 Next › Last »

christoph.gysin commented on 2022-11-16 07:57 (UTC)

@lantw44 Fixed, thanks.

lantw44 commented on 2022-11-14 14:46 (UTC)

There is a typo in the source array: exlude-tests.patch should be exclude-tests.patch.

cloudlena commented on 2022-02-10 10:33 (UTC)

I'm getting

Traceback (most recent call last):
  File "/usr/bin/awslogs", line 33, in <module>
    sys.exit(load_entry_point('awslogs==0.14.0', 'console_scripts', 'awslogs')())
  File "/usr/bin/awslogs", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 928, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for awslogs

whynothugo commented on 2021-08-24 12:46 (UTC)

A make dependency is missing:

==> Starting build()...
Traceback (most recent call last):
  File "/build/awslogs/src/awslogs-0.14.0/setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
==> ERROR: A failure occurred in build().

Diff:

diff --git a/PKGBUILD b/PKGBUILD
index f3eaf51..8338f86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=('python>=3'
          'python-jmespath>=0.7.1' 'python-jmespath<1.0.0'
          'python-termcolor>=1.1.0'
          'python-dateutil>=2.4.0')
-makedepends=('python-wheel')
+makedepends=('python-wheel' 'python-setuptools')
 source=("https://github.com/jorgebastida/${pkgname}/archive/${pkgver}.tar.gz"
         'exclude-tests.patch')
 sha512sums=('73f7d4e983b0a1658027aa88174ced0d2760823463c67832303be72b174ecdfbf6aabd73342634e233afd7736c57d397b55f0db89d0c59392145062de8868241'

christoph.gysin commented on 2021-01-19 20:15 (UTC)

@languitar No. aws-cli-v2 depends on botocore-v2 which has not seen a stable release yet. awslogs depends on boto3, which does not seem to be available for botocore-v2. On top of that, awslogs seems to be unmaintained, so I don't have any hopes that it will support botocore-v2 anytime soon.

languitar commented on 2021-01-19 16:09 (UTC)

Is there any way to make this package work when aws-cli-v2 is installed. Due to the updated boto dependency needed for the v2 version, awslogs stops working right now.

languitar commented on 2020-10-22 08:02 (UTC)

Great. I have opened a bug report upstream to get your patch into the project itself: https://github.com/jorgebastida/awslogs/issues/322

christoph.gysin commented on 2020-10-22 07:57 (UTC)

@languitar Thanks, fixed.

languitar commented on 2020-10-22 07:32 (UTC)

The package currently includes the unit tests files under the very generic module name tests. This can result in conflicts, for instance, with python-hypothesis, which - unfortunately - also uses this very generic package name:

❯ pacman -Ql awslogs
awslogs /usr/
awslogs /usr/bin/
awslogs /usr/bin/awslogs
...
awslogs /usr/lib/python3.8/site-packages/awslogs/bin.py
awslogs /usr/lib/python3.8/site-packages/awslogs/core.py
awslogs /usr/lib/python3.8/site-packages/awslogs/exceptions.py
awslogs /usr/lib/python3.8/site-packages/tests/
awslogs /usr/lib/python3.8/site-packages/tests/__init__.py
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/__init__.cpython-38.opt-1.pyc
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/__init__.cpython-38.pyc
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/test_it.cpython-38.opt-1.pyc
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/test_it.cpython-38.pyc
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/test_versions.cpython-38.opt-1.pyc
awslogs /usr/lib/python3.8/site-packages/tests/__pycache__/test_versions.cpython-38.pyc
awslogs /usr/lib/python3.8/site-packages/tests/test_it.py
...

christoph.gysin commented on 2020-10-14 06:34 (UTC)

@kbar What version of botocore do you have installed? You might want to update your system.