Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's hard to package version 2 of aws-cli #5282

Open
3 of 5 tasks
graywolf-at-work opened this issue Jun 10, 2020 · 5 comments
Open
3 of 5 tasks

It's hard to package version 2 of aws-cli #5282

graywolf-at-work opened this issue Jun 10, 2020 · 5 comments
Labels
feature-request A feature should be added or improved. installation p2 This is a standard priority issue v2

Comments

@graywolf-at-work
Copy link

Confirm by changing [ ] to [x] below:

Issue is about usage on:

  • Service API : I want to do X using Y service, what should I do?
  • CLI : passing arguments or cli configurations.
  • Other/Not sure.

Platform/OS/Hardware/Device
Archlinux, but this is platform-agnostic issue.

Describe the question
Currently it is really hard to track the aws-cli v2 for the purpose of packaging it. My steps basically are

git checkout TAG
pip install -r requirements.txt
pip install .

and that works fine until there is an update to botocore, since at that
point it will stop being possible to install previous tags. I would like you
to consider making the dev versions in botocore actual tags, so that the
installation will work even after you release new version.

The exact same thing happend yeasterday, there was new botocore released
but 2.0.20 was not (yet), so in that interval it was just not possible to install
it.

But my python-fu is not the strongest, maybe there are flags to pip that would
solve this?

Logs/output
Get full traceback and error logs by adding --debug to the command.

N/A

@graywolf-at-work graywolf-at-work added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Jun 10, 2020
@kdaily kdaily self-assigned this Jun 17, 2020
@kdaily kdaily added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Jun 17, 2020
@kdaily
Copy link
Member

kdaily commented Jun 17, 2020

Hi @graywolf-at-work, thanks for your comment.

I think that you are referring to this line in the requirements.txt file:

https://github.com/aws/aws-cli/blob/v2/requirements.txt#L6

This refers to the tagged v2 branch of botocore (https://github.com/boto/botocore/tree/v2), and installing the package will pull the most recent package from that branch. What you are requesting is that the requirement file here refers to a specific release of botocore instead of tracking the most recent.

Could you make that request on the botocore repository, please? That package will need to be released from the v2 branch in order to refer to a specific version in the requirements file.

@kdaily kdaily added feature-request A feature should be added or improved. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed guidance Question that needs advice or information. investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jun 17, 2020
@kdaily kdaily removed their assignment Jun 18, 2020
@kdaily kdaily removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jun 22, 2020
@onitake
Copy link

onitake commented Sep 24, 2020

@kdaily FWIW, we're facing this problem with the Debian package of awscli: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970804

Since botocore v2 is breaking compatibility with botocore v1 (in addition to a lack of releases), I'd like to ask if it's possible to use awscli v2 with the old botocore? Does it require v2 specifically?

@joshtriplett
Copy link

I don't think using new awscli with old botocore makes sense, but it'd be helpful if it were possible to install the old and new botocore side-by-side. Would it be possible to address that before a release of botocore v2?

@skyzyx
Copy link
Contributor

skyzyx commented Mar 1, 2021

#5578

@kdaily
Copy link
Member

kdaily commented Jun 17, 2021

Hi all,

We recently published an update of what's happening with the AWS CLI. One of the things being worked on is a source distribution for the AWS CLI v2, which should help ease packaging. We'll update with more information once an implementation has been worked out. Thanks!

#6186

@tim-finnigan tim-finnigan added v2 p2 This is a standard priority issue labels Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. installation p2 This is a standard priority issue v2
Projects
None yet
Development

No branches or pull requests

6 participants