Skip to content

Commit

Permalink
[Build] Update python version in CI (mlrun#620)
Browse files Browse the repository at this point in the history
* [Build] Install python 3.9 when testing

* [Build] Update python version in CI

* .
  • Loading branch information
yonishelach authored Apr 19, 2023
1 parent 3301415 commit 0cd1f15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
# Install dependencies
- uses: actions/cache@v1
id: cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
# Install dependencies
- uses: actions/cache@v1
id: cache
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
# - name: Install python
# uses: actions/setup-python@v2
# with:
# python-version: 3.7
# python-version: 3.9
# # Install dependencies
# - uses: actions/cache@v1
# id: cache
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- name: Install requirements
run: |
cd functions
Expand Down
2 changes: 1 addition & 1 deletion cli/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def install_pipenv():
def install_python(directory: Union[str, Path]):
print(f"Installing python for {directory}...")
python_install: subprocess.CompletedProcess = subprocess.run(
f"pipenv --rm;pipenv --python 3.9.13",
f"pipenv --rm;pipenv --python 3.9",
stdout=sys.stdout,
stderr=subprocess.PIPE,
cwd=directory,
Expand Down

0 comments on commit 0cd1f15

Please sign in to comment.