Package Details: awslogs 0.14.0-3

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: 4
Popularity: 0.52
First Submitted: 2016-03-31 17:07
Last Updated: 2021-08-27 11:59

Latest Comments

whynothugo commented on 2021-08-24 12:46

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

@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

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

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

@languitar Thanks, fixed.

languitar commented on 2020-10-22 07:32

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

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

kbar commented on 2020-10-14 05:45

pkg_resources.DistributionNotFound: The 'botocore<1.19.0,>=1.18.11' distribution was not found and is required by boto3

christoph.gysin commented on 2019-05-15 06:49

Similar issue again: pkg_resources.DistributionNotFound: The 'urllib3<1.25,>=1.20' distribution was not found and is required by botocore

ainola commented on 2018-01-08 07:08

Thanks for maintaining! I'm getting this error when running 'awslogs':

pkg_resources.DistributionNotFound: The 'botocore<1.9.0,>=1.8.21' distribution was not found and is required by boto3