SAME-Project / same-project

https://sameproject.ml/
Apache License 2.0
20 stars 8 forks source link

Support pip requirements files in SAME config. #117

Closed Bubblyworld closed 2 years ago

Bubblyworld commented 2 years ago

See #93. Allows for the specification of a requirements field in the notebook section of your same.yaml:

apiVersion: projectsame.io/v1alpha1
metadata:
  name: requirements_file
  version: 0.0.1
notebook:
  name: "requirements_file"
  path: requirements_file.ipynb
  requirements: requirements.txt
environments:
  default:
    image_tag: library/python:3.9-slim-buster
run:
  name: "requirements_file"
  sha: 24a95219b3fce8402561d6b713bb435d6d5d51f2132d3c32703df8562db5b718

This requirements file is then injected into kubeflow step components and installed with pip before running the user's notebook code.

github-actions[bot] commented 2 years ago

Unit Test Results

  1 files    1 suites   42s :stopwatch: 71 tests 57 :heavy_check_mark: 14 :zzz: 0 :x:

Results for commit 84bf313d.