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

shakefu / pyconfig
78%

Build:
DEFAULT BRANCH: main
Repo Added 19 Jun 2025 01:17AM UTC
Token sX7ckygWu3glidocFuoAxCRe9r73KgjPW regen
Build 19 Last
Files 2
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • chore/dependency-refresh
  • clean-dirs
  • dependabot/uv/protobuf-5.29.6
  • feat/etcd3
  • modern-pyconfig

06 Nov 2026 02:09AM UTC coverage: 77.595% (+12.8%) from 64.808%
42148465345

push

github

shakefu
fix(etcd): harden the etcd3 integration

- Catch non-ImportError failures importing etcd3 (e.g. TypeError with
  protobuf >= 4) and disable etcd support with a warning, instead of
  crashing the first pyconfig.get() even when etcd isn't configured.
- Keep PYCONFIG_ETCD_AUTH working without TLS: gRPC refuses to send call
  credentials over a plaintext channel, so drop them and rely on the
  token metadata etcd3 also sends.
- Reconnect and retry once when etcd rejects an expired auth token;
  etcd3 never refreshes the token it gets at client creation.
- Warn when TLS is requested via a client cert/key or https protocol
  without a CA cert, since etcd3 then silently connects in plaintext.
- Only load (and watch) keys directly under the prefix, matching the v2
  non-recursive get, and strip the prefix before lower-casing keys.
- Warn on incomplete PYCONFIG_ETCD_AUTH credentials.
- Document the protobuf constraint and TLS/auth behavior in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

38 of 41 new or added lines in 1 file covered. (92.68%)

41 existing lines in 1 file now uncovered.

471 of 607 relevant lines covered (77.59%)

3.1 hits per line

Relevant lines Covered
Build:
Build:
607 RELEVANT LINES 471 COVERED LINES
3.1 HITS PER LINE
Source Files on main
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
42148465345 main fix(etcd): harden the etcd3 integration - Catch non-ImportError failures importing etcd3 (e.g. TypeError with protobuf >= 4) and disable etcd support with a warning, instead of crashing the first pyconfig.get() even when etcd isn't configured... push 06 Nov 2026 02:09AM UTC shakefu github
77.59
41984460419 main chore: refresh dependencies, require Python >=3.10 - Dev group at current majors: pytest 9, pytest-cov 7, coverage 7, coveralls 4, ruff 0.17; floors raised on configargparse, pre-commit, pytest-mock - requires-python >=3.10 (required by pytes... push 05 Nov 2026 07:02AM UTC shakefu github
64.81
15773045976 main chore(pre-commit): add hook for managing the uv lockfile push 20 Jun 2025 06:49AM UTC shakefu github
64.81
15772738652 main Merge pull request #10 from shakefu/modern-pyconfig chore(pyproject): update and add modern repository tooling push 20 Jun 2025 06:28AM UTC web-flow github
64.81
See All Builds (19)

Badge your Repo: pyconfig

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc