Skip to content

Commit

Permalink
Add no-cache-dir to tox install (#29024)
Browse files Browse the repository at this point in the history
* Add no-cache-dir to tox install

* Temp change
  • Loading branch information
AnandInguva authored Oct 16, 2023
1 parent 7df9b24 commit a6917d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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

0 comments on commit a6917d4

Please sign in to comment.