public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Revert of aws-cli
Date: Fri, 24 Jan 2025 10:05:33 +0000	[thread overview]
Message-ID: <E7D7DCB2-3890-49C8-99BE-367B76938038@ipfire.org> (raw)
In-Reply-To: <1750b145-4c42-40ab-962e-797d1b831b0c@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 3361 bytes --]

Hello Adolf,

Thanks for looking into this again.

AWS CLI is a bit of a mess…

We are currently on the older Python version which seems to be deprecated for a long time. There is however a newer version that I have been trying to build, but I did not get very far. I cannot remember what I ran into, but I suppose I just gave up at some point because the older version was working just fine for me. I do have a branch with some of the changes I made which I would be happy to pass over if you want to give it a go.

But first back to this one: This version seems to be very unhappy if the version of botocore doesn’t exactly match. Sadly our current build system is not very good at tracking these things, but hopefully that will change in the very near future.

I added a small call of “aws help” to the LFS file, so that we will see if things are actually able to start up. That is pretty much all we can test, but looking back at the problems in the past that we have had with aws-cli, it simply won’t start if it isn’t happy. Once it starts and finds all its dependencies it is happy.

-Michael

P.S. This is the branch with some early things if you want to play around with it: https://git.ipfire.org/?p=people/ms/ipfire-2.x.git;a=shortlog;h=refs/heads/aws-cli

> On 24 Jan 2025, at 09:33, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
> 
> Hi Michael,
> 
> On 23/01/2025 22:51, Michael Tremer wrote:
>> Hello Adolf,
>> Thank you for reading the changes so fast. I already have a build running and updated botocore. Let’s see if that will be enough…
> 
> Looks like I didn't read enough of the info files in the aws-cli tarball.
> 
> There are 5 requirements files provided.
> 
> From those I see that the development of aws-cli is done in tandem with botocore and s3transfer and they are using the latest development branch of both of those programs when working on aws-cli.
> 
> Another file has a range of requirements for other python files.
> 
> This indicates that s3transfer should be >=0.10.0,<0.11.0 and we currently have 0.6.0 but the latest available is 0.11.2 so maybe it has been further updated since the last version of aws-cli.
> 
> That file also says docutils>=0.10,<0.17 but we are already on 0.19 for that package and rsa>=3.1.2,<4.8 but we are already on 4.9 for some time.
> So all the dependencies are not kept properly updated.
> 
> Hopefully it is just botocore and s3transfer that need to be kept linked to latest versions. I will try and remember that these need to be kept updated together with aws-cli.
> 
> Regards,
> 
> Adolf
> 
>> -Michael
>>> On 23 Jan 2025, at 21:49, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>>> 
>>> Hi Michael,
>>> 
>>> I saw that you had to revert the update of aws-cli due to a python module problem at run time. There was no failure or error message during the build unfortunately and nothing in the build log for aws-cli flagging up a too old package.
>>> 
>>> Looking in some of the files in the source tarball it looks like it needs a newer version of python3-botocore.
>>> 
>>> I will do that during my update of python, as the updated aws-cli looks to also require a python of at least 3.12 from another file in the source tarball.
>>> 
>>> Regards,
>>> 
>>> Adolf.
>>> 
>>> 
> 
> -- 
> Sent from my laptop



  reply	other threads:[~2025-01-24 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-23 21:49 Adolf Belka
2025-01-23 21:51 ` Michael Tremer
2025-01-24  9:33   ` Adolf Belka
2025-01-24 10:05     ` Michael Tremer [this message]
2025-01-24 15:27       ` Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E7D7DCB2-3890-49C8-99BE-367B76938038@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox