azure-cli package could lose some weight
The `azure-cli` package (Ubuntu Xenial) could stand to lose some weight. π² and π³ don't begin to describe my reaction at the size difference between the AWS CLI and the Azure CLI packages. ``` Package: awscli Version: 1.11.13-1ubuntu1~16.04.0 Depends: python3, python3-botocore (>= 1.4.70), python3-colorama, python3-docutils, python3-rsa, python3-s3transfer, python3:any (>= 3.3.2-2~) Installed-Size: 2.9 MB Package: azure-cli Version: 2.0.45-1~xenial Installed-Size: 347 MB Depends: libc6 (>= 2.17), libssl1.0.0 (>= 1.0.2~beta3) ``` * Why must the package bundle its own version of Python 3.6? Couldn't it just depend on a system `python3` (on platforms where it is known there is a recent enough Python 3)? * Why does that bundled version also include the Python 3.6 test suite (55.8 MB)? * Why are all .py files precompiled to .pyc (twice in the case of the stdlib)? * Why are the py2 versions of all files with `_py3` variants even included if `az` is always run with Python 3? It's also not just about the size; install speed is also a thing. It takes 50 seconds to install the single `azure-cli` package on Azure machine, with its 39 000 files (`dpkg-query -L azure-cli | wc -l`: 39094), just a little less than installing the twentyish packages that comprise all of `awscli`'s dependencies (that can be used by other software on the system).
Posted by akx on Sep 21, 2018, 2:32 PM
Tags
Related issues
- Qt is fully of bugs on Wayland, some of which are unfixable because the API makes guarantees that are impossible to uphold.
- I took the plunge into GrapheneOS a week ago.
- [FEATURE] Multi-device Cowork: Allow concurrent Cowork agents on multiple machines under a single account
- [BUG] Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
- Those cheap Bluetooth Tesla coils on AliExpress use A2DP audio as their control signal - a comparator converts the audio into spark pulses.
- [Prisma 7.0.0] TypeScript TS2742 errors with pnpm monorepo - cannot resolve @prisma/client-runtime-utils types
Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments
onboarding (SaaS)
Qt is fully of bugs on Wayland, some of which are unfixable because the API makes guarantees that are impossible to uphold.
I took the plunge into GrapheneOS a week ago.
[FEATURE] Multi-device Cowork: Allow concurrent Cowork agents on multiple machines under a single account
[BUG] Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
Those cheap Bluetooth Tesla coils on AliExpress use A2DP audio as their control signal - a comparator converts the audio into spark pulses.
[Prisma 7.0.0] TypeScript TS2742 errors with pnpm monorepo - cannot resolve @prisma/client-runtime-utils types
I built a routine management app for my kids (7 and 10) called "Oh Yah!" after their constant "Oh yah!
> If it is open source, then I can build and install it myself.
azure-cli package could lose some weight
The `azure-cli` package (Ubuntu Xenial) could stand to lose some weight. π² and π³ don't begin to describe my reaction at the size difference between the AWS CLI and the Azure CLI packages. ``` Package: awscli Version: 1.11.13-1ubuntu1~16.04.0 Depends: python3, python3-botocore (>= 1.4.70), python3-colorama, python3-docutils, python3-rsa, python3-s3transfer, python3:any (>= 3.3.2-2~) Installed-Size: 2.9 MB Package: azure-cli Version: 2.0.45-1~xenial Installed-Size: 347 MB Depends: libc6 (>= 2.17), libssl1.0.0 (>= 1.0.2~beta3) ``` * Why must the package bundle its own version of Python 3.6? Couldn't it just depend on a system `python3` (on platforms where it is known there is a recent enough Python 3)? * Why does that bundled version also include the Python 3.6 test suite (55.8 MB)? * Why are all .py files precompiled to .pyc (twice in the case of the stdlib)? * Why are the py2 versions of all files with `_py3` variants even included if `az` is always run with Python 3? It's also not just about the size; install speed is also a thing. It takes 50 seconds to install the single `azure-cli` package on Azure machine, with its 39 000 files (`dpkg-query -L azure-cli | wc -l`: 39094), just a little less than installing the twentyish packages that comprise all of `awscli`'s dependencies (that can be used by other software on the system).
Comments (0)
No comments yet. Start the discussion.