File tree 4 files changed +5
-7
lines changed
src/lightning_utilities/install
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 5
5
install-from :
6
6
description : " Define if the package is from archive or wheel"
7
7
required : true
8
- import-name :
9
- description : " Import name to test with after installation"
10
- required : true
11
8
pkg-folder :
12
9
description : " Unique name for collecting artifacts"
13
10
required : false
@@ -20,6 +17,9 @@ inputs:
20
17
description : " additional pip install flags"
21
18
required : false
22
19
default : " -f https://download.pytorch.org/whl/cpu/torch_stable.html"
20
+ import-name :
21
+ description : " Import name to test with after installation"
22
+ required : true
23
23
custom-import-code :
24
24
description : " additional import statement, need to be full python code"
25
25
required : false
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ jobs:
161
161
uses : ./.cicd/.github/actions/pkg-install
162
162
with :
163
163
install-from : " archive"
164
- artifact-name : ${{ inputs.artifact-name }}
165
164
pkg-extras : ${{ inputs.install-extras }}
166
165
pip-flags : ${{ inputs.install-flags }}
167
166
import-name : ${{ inputs.import-name }}
@@ -171,7 +170,6 @@ jobs:
171
170
uses : ./.cicd/.github/actions/pkg-install
172
171
with :
173
172
install-from : " wheel"
174
- artifact-name : ${{ inputs.artifact-name }}
175
173
pkg-extras : ${{ inputs.install-extras }}
176
174
pip-flags : ${{ inputs.install-flags }}
177
175
import-name : ${{ inputs.import-name }}
Original file line number Diff line number Diff line change 10
10
default : " "
11
11
python-version :
12
12
description : " Python version to use"
13
- default : " 3.9 "
13
+ default : " 3.10 "
14
14
required : false
15
15
type : string
16
16
source-dir :
Original file line number Diff line number Diff line change 7
7
from pathlib import Path
8
8
from typing import Any , Optional , Union
9
9
10
- from pkg_resources import Requirement , yield_lines
10
+ from pkg_resources import Requirement , yield_lines # type: ignore[import-untyped]
11
11
12
12
13
13
class _RequirementWithComment (Requirement ):
You can’t perform that action at this time.
0 commit comments