So you want your v2 python library to be v1 compatible. Mapping the API via annotations is a nightmare, few people use `__all__` rigorously as a surrogate for scope contracts, maybe the suite of unit tests against the public interface of v1 could be run against v2. In other words, every upgrade copy the test suite and then use venv tricks to see if v1 unit tests pass on v1 and v2.
Post
March 26, 2026