File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 76
76
77
77
- name : build
78
78
id : build
79
- uses : neuralmagic/nm-actions/actions/build-ml-whl@v1.18 .0
79
+ uses : neuralmagic/nm-actions/actions/build-ml-whl@c7e5a66c382104e1beadcb7dadf429f8ab15b344 # v1.20 .0
80
80
with :
81
81
dev : false
82
82
release : ${{ inputs.wf_category == 'RELEASE' }}
Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ jobs:
12
12
python-tests :
13
13
runs-on : ubuntu-24.04
14
14
steps :
15
- - uses : actions/setup-python@v4
15
+ - uses : actions/setup-python@v5
16
16
with :
17
17
python-version : ' 3.10'
18
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@v4
19
+ with :
20
+ fetch-depth : 0
21
+ fetch-tags : true
19
22
- name : Set Env
20
23
run : |
21
24
pip3 install --upgrade pip && pip3 install --upgrade setuptools
22
- pip3 install virtualenv
23
- virtualenv venv
24
- source venv/bin/activate
25
25
- name : " ⚙️ Install dependencies"
26
26
run : pip3 install .[dev,accelerate]
27
27
- name : " 🔬 Running tests"
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- requires = [" setuptools" , " wheel" , " setuptools_scm>8 " ]
2
+ requires = [" setuptools" , " wheel" , " setuptools_scm==8.2.0 " ]
3
3
build-backend = " setuptools.build_meta"
4
4
5
- [tool .setuptools_scm ]
6
- version_file = " src/compressed_tensors/version.py"
7
-
8
5
[tool .black ]
9
6
line-length = 88
10
7
target-version = [' py36' ]
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ def _setup_extras() -> Dict:
101
101
use_scm_version = {
102
102
"version_scheme" : version_func ,
103
103
"local_scheme" : localversion_func ,
104
+ "version_file" : "src/compressed_tensors/version.py" ,
104
105
},
105
106
author = "Neuralmagic, Inc." ,
106
107
author_email = "support@neuralmagic.com" ,
You can’t perform that action at this time.
0 commit comments