• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

release-engineering / cdn-lambda / 42
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: cache-control
DEFAULT BRANCH: master
Ran 17 Mar 2020 12:03AM UTC
Jobs 1
Files 5
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
42

Pull #14

travis-ci

web-flow
Manage and bundle exact dependency versions

Previously, the package produced by "tox -e package" did not
bundle any dependencies.  Although this worked, let's start
bundling dependencies instead and managing their versions,
for a couple of reasons:

- It turns out this is actually the recommended practice even
  for deps such as boto3, despite the lambda runtime providing
  a copy of it; although there is much confusion on this point.
  See [1] for a discussion about this.

- If we don't bundle dependencies, then we have no way to roll
  back changes to those dependencies. This puts us at risk if
  the lambda runtime updates a dependency in a manner such that
  our code stops working.

- We'll likely want to introduce dependencies on some other
  packages owned by ourselves at some point, so let's figure out
  how to do that securely. Declaring dependencies with --hash
  and letting dependabot update them seems to achieve this, and
  dependabot supports updating those automatically while
  maintaining hashes.

For that last point, the version of boto3 included here was
deliberately chosen as a slightly older release, so that we can
try having dependabot update the dependency.

[1] https://www.serverlessops.io/blog/aws-lambda-and-python-boto3-bundling
Pull Request #14: Allow usage of dependencies secured by hash

39 of 39 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42.1 (TOX_ENV=cov-travis) 17 Mar 2020 12:03AM UTC 0
100.0
Travis Job 42.1
Source Files on build 42
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #42
  • Pull Request #14
  • PR Base - master (#39)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc