<#15609 Pants export no longer caching previous ex...
# github-notifications
q
#15609 Pants export no longer caching previous executions in 2.11.0 New issue created by KevinMarquette Describe the bug I recently upgraded from pants 2.9.0 to 2.11.0 and I noticed that
pants export ::
is not caching previous runs anymore. A full export is happening every time now. Pants version 2.9.0 and 2.11.0 OS ubuntu:20.04 vscode devcontainer (host is OSX) Additional info I ran pants export :: -ldebug twice for each version and clipped the last few lines for each run to indicate execution time. You can see how version 2.9.0 ran in 19 sec the first time and 0.1 seconds the second time. With version 2.11.0, it obviously did not use the cached execution of the previous run.
Copy code
## v2.9.0
19:34:49.45 [DEBUG] Completed: Scheduling: Create virtualenv
Wrote virtualenv for CPython==3.8.* to dist/export/python/virtualenv
19:34:59.55 [DEBUG] Completed: `export` goal
19:34:59.55 [DEBUG] computed 1 nodes in 18.479455 seconds. there are 2158 total nodes.

19:35:20.09 [DEBUG] Dependency SessionValues of Some("@rule(pants.engine.environment.environment_subset())") changed.
Wrote virtualenv for CPython==3.8.* to dist/export/python/virtualenv
19:35:20.17 [DEBUG] Completed: `export` goal
19:35:20.17 [DEBUG] computed 1 nodes in 0.093260 seconds. there are 2160 total nodes.

## V2.11.0
19:36:10.91 [DEBUG] Completed: Scheduling: Get interpreter version
Wrote virtualenv for the resolve 'None' (using CPython==3.8.*) to dist/export/python/virtualenv
19:38:37.53 [DEBUG] Completed: `export` goal
19:38:37.53 [DEBUG] computed 1 nodes in 153.387390 seconds. there are 1911 total nodes.

19:39:26.87 [DEBUG] Dependency SessionValues of Some("@rule(pants.engine.environment.environment_subset())") changed.
Wrote virtualenv for the resolve 'None' (using CPython==3.8.*) to dist/export/python/virtualenv
19:42:26.90 [DEBUG] Completed: `export` goal
19:42:26.90 [DEBUG] computed 1 nodes in 195.992491 seconds. there are 1913 total nodes.
pantsbuild/pants