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

googledatalab / pydatalab / 3114
78%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2018 11:57PM UTC
Jobs 1
Files 98
Run time 8s
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
3114

push

travis-ci

web-flow
Change the log level for 'google.auth._default' to ERROR. (#653)

With version 1.3.0 of the "google-auth-library-python", the behavior
changed so that it logs a warning if it reads the credentials from
a metadata server but gets an empty project ID from that server.

The resulting log message is erroneous, telling the user to call
`gcloud config set project ...` to silence the warning, when in
reality it never looks in the gcloud config for that scenario.

This causes issues if you run Datalab with the fake metadata server
[here](https://github.com/googledatalab/datalab/blob/master/sources/web/datalab/metadata.ts),
but do not provide a value for the project ID.

This change mitigates that issue by raising the log level of the
offending module to `ERROR` prior to fetching the credentials.

The error is then set back to the previous level in case the
user is using the `google.auth._default` module in their own code.

5411 of 6952 relevant lines covered (77.83%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
4 3114.4 (TOX_ENV=coveralls) 10 Jan 2018 11:57PM UTC 0
77.83
Travis Job 3114.4
Source Files on build 3114
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3114
  • f663db7c on github
  • Prev Build on master (#3111)
  • Next Build on master (#3132)
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