run-cache 2.1.1__tar.gz → 2.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. {run_cache-2.1.1 → run_cache-2.2.0}/PKG-INFO +1 -1
  2. run_cache-2.2.0/src/dbt_run_cache/_version.py +1 -0
  3. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/plugin.py +15 -5
  4. run_cache-2.1.1/src/dbt_run_cache/_version.py +0 -1
  5. {run_cache-2.1.1 → run_cache-2.2.0}/.gitignore +0 -0
  6. {run_cache-2.1.1 → run_cache-2.2.0}/pyproject.toml +0 -0
  7. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/__init__.py +0 -0
  8. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/_typing.py +0 -0
  9. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/__init__.py +0 -0
  10. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/base.py +0 -0
  11. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/bigquery.py +0 -0
  12. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/clock.py +0 -0
  13. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/common.py +0 -0
  14. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/databricks.py +0 -0
  15. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/postgres.py +0 -0
  16. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/snowflake.py +0 -0
  17. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/__init__.py +0 -0
  18. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/grpc.py +0 -0
  19. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/oauth_clients.py +0 -0
  20. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/sso.py +0 -0
  21. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/sso_server.py +0 -0
  22. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/utils.py +0 -0
  23. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/__init__.py +0 -0
  24. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/auth.py +0 -0
  25. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/explainer.py +0 -0
  26. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/main.py +0 -0
  27. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/config.py +0 -0
  28. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/decision_logger.py +0 -0
  29. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/dev_cloner.py +0 -0
  30. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/dispatcher.py +0 -0
  31. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/errors.py +0 -0
  32. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/events.py +0 -0
  33. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/git.py +0 -0
  34. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/grpc/__init__.py +0 -0
  35. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/grpc/client.py +0 -0
  36. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/grpc/interceptors.py +0 -0
  37. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/profiles.py +0 -0
  38. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/relation.py +0 -0
  39. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/run_cache.py +0 -0
  40. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/runner.py +0 -0
  41. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/selector.py +0 -0
  42. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/session.py +0 -0
  43. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/system_info.py +0 -0
  44. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/utils.py +0 -0
  45. {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: run-cache
3
- Version: 2.1.1
3
+ Version: 2.2.0
4
4
  Summary: dbt plugin that skips redundant model executions by caching results from previous runs
5
5
  Project-URL: Homepage, https://runcache.com
6
6
  License: Copyright (c) 2026 Fivetran, Inc.
@@ -0,0 +1 @@
1
+ __version__ = "2.2.0"
@@ -222,11 +222,21 @@ class RunCachePlugin(dbtPlugin):
222
222
  pass
223
223
  return
224
224
 
225
- # Important: These imports must come after the disabled check to avoid importing local modules that may have side effects when the plugin is disabled
226
- try:
227
- install_turbo()
228
- except Exception:
229
- logging.getLogger(__name__).debug("Failed to install turbo", exc_info=True)
225
+ # Important: These imports must come after the main disabled check to avoid importing local modules that may have side effects when the plugin is disabled
226
+ turbo_disabled_value = (
227
+ os.getenv("RUN_CACHE_TURBO_DISABLED") or os.getenv("DBT_RUN_CACHE_TURBO_DISABLED") or ""
228
+ )
229
+ turbo_explicitly_disabled = turbo_disabled_value.lower() in _DISABLED_VALUES
230
+ logger = logging.getLogger(__name__)
231
+
232
+ if not turbo_explicitly_disabled:
233
+ try:
234
+ install_turbo()
235
+ except Exception:
236
+ logger.debug("Failed to install turbo", exc_info=True)
237
+ else:
238
+ # A user may choose to explicitly disable run-cache-turbo to troubleshoot cache-related errors
239
+ logger.debug("Run cache turbo is disabled")
230
240
 
231
241
  from dbt_run_cache import events
232
242
  from dbt_run_cache.version import __version__
@@ -1 +0,0 @@
1
- __version__ = "2.1.1"
File without changes
File without changes