-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Labels
aiplatformIssues related to the AI Platform (Unified) API.Issues related to the AI Platform (Unified) API.api: vertex-aiIssues related to the googleapis/python-aiplatform API.Issues related to the googleapis/python-aiplatform API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
shutil.copytree(self.script_path, trainer_path, dirs_exist_ok=True) |
See https://docs.python.org/3/whatsnew/3.8.html#shutil
Need to replace with something else to support <3.8 or else an exception occurs.
TODO:
- Replace shutil.copytree with something more compatible
- Add unit test to cover passing in a folder to
_TrainingScriptPythonPackager
Metadata
Metadata
Assignees
Labels
aiplatformIssues related to the AI Platform (Unified) API.Issues related to the AI Platform (Unified) API.api: vertex-aiIssues related to the googleapis/python-aiplatform API.Issues related to the googleapis/python-aiplatform API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.