Skip to content

Commit ce69dc1

Browse files
authored
ci: fix missing action input (#370)
1 parent 4a7a48c commit ce69dc1

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/actions/pkg-install/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ inputs:
55
install-from:
66
description: "Define if the package is from archive or wheel"
77
required: true
8-
import-name:
9-
description: "Import name to test with after installation"
10-
required: true
118
pkg-folder:
129
description: "Unique name for collecting artifacts"
1310
required: false
@@ -20,6 +17,9 @@ inputs:
2017
description: "additional pip install flags"
2118
required: false
2219
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
2323
custom-import-code:
2424
description: "additional import statement, need to be full python code"
2525
required: false

.github/workflows/check-package.yml

-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ jobs:
161161
uses: ./.cicd/.github/actions/pkg-install
162162
with:
163163
install-from: "archive"
164-
artifact-name: ${{ inputs.artifact-name }}
165164
pkg-extras: ${{ inputs.install-extras }}
166165
pip-flags: ${{ inputs.install-flags }}
167166
import-name: ${{ inputs.import-name }}
@@ -171,7 +170,6 @@ jobs:
171170
uses: ./.cicd/.github/actions/pkg-install
172171
with:
173172
install-from: "wheel"
174-
artifact-name: ${{ inputs.artifact-name }}
175173
pkg-extras: ${{ inputs.install-extras }}
176174
pip-flags: ${{ inputs.install-flags }}
177175
import-name: ${{ inputs.import-name }}

.github/workflows/check-typing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
default: ""
1111
python-version:
1212
description: "Python version to use"
13-
default: "3.9"
13+
default: "3.10"
1414
required: false
1515
type: string
1616
source-dir:

src/lightning_utilities/install/requirements.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from pathlib import Path
88
from typing import Any, Optional, Union
99

10-
from pkg_resources import Requirement, yield_lines
10+
from pkg_resources import Requirement, yield_lines # type: ignore[import-untyped]
1111

1212

1313
class _RequirementWithComment(Requirement):

0 commit comments

Comments
 (0)