Here I have used the constraints.txt from another repository, but if this approach is considered for this package it should exist within this repository.
Using this file would mean that the file needs to be updated every single time awsebcli is updated, as its version contained in the constrained dependencies above. But we can simple omit entries we do not want constrained and only update other dependencies when there are breaking changes, e.g. lock packages that are not under AWS control and only bump their versions when it would conflict with the AWS owned awsebcli or botocore pakckages.
Issue #, if available:
N/A
Agreement:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
pipx
, a PyPA supported way to install executables in an isolated virtual environment.It is likely that this method obsoletes the scripts in this repository.
Contributor suggestion
As mentioned in section 5.5:
https://github.com/aws/aws-elastic-beanstalk-cli-setup/blob/6b2d6646c728e9ccfc6bb482926bb6ba5451c322/README.md#55-are-there-dependency-problems-that-this-mode-of-installation-doesnt-solve
It is possible for the dependencies of awsebcli to conflict.
A suggestion I have is to use the
--pip-args
argument, to add a--constraint
to the dependencies installed.Example
constraints.txt
file:Example usage of constraints file located from github:
NOTE:
constraints.txt
from another repository, but if this approach is considered for this package it should exist within this repository.awsebcli
is updated, as its version contained in the constrained dependencies above. But we can simple omit entries we do not want constrained and only update other dependencies when there are breaking changes, e.g. lock packages that are not under AWS control and only bump their versions when it would conflict with the AWS ownedawsebcli
orbotocore
pakckages.Issue #, if available:
N/A
Agreement:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.