[MacPorts] #60452: Please update or make make a new py-awscli port for awscli v2
MacPorts
noreply at macports.org
Fri May 8 02:55:46 UTC 2020
#60452: Please update or make make a new py-awscli port for awscli v2
---------------------+-----------------------
Reporter: gittes | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: awscli | Port: py-awscli
---------------------+-----------------------
Hello,
I would like to request, please, to update the port py-awscli or make a
new port to support the new version 2 releases of awscli at version
version 2.0.12. It seems v1 and v2 cannot coexist so maybe it should still
be unfortunately a single port to maintain.
The version 2 branch of awscli has been out for a few months now and the
latest version just came out: [[br]]
https://github.com/aws/aws-cli/blob/2.0.12/CHANGELOG.rst
It looks like it has it's own embedded python for the MacOS pkg official
download but there are instruction to build the "CLI Dev Version" that
involves installing requirements.txt: [[br]]
https://github.com/aws/aws-cli/blob/v2/README.rst#cli-dev-version
Here's the official MacOS pkg install instructions and cliv2 migration
documentation for reference: [[br]]
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html [[br]]
https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html
Homebrew seems to have v1 and v2 separated and blindly just follows those
instructions by gladly doing "pip install -r requirements.txt" in a common
python3 virtualenv so they don't have to worry about defining python
requirements: [[br]]
https://github.com/Homebrew/homebrew-core/blob/master/Formula/awscli.rb
requirements.txt:
{{{
tox>=2.3.1,<3.0.0
wheel==0.24.0
ruamel.yaml>=0.15.0,<0.16.0
-r requirements-test.txt
-r requirements-build.txt
https://github.com/boto/botocore/zipball/v2#egg=botocore
}}}
requirements-test.txt:
{{{
jsonschema==2.5.1
nose==1.3.7
mock==1.3.0
}}}
requirements-build.txt:
{{{
# Requirements we need to run our build jobs for the installers.
# We create the separation for cases where we're doing installation
# from a local dependency directory instead of requirements.txt.
cryptography==2.8
PyInstaller==3.5
}}}
I didn't do much digging but it seems the port was updated in March 22 of
this year for a minor version that was not even the latest of the v1.x
branch so maybe that should at least be bumped in the meantime: [[br]]
https://github.com/macports/macports-
ports/commit/cc27020ec21e875dc928234c51b509383b549784
Newest version of v1 branch is 1.18.55: [[br]]
https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst
I'll make another ticket to bump v1 in the meantime.
Thank you in advance, [[br]]
Chris
--
Ticket URL: <https://trac.macports.org/ticket/60452>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list