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%.
@@ -114,6 +114,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
publish:
- 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?
Re-run the minimal reproduction on your broken version, then apply the fix and re-run.
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).
- 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
- GitHub issue: #956
- Fix PR: https://github.com/stripe/stripe-python/pull/958
- First fixed release: 14.4.0a2
- Reproduced locally: No (not executed)
- Last verified: 2026-02-08
- Confidence: 0.75
- Did this fix it?: Yes (upstream fix exists)
- Own content ratio: 0.66
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.”
Failure Signature (Search String)
- Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.
Copy-friendly signature
Failure Signature
-----------------
Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.
Error Message
Signature-only (no traceback captured)
Error Message
-------------
Code coverage reports have stopped being generated in CI, affecting visibility into test coverage.
Minimal Reproduction
- 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
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.
When NOT to Use This Fix
- Do not apply this fix if the CI environment does not require Coveralls integration.
Verify Fix
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
| Version | Status |
|---|---|
| 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.