question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Must pip install every AWS service

See original GitHub issue

Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository’s issues are intended for feature requests and bug reports.

  • I’m submitting a …

    • 🪲 bug report
    • 🚀 feature request
    • 📚 construct library gap
    • ☎️ security issue or vulnerability => Please see policy
    • ❓ support request => Please see note at the top of this template.
  • What is the current behavior? If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce Some Python developers don’t like having to pip install a package for every AWS service they want to use in their CDK apps. In their own words:

  • “Vending all of the services as separate pip packages isn’t the easiest to work with”
  • “Constantly going back and forth for a pypi package was a pain.”
  • “not a huge fan of having to install each service separately, feels very npm-ish”
  • “upgrading all my pip modules to the latest release was also kind of a pain.”
  • “… first thought is… holy crap, that’s really granular. This isn’t node, people. Python folks do not expect that kind of granular packages!”
  • What is the expected behavior (or behavior of feature suggested)?

1 package to rule them all

  • What is the motivation / use case for changing the behavior or adding this feature?

a more Pythonic developer experience

  • Please tell us about your environment:

    • Language: [ Python ]
  • Other information As an alternative approach to a monolithic package, what if there were init templates for Python CDK projects that populated the requirements.txt file with some or all of the modularized packages. For example cdk init --language python all references every CDK package in requirements.txt so that pip install -r requirements.txt gets everything. The ‘Lambda’ template creates a requirements.txt that references the Lambda, APIGateway, DynamoDB, S3, SNS, and SQS packages; ‘containers’ - ECS, ECR, EKS, and EC2; and so on.

Would this address the problem?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
hoegertncommented, Jun 26, 2019

What about providing a “bill-of-materials” package that depends on all packages. So each developer could decide to use individual packages or just add the bom-package?

0reactions
github-actions[bot]commented, Jun 3, 2022

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specifying dependencies using a requirements file
The standard tool for installing Python packages is pip . It has a feature that allows you to specify all the packages you...
Read more >
Installing Python dependencies
This page describes the steps to install Apache Airflow Python dependencies on your Amazon Managed Workflows for Apache Airflow (MWAA) environment using a ......
Read more >
Install Python, pip, and the EB CLI on Linux
Install Python, pip, and the EB CLI on Linux · Run the script with Python. $ python3 get-pip.py --user Collecting pip Downloading pip-8.1....
Read more >
Configure and use pip with CodeArtifact
To use pip to install Python packages from your CodeArtifact repository, you must first configure the pip client with your CodeArtifact repository ...
Read more >
Using Python libraries with AWS Glue
AWS Glue lets you install additional Python modules and libraries for use ... Dependencies must be hosted in Amazon S3 and the argument...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found