File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 12
12
from .task import SubmitInfra as SubmitInfra
13
13
from .task import TaskInfra as TaskInfra
14
14
15
- __version__ = "0.4.3 "
15
+ __version__ = "0.4.4 "
Original file line number Diff line number Diff line change @@ -167,13 +167,10 @@ def identify_path(name: str | Path) -> Path:
167
167
"""
168
168
# local files or folder get precedence
169
169
folders = ["." ] + os .environ .get ("PYTHONPATH" , "" ).split (os .pathsep )
170
- print ("ckpt1" )
171
170
for folder in folders :
172
171
fp = Path (folder ) / name
173
172
if fp .exists ():
174
- print ("Exists" , fp )
175
173
return fp .absolute ()
176
- print ("ckpt1" )
177
174
# otherwise check for editable installations
178
175
try :
179
176
pdistrib = metadata .Distribution .from_name (str (name ))
@@ -185,7 +182,6 @@ def identify_path(name: str | Path) -> Path:
185
182
direct_url_json = pdistrib .read_text ("direct_url.json" )
186
183
if direct_url_json is None : # folder
187
184
raise ValueError (f"Package { name } has not been installed from source" )
188
- print ("ckpt2" )
189
185
direct_url = json .loads (direct_url_json )
190
186
pkg_is_editable = direct_url .get ("dir_info" , {}).get ("editable" , False )
191
187
if not pkg_is_editable :
@@ -194,7 +190,6 @@ def identify_path(name: str | Path) -> Path:
194
190
url = direct_url ["url" ]
195
191
if not url .startswith (tag ):
196
192
raise ValueError ("Package url {url} for {name} is not local" )
197
- print ("ckpt3" )
198
193
fp = Path (url [len (tag ) :]) / name
199
194
if not fp .exists ():
200
195
raise ValueError (f"Expected to copy { fp } but there's nothing there" )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "exca"
3
3
readme = " README.md"
4
4
authors = [{name = " Meta FAIR" }]
5
5
requires-python = " >=3.10"
6
- version = " 0.4.3 "
6
+ version = " 0.4.4 "
7
7
description = " Execution and caching tool for python"
8
8
9
9
dependencies = [
You can’t perform that action at this time.
0 commit comments