Skip to content

Commit

Permalink
[YAML] Fix PyPi caching for non-dev beam (#29292)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Kinard <jeff@thekinards.com>
  • Loading branch information
Polber authored Nov 3, 2023
1 parent 058c947 commit e008971
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdks/python/apache_beam/yaml/cache_provider_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#

import logging
import sys
import time

from apache_beam.version import __version__ as beam_version
Expand All @@ -37,7 +38,8 @@ def cache_provider_artifacts():
if '.dev' not in beam_version:
# Also cache a base python venv for fast cloning.
t = time.time()
artifacts = yaml_provider.PypiExpansionService._create_venv_to_clone()
artifacts = yaml_provider.PypiExpansionService._create_venv_to_clone(
sys.executable)
logging.info('Cached %s in %0.03f seconds.', artifacts, time.time() - t)


Expand Down

0 comments on commit e008971

Please sign in to comment.