Jump to solution
Verify

The Fix

pip install stripe==14.4.0a2

Based on closed stripe/stripe-python issue #956 · PR/commit linked

Production note: Most teams hit this during upgrades or environment changes. Roll out with a canary and smoke critical endpoints (health, OpenAPI/docs) before 100%.

Jump to Verify Open PR/Commit
@@ -114,6 +114,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} publish:
repro.py
- name: Calculate and publish coverage run: make coveralls if: env.COVERALLS_REPO_TOKEN && matrix.python-version == '3.10' # <-- is COVERALLS_REPO_TOKEN set in repo secrets ? env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} # <-- might be needed here as well?
verify
Re-run the minimal reproduction on your broken version, then apply the fix and re-run.
fix.md
Option A — Upgrade to fixed release\npip install stripe==14.4.0a2\nWhen NOT to use: Do not apply this fix if the CI environment does not require Coveralls integration.\n\n

Why This Fix Works in Production

  • Trigger: Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.
  • Mechanism: The COVERALLS_REPO_TOKEN was not correctly passed in the CI workflow
  • Why the fix works: Fixes the condition for running Coveralls in the CI workflow by ensuring the COVERALLS_REPO_TOKEN is passed correctly. (first fixed release: 14.4.0a2).
Production impact:
  • If left unfixed, the same config can fail only in production (env differences), causing startup failures or partial feature outages.

Why This Breaks in Prod

  • Shows up under Python 3.10 in real deployments (not just unit tests).
  • The COVERALLS_REPO_TOKEN was not correctly passed in the CI workflow
  • Production symptom (often without a traceback): Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.

Proof / Evidence

Discussion

High-signal excerpts from the issue thread (symptoms, repros, edge-cases).

“Nice catch, @antonblr! We decided to keep running tests twice to keep the workflow simpler.”
@pakrym-stripe · 2023-04-12 · source

Failure Signature (Search String)

  • Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.
Copy-friendly signature
signature.txt
Failure Signature ----------------- Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.

Error Message

Signature-only (no traceback captured)
error.txt
Error Message ------------- Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.

Minimal Reproduction

repro.py
- name: Calculate and publish coverage run: make coveralls if: env.COVERALLS_REPO_TOKEN && matrix.python-version == '3.10' # <-- is COVERALLS_REPO_TOKEN set in repo secrets ? env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} # <-- might be needed here as well?

Environment

  • Python: 3.10

What Broke

Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.

Why It Broke

The COVERALLS_REPO_TOKEN was not correctly passed in the CI workflow

Fix Options (Details)

Option A — Upgrade to fixed release Safe default (recommended)

pip install stripe==14.4.0a2

When NOT to use: Do not apply this fix if the CI environment does not require Coveralls integration.

Use when you can deploy the upstream fix. It is usually lower-risk than long-lived workarounds.

Fix reference: https://github.com/stripe/stripe-python/pull/958

First fixed release: 14.4.0a2

Last verified: 2026-02-08. Validate in your environment.

Get updates

We publish verified fixes weekly. No spam.

Subscribe

When NOT to Use This Fix

  • Do not apply this fix if the CI environment does not require Coveralls integration.

Verify Fix

verify
Re-run the minimal reproduction on your broken version, then apply the fix and re-run.

Did This Fix Work in Your Case?

Quick signal helps us prioritize which fixes to verify and improve.

Prevention

  • Capture the exact failing error string in logs and tests so you can reproduce via a minimal script.
  • Pin production dependencies and upgrade only with a reproducible test that hits the failing path.

Version Compatibility Table

VersionStatus
14.4.0a2 Fixed

Related Issues

No related fixes found.

Sources

We don’t republish the full GitHub discussion text. Use the links above for context.