⚡ Solution Summary

  • Tests directory was removed in 13.0.0
  • Re-added in version 13.0.1
  • Ensure to use the latest version for complete source distribution.
### Describe the bug Up to 12.5.1, the source distribution archive on PyPI included the `tests` directory. However, 13.0.0 no longer features this directory. Having tests in source distribution is quite important for downstream packaging, see: https://packaging.python.org/en/latest/discussions/downstream-packaging/#provide-complete-source-distributions. Could you readd them, please? ### To Reproduce 1. Download `stripe-13.0.0.tar.gz` from https://pypi.org/project/stripe/13.0.0/#files 2. Unpack. ### Expected behavior `tests` directory. ### Code snippets ```Python ``` ### OS Gentoo Linux ### Language version n/a ### Library version 13.0.0 ### API version n/a ### Additional context _No response_

Discussion & Fixes

xavdid-stripe 2025-10-02
Ah, sorry about that! I didn't think tests needed to be part of the sdist, so I removed them. Easy to re-add though. Just to confirm, do you just need the `tests` directory? Or do you need things we use to run the tests as well? Right now that's probably also the `justfile` (we no longer use the `Makefile`, I was going to remove it) and `deps/test-requirements.txt` (though we were going to move from those requirements files to dependency groups in `pyproject.toml` at some point).
mgorny 2025-10-03
I personally just need the `tests` directory (and anything else that could be required by `pytest`, if tests require some extra files). Other files may be convenient to users, though.
xavdid-stripe 2025-10-03
This is fixed in 13.0.1. Thanks for flagging!
mgorny 2025-10-04
Thanks!

Get updates

We publish verified fixes weekly. No spam.

Subscribe