Skip to content
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

Add no-cache-dir to tox install #29024

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2963,9 +2963,12 @@ class BeamModulePlugin implements Plugin<Project> {
}
project.exec {
executable 'sh'
// TODO: https://github.com/apache/beam/issues/29022
// pip 23.3 is failing due to Hash mismatch between expected SHA of the packaged and actual SHA.
// until it is resolved on pip's side, don't use pip's cache.
args '-c', ". ${project.ext.envdir}/bin/activate && " +
"pip install --pre --retries 10 --upgrade pip && " +
"pip install --pre --retries 10 --upgrade tox"
"pip install --pre --retries 10 --upgrade pip --no-cache-dir && " +
"pip install --pre --retries 10 --upgrade tox --no-cache-dir"
}
}
// Gradle will delete outputs whenever it thinks they are stale. Putting a
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/ml/transforms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
TransformedMetadataT = TypeVar('TransformedMetadataT')

# Input/Output types to the MLTransform.
ExampleT = TypeVar('ExampleT')
MLTransformOutputT = TypeVar('MLTransformOutputT')
ExampleT = TypeVar('ExampleT')

# Input to the apply() method of BaseOperation.
OperationInputT = TypeVar('OperationInputT')
Expand Down
Loading