-
Notifications
You must be signed in to change notification settings - Fork 656
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
Use portable cache from ansible-compat #3180
Conversation
This should make it much easier for use to use the newer caching functions in python across our projects. Related: ansible/molecule#3180
This should make it much easier for use to use the newer caching functions in python across our projects. Related: ansible/molecule#3180
e5ae0a7
to
b870a60
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cache commit seems OK, but this PR also contains setuptools cleanup which should not be part of the current batch of changes.
Sorted. Got combined by mistake while working on different changes. |
This makes the driver version with future versions of molecule, which will no longer have the cache in them. Same kind of change was already merged in two other drivers podman and docker. Related: ansible/molecule#3180
This makes the driver version with future versions of molecule, which will no longer have the cache in them. Same kind of change was already merged in two other drivers podman and docker. Related: ansible/molecule#3180
This simplifies use of caching across multiple versions of Python. Three molecule plugins required patching before this change as they were importing the @cache from molecule.
This should make it much easier for use to use the newer caching functions in python across our projects. Related: ansible/molecule#3180
This simplifies use of caching across multiple versions of Python.
Implementation is inspired from the the approach taken by https://github.com/apache/airflow/ project.
Related: python/mypy#1362