Skip to content

Reset cache when mypy version changed (or cache format version changed) #1354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gvanrossum opened this issue Apr 8, 2016 · 0 comments
Closed

Comments

@gvanrossum
Copy link
Member

When mypy changes we may want to reset the cache for incremental mode.

In particular when the serialization format changes we should do this (otherwise reading the cache will just crash, currently).

We should probably have some marker file in the cache root directory indicating the version -- or it can be a field in the metadata JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant