Advertisement
fortminors

Untitled

Mar 30th, 2023
732
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 145.79 KB | None | 0 0
  1. (py311) C:\Users\<user>\Desktop>gto --traceback describe --repo https://<user>:<token>@<repo>.git <model_name>@latest
  2. ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
  3. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:620 in _rmtree_unsafe                         │
  4. │                                                                                                  │
  5. │    617 │   │   │   _rmtree_unsafe(fullname, onerror)                                             │
  6. │    618 │   │   else:                                                                             │
  7. │    619 │   │   │   try:                                                                          │
  8. │ ❱  620 │   │   │   │   os.unlink(fullname)                                                       │
  9. │    621 │   │   │   except OSError:                                                               │
  10. │    622 │   │   │   │   onerror(os.unlink, fullname, sys.exc_info())                              │
  11. │    623 │   try:                                                                                  │
  12. │                                                                                                  │
  13. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  14. │ │    entries = [                                                                               │ │
  15. │ │              │   <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'>,             │ │
  16. │ │              │   <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.pack'>             │ │
  17. │ │              ]                                                                               │ │
  18. │ │      entry = <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'>                  │ │
  19. │ │   fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pac… │ │
  20. │ │    onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0>    │ │
  21. │ │       path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack'      │ │
  22. │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2F65530>                               │ │
  23. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  24. ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
  25. PermissionError: [WinError 5] Access is denied:
  26. 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4
  27. .idx'
  28.  
  29. During handling of the above exception, another exception occurred:
  30.  
  31. ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
  32. │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:878 in onerror                              │
  33. │                                                                                                  │
  34. │   875 │   │   │   │   │   resetperms(path)                                                       │
  35. │   876 │   │   │   │   │                                                                          │
  36. │   877 │   │   │   │   │   try:                                                                   │
  37. │ ❱ 878 │   │   │   │   │   │   _os.unlink(path)                                                   │
  38. │   879 │   │   │   │   │   # PermissionError is raised on FreeBSD for directories                 │
  39. │   880 │   │   │   │   │   except (IsADirectoryError, PermissionError):                           │
  40. │   881 │   │   │   │   │   │   cls._rmtree(path, ignore_errors=ignore_errors)                     │
  41. │                                                                                                  │
  42. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  43. │ │           cls = <class 'tempfile.TemporaryDirectory'>                                        │ │
  44. │ │      exc_info = (                                                                            │ │
  45. │ │                 │   <class 'PermissionError'>,                                               │ │
  46. │ │                 │   PermissionError(13, 'Access is denied'),                               │ │
  47. │ │                 │   <traceback object at 0x0000013DE5CC5280>                                 │ │
  48. │ │                 )                                                                            │ │
  49. │ │          func = <built-in function unlink>                                                   │ │
  50. │ │ ignore_errors = False                                                                        │ │
  51. │ │          name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                        │ │
  52. │ │          path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
  53. │ │    resetperms = <function TemporaryDirectory._rmtree.<locals>.onerror.<locals>.resetperms at │ │
  54. │ │                 0x0000013DE5CBC5E0>                                                          │ │
  55. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  56. ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
  57. PermissionError: [WinError 5] Access is denied:
  58. 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4
  59. .idx'
  60.  
  61. During handling of the above exception, another exception occurred:
  62.  
  63. ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
  64. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\git_utils.py:28 in from_repo          │
  65. │                                                                                                  │
  66. │    25 │   ):                                                                                     │
  67. │    26 │   │   if isinstance(repo, str) and is_url_of_remote_repo(repo_path=repo):                │
  68. │    27 │   │   │   try:                                                                           │
  69. │ ❱  28 │   │   │   │   with cloned_git_repo(repo=repo) as tmp_dir:                                │
  70. │    29 │   │   │   │   │   repo = read_repo(tmp_dir)                                              │
  71. │    30 │   │   │   │   │   repo.git.checkout(branch)                                              │
  72. │    31 │   │   │   │   │   yield cls.from_local_repo(repo=repo, config=config)                    │
  73. │                                                                                                  │
  74. │ ╭────────────────────────────────────────── locals ──────────────────────────────────────────╮   │
  75. │ │  branch = None                                                                             │   │
  76. │ │     cls = <class 'gto.registry.GitRegistry'>                                               │   │
  77. │ │  config = None                                                                             │   │
  78. │ │    repo = <git.repo.base.Repo 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'> │   │
  79. │ │ tmp_dir = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                            │   │
  80. │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯   │
  81. │                                                                                                  │
  82. │ C:\Users\<user>\miniconda3\envs\py311\Lib\contextlib.py:144 in __exit__                           │
  83. │                                                                                                  │
  84. │   141 │   def __exit__(self, typ, value, traceback):                                             │
  85. │   142 │   │   if typ is None:                                                                    │
  86. │   143 │   │   │   try:                                                                           │
  87. │ ❱ 144 │   │   │   │   next(self.gen)                                                             │
  88. │   145 │   │   │   except StopIteration:                                                          │
  89. │   146 │   │   │   │   return False                                                               │
  90. │   147 │   │   │   else:                                                                          │
  91. │                                                                                                  │
  92. │ ╭──────────────────────────────────── locals ────────────────────────────────────╮               │
  93. │ │      self = <contextlib._GeneratorContextManager object at 0x0000013DE5C95FD0> │               │
  94. │ │ traceback = None                                                               │               │
  95. │ │       typ = None                                                               │               │
  96. │ │     value = None                                                               │               │
  97. │ ╰────────────────────────────────────────────────────────────────────────────────╯               │
  98. │                                                                                                  │
  99. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\git_utils.py:112 in cloned_git_repo   │
  100. │                                                                                                  │
  101. │   109 │   git_clone(repo=repo, dir=tmp_dir.name)                                                 │
  102. │   110 │   yield tmp_dir.name                                                                     │
  103. │   111 │   logging.debug("delete temporary directory %s", tmp_dir)                                │
  104. │ ❱ 112 │   tmp_dir.cleanup()                                                                      │
  105. │   113                                                                                            │
  106. │   114                                                                                            │
  107. │   115 def git_clone(repo: str, dir: str) -> None:                                                │
  108. │                                                                                                  │
  109. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  110. │ │    repo = 'https://<user>:<token>@<repo> │ │
  111. │ │ tmp_dir = <TemporaryDirectory 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'>         │ │
  112. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  113. │                                                                                                  │
  114. │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:908 in cleanup                              │
  115. │                                                                                                  │
  116. │   905 │                                                                                          │
  117. │   906 │   def cleanup(self):                                                                     │
  118. │   907 │   │   if self._finalizer.detach() or _os.path.exists(self.name):                         │
  119. │ ❱ 908 │   │   │   self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)             │
  120. │   909 │                                                                                          │
  121. │   910 │   __class_getitem__ = classmethod(_types.GenericAlias)                                   │
  122. │   911                                                                                            │
  123. │                                                                                                  │
  124. │ ╭───────────────────────────────────── locals ──────────────────────────────────────╮            │
  125. │ │ self = <TemporaryDirectory 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'> │            │
  126. │ ╰───────────────────────────────────────────────────────────────────────────────────╯            │
  127. │                                                                                                  │
  128. │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:890 in _rmtree                              │
  129. │                                                                                                  │
  130. │   887 │   │   │   │   if not ignore_errors:                                                      │
  131. │   888 │   │   │   │   │   raise                                                                  │
  132. │   889 │   │                                                                                      │
  133. │ ❱ 890 │   │   _shutil.rmtree(name, onerror=onerror)                                              │
  134. │   891 │                                                                                          │
  135. │   892 │   @classmethod                                                                           │
  136. │   893 │   def _cleanup(cls, name, warn_message, ignore_errors=False):                            │
  137. │                                                                                                  │
  138. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  139. │ │           cls = <class 'tempfile.TemporaryDirectory'>                                        │ │
  140. │ │ ignore_errors = False                                                                        │ │
  141. │ │          name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                        │ │
  142. │ │       onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
  143. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  144. │                                                                                                  │
  145. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:759 in rmtree                                 │
  146. │                                                                                                  │
  147. │    756 │   │   │   onerror(os.path.islink, path, sys.exc_info())                                 │
  148. │    757 │   │   │   # can't continue even if onerror hook returns                                 │
  149. │    758 │   │   │   return                                                                        │
  150. │ ❱  759 │   │   return _rmtree_unsafe(path, onerror)                                              │
  151. │    760                                                                                           │
  152. │    761 # Allow introspection of whether or not the hardening against symlink                     │
  153. │    762 # attacks is supported on the current platform                                            │
  154. │                                                                                                  │
  155. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  156. │ │        dir_fd = None                                                                         │ │
  157. │ │ ignore_errors = False                                                                        │ │
  158. │ │       onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
  159. │ │          path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                        │ │
  160. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  161. │                                                                                                  │
  162. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:617 in _rmtree_unsafe                         │
  163. │                                                                                                  │
  164. │    614 │   │   │   except OSError:                                                               │
  165. │    615 │   │   │   │   onerror(os.path.islink, fullname, sys.exc_info())                         │
  166. │    616 │   │   │   │   continue                                                                  │
  167. │ ❱  617 │   │   │   _rmtree_unsafe(fullname, onerror)                                             │
  168. │    618 │   │   else:                                                                             │
  169. │    619 │   │   │   try:                                                                          │
  170. │    620 │   │   │   │   os.unlink(fullname)                                                       │
  171. │                                                                                                  │
  172. │ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮    │
  173. │ │    entries = [                                                                            │    │
  174. │ │              │   <DirEntry '.dvc'>,                                                       │    │
  175. │ │              │   <DirEntry '.dvcignore'>,                                                 │    │
  176. │ │              │   <DirEntry '.git'>,                                                       │    │
  177. │ │              │   <DirEntry 'artifacts.yaml'>,                                             │    │
  178. │ │              │   <DirEntry 'det-kp'>,                                                     │    │
  179. │ │              │   <DirEntry '<model_name>.pt.dvc'>,                                       │    │
  180. │ │              │   <DirEntry 'README.md'>                                                   │    │
  181. │ │              ]                                                                            │    │
  182. │ │      entry = <DirEntry '.git'>                                                            │    │
  183. │ │   fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'                  │    │
  184. │ │    onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │    │
  185. │ │       path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                        │    │
  186. │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2EDB290>                            │    │
  187. │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯    │
  188. │                                                                                                  │
  189. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:617 in _rmtree_unsafe                         │
  190. │                                                                                                  │
  191. │    614 │   │   │   except OSError:                                                               │
  192. │    615 │   │   │   │   onerror(os.path.islink, fullname, sys.exc_info())                         │
  193. │    616 │   │   │   │   continue                                                                  │
  194. │ ❱  617 │   │   │   _rmtree_unsafe(fullname, onerror)                                             │
  195. │    618 │   │   else:                                                                             │
  196. │    619 │   │   │   try:                                                                          │
  197. │    620 │   │   │   │   os.unlink(fullname)                                                       │
  198. │                                                                                                  │
  199. │ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮    │
  200. │ │    entries = [                                                                            │    │
  201. │ │              │   <DirEntry 'config'>,                                                     │    │
  202. │ │              │   <DirEntry 'description'>,                                                │    │
  203. │ │              │   <DirEntry 'HEAD'>,                                                       │    │
  204. │ │              │   <DirEntry 'hooks'>,                                                      │    │
  205. │ │              │   <DirEntry 'index'>,                                                      │    │
  206. │ │              │   <DirEntry 'info'>,                                                       │    │
  207. │ │              │   <DirEntry 'logs'>,                                                       │    │
  208. │ │              │   <DirEntry 'objects'>,                                                    │    │
  209. │ │              │   <DirEntry 'packed-refs'>,                                                │    │
  210. │ │              │   <DirEntry 'refs'>                                                        │    │
  211. │ │              ]                                                                            │    │
  212. │ │      entry = <DirEntry 'objects'>                                                         │    │
  213. │ │   fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects'         │    │
  214. │ │    onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │    │
  215. │ │       path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'                  │    │
  216. │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2EDB550>                            │    │
  217. │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯    │
  218. │                                                                                                  │
  219. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:617 in _rmtree_unsafe                         │
  220. │                                                                                                  │
  221. │    614 │   │   │   except OSError:                                                               │
  222. │    615 │   │   │   │   onerror(os.path.islink, fullname, sys.exc_info())                         │
  223. │    616 │   │   │   │   continue                                                                  │
  224. │ ❱  617 │   │   │   _rmtree_unsafe(fullname, onerror)                                             │
  225. │    618 │   │   else:                                                                             │
  226. │    619 │   │   │   try:                                                                          │
  227. │    620 │   │   │   │   os.unlink(fullname)                                                       │
  228. │                                                                                                  │
  229. │ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮    │
  230. │ │    entries = [<DirEntry 'info'>, <DirEntry 'pack'>]                                       │    │
  231. │ │      entry = <DirEntry 'pack'>                                                            │    │
  232. │ │   fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack'   │    │
  233. │ │    onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │    │
  234. │ │       path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects'         │    │
  235. │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2F65270>                            │    │
  236. │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯    │
  237. │                                                                                                  │
  238. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:622 in _rmtree_unsafe                         │
  239. │                                                                                                  │
  240. │    619 │   │   │   try:                                                                          │
  241. │    620 │   │   │   │   os.unlink(fullname)                                                       │
  242. │    621 │   │   │   except OSError:                                                               │
  243. │ ❱  622 │   │   │   │   onerror(os.unlink, fullname, sys.exc_info())                              │
  244. │    623 │   try:                                                                                  │
  245. │    624 │   │   os.rmdir(path)                                                                    │
  246. │    625 │   except OSError:                                                                       │
  247. │                                                                                                  │
  248. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  249. │ │    entries = [                                                                               │ │
  250. │ │              │   <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'>,             │ │
  251. │ │              │   <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.pack'>             │ │
  252. │ │              ]                                                                               │ │
  253. │ │      entry = <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'>                  │ │
  254. │ │   fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pac… │ │
  255. │ │    onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0>    │ │
  256. │ │       path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack'      │ │
  257. │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2F65530>                               │ │
  258. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  259. │                                                                                                  │
  260. │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:881 in onerror                              │
  261. │                                                                                                  │
  262. │   878 │   │   │   │   │   │   _os.unlink(path)                                                   │
  263. │   879 │   │   │   │   │   # PermissionError is raised on FreeBSD for directories                 │
  264. │   880 │   │   │   │   │   except (IsADirectoryError, PermissionError):                           │
  265. │ ❱ 881 │   │   │   │   │   │   cls._rmtree(path, ignore_errors=ignore_errors)                     │
  266. │   882 │   │   │   │   except FileNotFoundError:                                                  │
  267. │   883 │   │   │   │   │   pass                                                                   │
  268. │   884 │   │   │   elif issubclass(exc_info[0], FileNotFoundError):                               │
  269. │                                                                                                  │
  270. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  271. │ │           cls = <class 'tempfile.TemporaryDirectory'>                                        │ │
  272. │ │      exc_info = (                                                                            │ │
  273. │ │                 │   <class 'PermissionError'>,                                               │ │
  274. │ │                 │   PermissionError(13, 'Access is denied'),                               │ │
  275. │ │                 │   <traceback object at 0x0000013DE5CC5280>                                 │ │
  276. │ │                 )                                                                            │ │
  277. │ │          func = <built-in function unlink>                                                   │ │
  278. │ │ ignore_errors = False                                                                        │ │
  279. │ │          name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                        │ │
  280. │ │          path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
  281. │ │    resetperms = <function TemporaryDirectory._rmtree.<locals>.onerror.<locals>.resetperms at │ │
  282. │ │                 0x0000013DE5CBC5E0>                                                          │ │
  283. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  284. │                                                                                                  │
  285. │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:890 in _rmtree                              │
  286. │                                                                                                  │
  287. │   887 │   │   │   │   if not ignore_errors:                                                      │
  288. │   888 │   │   │   │   │   raise                                                                  │
  289. │   889 │   │                                                                                      │
  290. │ ❱ 890 │   │   _shutil.rmtree(name, onerror=onerror)                                              │
  291. │   891 │                                                                                          │
  292. │   892 │   @classmethod                                                                           │
  293. │   893 │   def _cleanup(cls, name, warn_message, ignore_errors=False):                            │
  294. │                                                                                                  │
  295. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  296. │ │           cls = <class 'tempfile.TemporaryDirectory'>                                        │ │
  297. │ │ ignore_errors = False                                                                        │ │
  298. │ │          name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
  299. │ │       onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360> │ │
  300. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  301. │                                                                                                  │
  302. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:759 in rmtree                                 │
  303. │                                                                                                  │
  304. │    756 │   │   │   onerror(os.path.islink, path, sys.exc_info())                                 │
  305. │    757 │   │   │   # can't continue even if onerror hook returns                                 │
  306. │    758 │   │   │   return                                                                        │
  307. │ ❱  759 │   │   return _rmtree_unsafe(path, onerror)                                              │
  308. │    760                                                                                           │
  309. │    761 # Allow introspection of whether or not the hardening against symlink                     │
  310. │    762 # attacks is supported on the current platform                                            │
  311. │                                                                                                  │
  312. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  313. │ │        dir_fd = None                                                                         │ │
  314. │ │ ignore_errors = False                                                                        │ │
  315. │ │       onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360> │ │
  316. │ │          path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
  317. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  318. │                                                                                                  │
  319. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:603 in _rmtree_unsafe                         │
  320. │                                                                                                  │
  321. │    600 │   │   with os.scandir(path) as scandir_it:                                              │
  322. │    601 │   │   │   entries = list(scandir_it)                                                    │
  323. │    602 │   except OSError:                                                                       │
  324. │ ❱  603 │   │   onerror(os.scandir, path, sys.exc_info())                                         │
  325. │    604 │   │   entries = []                                                                      │
  326. │    605 │   for entry in entries:                                                                 │
  327. │    606 │   │   fullname = entry.path                                                             │
  328. │                                                                                                  │
  329. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  330. │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360>       │ │
  331. │ │    path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6… │ │
  332. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  333. │                                                                                                  │
  334. │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:600 in _rmtree_unsafe                         │
  335. │                                                                                                  │
  336. │    597 # version vulnerable to race conditions                                                   │
  337. │    598 def _rmtree_unsafe(path, onerror):                                                        │
  338. │    599 │   try:                                                                                  │
  339. │ ❱  600 │   │   with os.scandir(path) as scandir_it:                                              │
  340. │    601 │   │   │   entries = list(scandir_it)                                                    │
  341. │    602 │   except OSError:                                                                       │
  342. │    603 │   │   onerror(os.scandir, path, sys.exc_info())                                         │
  343. │                                                                                                  │
  344. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  345. │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360>       │ │
  346. │ │    path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6… │ │
  347. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  348. ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
  349. NotADirectoryError: [WinError 267] Неверно задано имя папки:
  350. 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4
  351. .idx'
  352.  
  353. The above exception was the direct cause of the following exception:
  354.  
  355. ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
  356. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\click\decorators.py:26 in new_func        │
  357. │                                                                                                  │
  358. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\cli.py:461 in inner                   │
  359. │                                                                                                  │
  360. │   458 │   │   │   error = None                                                                   │
  361. │   459 │   │   │   try:                                                                           │
  362. │   460 │   │   │   │   with cli_echo():                                                           │
  363. │ ❱ 461 │   │   │   │   │   res = f(*iargs, **ikwargs) or {}                                       │
  364. │   462 │   │   │   │   res = {f"cmd_{cmd_name}_{k}": v for k, v in res.items()}                   │
  365. │   463 │   │   │   except (ClickException, Exit, Abort) as e:                                     │
  366. │   464 │   │   │   │   error = str(type(e))                                                       │
  367. │                                                                                                  │
  368. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  369. │ │ cmd_name = 'describe'                                                                        │ │
  370. │ │      ctx = <click.core.Context object at 0x0000013DE341FF10>                                 │ │
  371. │ │    error = "<class 'NotADirectoryError'>"                                                    │ │
  372. │ │        f = <function describe at 0x0000013DE5C818A0>                                         │ │
  373. │ │    iargs = ()                                                                                │ │
  374. │ │  ikwargs = {                                                                                 │ │
  375. │ │            │   'repo':                                                                       │ │
  376. │ │            'https://<user>:<token>@<repo> │ │
  377. │ │            │   'name': '<model_name>@latest',                                        │ │
  378. │ │            │   'rev': None,                                                                  │ │
  379. │ │            │   'type': False,                                                                │ │
  380. │ │            │   'path': False,                                                                │ │
  381. │ │            │   'description': False,                                                         │ │
  382. │ │            │   'custom': False                                                               │ │
  383. │ │            }                                                                                 │ │
  384. │ │      res = {}                                                                                │ │
  385. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  386. │                                                                                                  │
  387. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\cli.py:590 in describe                │
  388. │                                                                                                  │
  389. │   587 │   else:                                                                                  │
  390. │   588 │   │   field = None                                                                       │
  391. │   589 │                                                                                          │
  392. │ ❱ 590 │   artifact = gto.api.describe(repo=repo, name=name, rev=rev)                             │
  393. │   591 │   if not artifact:                                                                       │
  394. │   592 │   │   return                                                                             │
  395. │   593 │   annotation = artifact.dict(exclude_defaults=True)                                      │
  396. │                                                                                                  │
  397. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  398. │ │      custom = False                                                                          │ │
  399. │ │ description = False                                                                          │ │
  400. │ │       field = None                                                                           │ │
  401. │ │        name = '<model_name>@latest'                                                  │ │
  402. │ │        path = False                                                                          │ │
  403. │ │        repo = 'https://<user>:<token>@<repo> │ │
  404. │ │         rev = None                                                                           │ │
  405. │ │        type = False                                                                          │ │
  406. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  407. │                                                                                                  │
  408. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\api.py:108 in describe                │
  409. │                                                                                                  │
  410. │   105 │   │   if rev:                                                                            │
  411. │   106 │   │   │   raise WrongArgs("Either specify revision or use naming shortcut.")             │
  412. │   107 │   │   # clones a remote repo second time, can be optimized                               │
  413. │ ❱ 108 │   │   versions = show(repo, name)                                                        │
  414. │   109 │   │   if len(versions) == 0:  # nothing found                                            │
  415. │   110 │   │   │   return None                                                                    │
  416. │   111 │   │   if len(versions) > 1:                                                              │
  417. │                                                                                                  │
  418. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  419. │ │     name = '<model_name>@latest'                                                     │ │
  420. │ │     repo = 'https://<user>:<token>@<repo> │ │
  421. │ │      rev = None                                                                              │ │
  422. │ │ shortcut = Shortcut(                                                                         │ │
  423. │ │            │   name='<model_name>',                                                  │ │
  424. │ │            │   stage=None,                                                                   │ │
  425. │ │            │   version=None,                                                                 │ │
  426. │ │            │   latest=True,                                                                  │ │
  427. │ │            │   shortcut=True                                                                 │ │
  428. │ │            )                                                                                 │ │
  429. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  430. │                                                                                                  │
  431. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\api.py:343 in show                    │
  432. │                                                                                                  │
  433. │   340 │   table: bool = False,                                                                   │
  434. │   341 ):                                                                                         │
  435. │   342 │   return (                                                                               │
  436. │ ❱ 343 │   │   _show_versions(                                                                    │
  437. │   344 │   │   │   repo,                                                                          │
  438. │   345 │   │   │   name=name,                                                                     │
  439. │   346 │   │   │   all_branches=all_branches,                                                     │
  440. │                                                                                                  │
  441. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  442. │ │            all_branches = False                                                              │ │
  443. │ │             all_commits = False                                                              │ │
  444. │ │ assignments_per_version = -1                                                                 │ │
  445. │ │              deprecated = False                                                              │ │
  446. │ │                    name = '<model_name>@latest'                                      │ │
  447. │ │         registered_only = False                                                              │ │
  448. │ │                    repo = 'https://<user>:<token>@<repo> │ │
  449. │ │                    sort = <VersionSort.Timestamp: 'timestamp'>                               │ │
  450. │ │                   table = False                                                              │ │
  451. │ │         truncate_hexsha = False                                                              │ │
  452. │ │      versions_per_stage = 1                                                                  │ │
  453. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  454. │                                                                                                  │
  455. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\api.py:462 in _show_versions          │
  456. │                                                                                                  │
  457. │   459 │                                                                                          │
  458. │   460 │   shortcut = parse_shortcut(name)                                                        │
  459. │   461 │                                                                                          │
  460. │ ❱ 462 │   with GitRegistry.from_repo(repo=repo) as reg:                                          │
  461. │   463 │   │   if raw:                                                                            │
  462. │   464 │   │   │   return reg.find_artifact(shortcut.name).versions                               │
  463. │   465                                                                                            │
  464. │                                                                                                  │
  465. │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
  466. │ │            all_branches = False                                                              │ │
  467. │ │             all_commits = False                                                              │ │
  468. │ │                artifact = Artifact(                                                          │ │
  469. │ │                           │   artifact='<model_name>',                               │ │
  470. │ │                           │   versions=[                                                     │ │
  471. │ │                           │   │   Version(                                                   │ │
  472. │ │                           │   │   │   artifact='<model_name>',                       │ │
  473. │ │                           │   │   │                                                          │ │
  474. │ │                           commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822',          │ │
  475. │ │                           │   │   │   version='v0.0.3',                                      │ │
  476. │ │                           │   │   │   enrichments=[                                          │ │
  477. │ │                           │   │   │   │   Commit(                                            │ │
  478. │ │                           │   │   │   │   │   priority=0,                                    │ │
  479. │ │                           │   │   │   │   │   addition=True,                                 │ │
  480. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  481. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  482. │ │                           30, 3),                                                            │ │
  483. │ │                           │   │   │   │   │   author='<name>',                        │ │
  484. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  485. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  486. │ │                           <model_name>_1679912908.pt',                                      │ │
  487. │ │                           │   │   │   │   │                                                  │ │
  488. │ │                           commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822',          │ │
  489. │ │                           │   │   │   │   │   version='v0.0.3',                              │ │
  490. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  491. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  492. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  493. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  494. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  495. │ │                           │   │   │   │   │   │   │   │                                      │ │
  496. │ │                           path='<model_path><model_name>_1679912908.pt',         │ │
  497. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  498. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  499. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  500. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  501. │ │                           │   │   │   │   │   │   │   )                                      │ │
  502. │ │                           │   │   │   │   │   │   )                                          │ │
  503. │ │                           │   │   │   │   │   ],                                             │ │
  504. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  505. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  506. │ │                           │   │   │   │   )                                                  │ │
  507. │ │                           │   │   │   ],                                                     │ │
  508. │ │                           │   │   │   registrations=[                                        │ │
  509. │ │                           │   │   │   │   Registration(                                      │ │
  510. │ │                           │   │   │   │   │   priority=3,                                    │ │
  511. │ │                           │   │   │   │   │   addition=True,                                 │ │
  512. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  513. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  514. │ │                           30, 7),                                                            │ │
  515. │ │                           │   │   │   │   │   author='<name>',                        │ │
  516. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  517. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  518. │ │                           <model_name> version v0.0.3',                              │ │
  519. │ │                           │   │   │   │   │                                                  │ │
  520. │ │                           commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822',          │ │
  521. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.3',             │ │
  522. │ │                           │   │   │   │   │   version='v0.0.3'                               │ │
  523. │ │                           │   │   │   │   )                                                  │ │
  524. │ │                           │   │   │   ],                                                     │ │
  525. │ │                           │   │   │   deregistrations=[],                                    │ │
  526. │ │                           │   │   │   stages={                                               │ │
  527. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  528. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  529. │ │                           │   │   │   │   │                                                  │ │
  530. │ │                           commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822',          │ │
  531. │ │                           │   │   │   │   │   version='v0.0.3',                              │ │
  532. │ │                           │   │   │   │   │   stage='staging',                               │ │
  533. │ │                           │   │   │   │   │   assignments=[                                  │ │
  534. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  535. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  536. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  537. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  538. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  539. │ │                           27, 13, 30, 11),                                                   │ │
  540. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  541. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  542. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  543. │ │                           artifact <model_name> version v0.0.3',                     │ │
  544. │ │                           │   │   │   │   │   │   │                                          │ │
  545. │ │                           commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822',          │ │
  546. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#2',  │ │
  547. │ │                           │   │   │   │   │   │   │   version='v0.0.3',                      │ │
  548. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  549. │ │                           │   │   │   │   │   │   )                                          │ │
  550. │ │                           │   │   │   │   │   ],                                             │ │
  551. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  552. │ │                           │   │   │   │   )                                                  │ │
  553. │ │                           │   │   │   }                                                      │ │
  554. │ │                           │   │   ),                                                         │ │
  555. │ │                           │   │   Version(                                                   │ │
  556. │ │                           │   │   │   artifact='<model_name>',                       │ │
  557. │ │                           │   │   │                                                          │ │
  558. │ │                           commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7',          │ │
  559. │ │                           │   │   │   version='v0.0.4',                                      │ │
  560. │ │                           │   │   │   enrichments=[                                          │ │
  561. │ │                           │   │   │   │   Commit(                                            │ │
  562. │ │                           │   │   │   │   │   priority=0,                                    │ │
  563. │ │                           │   │   │   │   │   addition=True,                                 │ │
  564. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  565. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  566. │ │                           33, 13),                                                           │ │
  567. │ │                           │   │   │   │   │   author='<name>',                        │ │
  568. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  569. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  570. │ │                           <model_name>_1679913108.pt',                                      │ │
  571. │ │                           │   │   │   │   │                                                  │ │
  572. │ │                           commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7',          │ │
  573. │ │                           │   │   │   │   │   version='v0.0.4',                              │ │
  574. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  575. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  576. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  577. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  578. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  579. │ │                           │   │   │   │   │   │   │   │                                      │ │
  580. │ │                           path='<model_path><model_name>_1679913108.pt',         │ │
  581. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  582. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  583. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  584. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  585. │ │                           │   │   │   │   │   │   │   )                                      │ │
  586. │ │                           │   │   │   │   │   │   )                                          │ │
  587. │ │                           │   │   │   │   │   ],                                             │ │
  588. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  589. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  590. │ │                           │   │   │   │   )                                                  │ │
  591. │ │                           │   │   │   ],                                                     │ │
  592. │ │                           │   │   │   registrations=[                                        │ │
  593. │ │                           │   │   │   │   Registration(                                      │ │
  594. │ │                           │   │   │   │   │   priority=3,                                    │ │
  595. │ │                           │   │   │   │   │   addition=True,                                 │ │
  596. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  597. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  598. │ │                           33, 17),                                                           │ │
  599. │ │                           │   │   │   │   │   author='<name>',                        │ │
  600. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  601. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  602. │ │                           <model_name> version v0.0.4',                              │ │
  603. │ │                           │   │   │   │   │                                                  │ │
  604. │ │                           commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7',          │ │
  605. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.4',             │ │
  606. │ │                           │   │   │   │   │   version='v0.0.4'                               │ │
  607. │ │                           │   │   │   │   )                                                  │ │
  608. │ │                           │   │   │   ],                                                     │ │
  609. │ │                           │   │   │   deregistrations=[],                                    │ │
  610. │ │                           │   │   │   stages={                                               │ │
  611. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  612. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  613. │ │                           │   │   │   │   │                                                  │ │
  614. │ │                           commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7',          │ │
  615. │ │                           │   │   │   │   │   version='v0.0.4',                              │ │
  616. │ │                           │   │   │   │   │   stage='staging',                               │ │
  617. │ │                           │   │   │   │   │   assignments=[                                  │ │
  618. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  619. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  620. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  621. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  622. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  623. │ │                           27, 13, 33, 21),                                                   │ │
  624. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  625. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  626. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  627. │ │                           artifact <model_name> version v0.0.4',                     │ │
  628. │ │                           │   │   │   │   │   │   │                                          │ │
  629. │ │                           commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7',          │ │
  630. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#3',  │ │
  631. │ │                           │   │   │   │   │   │   │   version='v0.0.4',                      │ │
  632. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  633. │ │                           │   │   │   │   │   │   )                                          │ │
  634. │ │                           │   │   │   │   │   ],                                             │ │
  635. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  636. │ │                           │   │   │   │   )                                                  │ │
  637. │ │                           │   │   │   }                                                      │ │
  638. │ │                           │   │   ),                                                         │ │
  639. │ │                           │   │   Version(                                                   │ │
  640. │ │                           │   │   │   artifact='<model_name>',                       │ │
  641. │ │                           │   │   │                                                          │ │
  642. │ │                           commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c',          │ │
  643. │ │                           │   │   │   version='v0.0.5',                                      │ │
  644. │ │                           │   │   │   enrichments=[                                          │ │
  645. │ │                           │   │   │   │   Commit(                                            │ │
  646. │ │                           │   │   │   │   │   priority=0,                                    │ │
  647. │ │                           │   │   │   │   │   addition=True,                                 │ │
  648. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  649. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  650. │ │                           35, 20),                                                           │ │
  651. │ │                           │   │   │   │   │   author='<name>',                        │ │
  652. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  653. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  654. │ │                           <model_name>_1679913236.pt',                                      │ │
  655. │ │                           │   │   │   │   │                                                  │ │
  656. │ │                           commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c',          │ │
  657. │ │                           │   │   │   │   │   version='v0.0.5',                              │ │
  658. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  659. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  660. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  661. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  662. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  663. │ │                           │   │   │   │   │   │   │   │                                      │ │
  664. │ │                           path='<model_path>/<model_name>.pt',         │ │
  665. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  666. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  667. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  668. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  669. │ │                           │   │   │   │   │   │   │   )                                      │ │
  670. │ │                           │   │   │   │   │   │   )                                          │ │
  671. │ │                           │   │   │   │   │   ],                                             │ │
  672. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  673. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  674. │ │                           │   │   │   │   )                                                  │ │
  675. │ │                           │   │   │   ],                                                     │ │
  676. │ │                           │   │   │   registrations=[                                        │ │
  677. │ │                           │   │   │   │   Registration(                                      │ │
  678. │ │                           │   │   │   │   │   priority=3,                                    │ │
  679. │ │                           │   │   │   │   │   addition=True,                                 │ │
  680. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  681. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  682. │ │                           35, 25),                                                           │ │
  683. │ │                           │   │   │   │   │   author='<name>',                        │ │
  684. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  685. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  686. │ │                           <model_name> version v0.0.5',                              │ │
  687. │ │                           │   │   │   │   │                                                  │ │
  688. │ │                           commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c',          │ │
  689. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.5',             │ │
  690. │ │                           │   │   │   │   │   version='v0.0.5'                               │ │
  691. │ │                           │   │   │   │   )                                                  │ │
  692. │ │                           │   │   │   ],                                                     │ │
  693. │ │                           │   │   │   deregistrations=[],                                    │ │
  694. │ │                           │   │   │   stages={                                               │ │
  695. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  696. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  697. │ │                           │   │   │   │   │                                                  │ │
  698. │ │                           commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c',          │ │
  699. │ │                           │   │   │   │   │   version='v0.0.5',                              │ │
  700. │ │                           │   │   │   │   │   stage='staging',                               │ │
  701. │ │                           │   │   │   │   │   assignments=[                                  │ │
  702. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  703. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  704. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  705. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  706. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  707. │ │                           27, 13, 35, 29),                                                   │ │
  708. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  709. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  710. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  711. │ │                           artifact <model_name> version v0.0.5',                     │ │
  712. │ │                           │   │   │   │   │   │   │                                          │ │
  713. │ │                           commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c',          │ │
  714. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#4',  │ │
  715. │ │                           │   │   │   │   │   │   │   version='v0.0.5',                      │ │
  716. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  717. │ │                           │   │   │   │   │   │   )                                          │ │
  718. │ │                           │   │   │   │   │   ],                                             │ │
  719. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  720. │ │                           │   │   │   │   )                                                  │ │
  721. │ │                           │   │   │   }                                                      │ │
  722. │ │                           │   │   ),                                                         │ │
  723. │ │                           │   │   Version(                                                   │ │
  724. │ │                           │   │   │   artifact='<model_name>',                       │ │
  725. │ │                           │   │   │                                                          │ │
  726. │ │                           commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66',          │ │
  727. │ │                           │   │   │   version='v0.0.6',                                      │ │
  728. │ │                           │   │   │   enrichments=[                                          │ │
  729. │ │                           │   │   │   │   Commit(                                            │ │
  730. │ │                           │   │   │   │   │   priority=0,                                    │ │
  731. │ │                           │   │   │   │   │   addition=True,                                 │ │
  732. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  733. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  734. │ │                           39, 15),                                                           │ │
  735. │ │                           │   │   │   │   │   author='<name>',                        │ │
  736. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  737. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  738. │ │                           <model_name>.pt',                                                 │ │
  739. │ │                           │   │   │   │   │                                                  │ │
  740. │ │                           commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66',          │ │
  741. │ │                           │   │   │   │   │   version='v0.0.6',                              │ │
  742. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  743. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  744. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  745. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  746. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  747. │ │                           │   │   │   │   │   │   │   │                                      │ │
  748. │ │                           path='<model_path><model_name>.pt',                    │ │
  749. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  750. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  751. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  752. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  753. │ │                           │   │   │   │   │   │   │   )                                      │ │
  754. │ │                           │   │   │   │   │   │   )                                          │ │
  755. │ │                           │   │   │   │   │   ],                                             │ │
  756. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  757. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  758. │ │                           │   │   │   │   )                                                  │ │
  759. │ │                           │   │   │   ],                                                     │ │
  760. │ │                           │   │   │   registrations=[                                        │ │
  761. │ │                           │   │   │   │   Registration(                                      │ │
  762. │ │                           │   │   │   │   │   priority=3,                                    │ │
  763. │ │                           │   │   │   │   │   addition=True,                                 │ │
  764. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  765. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 13,  │ │
  766. │ │                           39, 20),                                                           │ │
  767. │ │                           │   │   │   │   │   author='<name>',                        │ │
  768. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  769. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  770. │ │                           <model_name> version v0.0.6',                              │ │
  771. │ │                           │   │   │   │   │                                                  │ │
  772. │ │                           commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66',          │ │
  773. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.6',             │ │
  774. │ │                           │   │   │   │   │   version='v0.0.6'                               │ │
  775. │ │                           │   │   │   │   )                                                  │ │
  776. │ │                           │   │   │   ],                                                     │ │
  777. │ │                           │   │   │   deregistrations=[],                                    │ │
  778. │ │                           │   │   │   stages={                                               │ │
  779. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  780. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  781. │ │                           │   │   │   │   │                                                  │ │
  782. │ │                           commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66',          │ │
  783. │ │                           │   │   │   │   │   version='v0.0.6',                              │ │
  784. │ │                           │   │   │   │   │   stage='staging',                               │ │
  785. │ │                           │   │   │   │   │   assignments=[                                  │ │
  786. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  787. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  788. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  789. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  790. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  791. │ │                           27, 13, 39, 24),                                                   │ │
  792. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  793. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  794. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  795. │ │                           artifact <model_name> version v0.0.6',                     │ │
  796. │ │                           │   │   │   │   │   │   │                                          │ │
  797. │ │                           commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66',          │ │
  798. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#5',  │ │
  799. │ │                           │   │   │   │   │   │   │   version='v0.0.6',                      │ │
  800. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  801. │ │                           │   │   │   │   │   │   )                                          │ │
  802. │ │                           │   │   │   │   │   ],                                             │ │
  803. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  804. │ │                           │   │   │   │   )                                                  │ │
  805. │ │                           │   │   │   }                                                      │ │
  806. │ │                           │   │   ),                                                         │ │
  807. │ │                           │   │   Version(                                                   │ │
  808. │ │                           │   │   │   artifact='<model_name>',                       │ │
  809. │ │                           │   │   │                                                          │ │
  810. │ │                           commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245',          │ │
  811. │ │                           │   │   │   version='v0.0.7',                                      │ │
  812. │ │                           │   │   │   enrichments=[                                          │ │
  813. │ │                           │   │   │   │   Commit(                                            │ │
  814. │ │                           │   │   │   │   │   priority=0,                                    │ │
  815. │ │                           │   │   │   │   │   addition=True,                                 │ │
  816. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  817. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 14,  │ │
  818. │ │                           5, 4),                                                             │ │
  819. │ │                           │   │   │   │   │   author='<name>',                        │ │
  820. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  821. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  822. │ │                           <model_name>.pt',                                                 │ │
  823. │ │                           │   │   │   │   │                                                  │ │
  824. │ │                           commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245',          │ │
  825. │ │                           │   │   │   │   │   version='v0.0.7',                              │ │
  826. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  827. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  828. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  829. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  830. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  831. │ │                           │   │   │   │   │   │   │   │                                      │ │
  832. │ │                           path='<model_path><model_name>.pt',                    │ │
  833. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  834. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  835. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  836. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  837. │ │                           │   │   │   │   │   │   │   )                                      │ │
  838. │ │                           │   │   │   │   │   │   )                                          │ │
  839. │ │                           │   │   │   │   │   ],                                             │ │
  840. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  841. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  842. │ │                           │   │   │   │   )                                                  │ │
  843. │ │                           │   │   │   ],                                                     │ │
  844. │ │                           │   │   │   registrations=[                                        │ │
  845. │ │                           │   │   │   │   Registration(                                      │ │
  846. │ │                           │   │   │   │   │   priority=3,                                    │ │
  847. │ │                           │   │   │   │   │   addition=True,                                 │ │
  848. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  849. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 14,  │ │
  850. │ │                           5, 9),                                                             │ │
  851. │ │                           │   │   │   │   │   author='<name>',                        │ │
  852. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  853. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  854. │ │                           <model_name> version v0.0.7',                              │ │
  855. │ │                           │   │   │   │   │                                                  │ │
  856. │ │                           commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245',          │ │
  857. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.7',             │ │
  858. │ │                           │   │   │   │   │   version='v0.0.7'                               │ │
  859. │ │                           │   │   │   │   )                                                  │ │
  860. │ │                           │   │   │   ],                                                     │ │
  861. │ │                           │   │   │   deregistrations=[],                                    │ │
  862. │ │                           │   │   │   stages={                                               │ │
  863. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  864. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  865. │ │                           │   │   │   │   │                                                  │ │
  866. │ │                           commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245',          │ │
  867. │ │                           │   │   │   │   │   version='v0.0.7',                              │ │
  868. │ │                           │   │   │   │   │   stage='staging',                               │ │
  869. │ │                           │   │   │   │   │   assignments=[                                  │ │
  870. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  871. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  872. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  873. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  874. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  875. │ │                           27, 14, 5, 14),                                                    │ │
  876. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  877. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  878. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  879. │ │                           artifact <model_name> version v0.0.7',                     │ │
  880. │ │                           │   │   │   │   │   │   │                                          │ │
  881. │ │                           commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245',          │ │
  882. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#6',  │ │
  883. │ │                           │   │   │   │   │   │   │   version='v0.0.7',                      │ │
  884. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  885. │ │                           │   │   │   │   │   │   )                                          │ │
  886. │ │                           │   │   │   │   │   ],                                             │ │
  887. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  888. │ │                           │   │   │   │   )                                                  │ │
  889. │ │                           │   │   │   }                                                      │ │
  890. │ │                           │   │   ),                                                         │ │
  891. │ │                           │   │   Version(                                                   │ │
  892. │ │                           │   │   │   artifact='<model_name>',                       │ │
  893. │ │                           │   │   │                                                          │ │
  894. │ │                           commit_hexsha='067598369fefe10330ae336f56a1768a1e504955',          │ │
  895. │ │                           │   │   │   version='v0.0.8',                                      │ │
  896. │ │                           │   │   │   enrichments=[                                          │ │
  897. │ │                           │   │   │   │   Commit(                                            │ │
  898. │ │                           │   │   │   │   │   priority=0,                                    │ │
  899. │ │                           │   │   │   │   │   addition=True,                                 │ │
  900. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  901. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 14,  │ │
  902. │ │                           9, 32),                                                            │ │
  903. │ │                           │   │   │   │   │   author='<name>',                        │ │
  904. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  905. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  906. │ │                           <model_name>_1679915292.pt',                                      │ │
  907. │ │                           │   │   │   │   │                                                  │ │
  908. │ │                           commit_hexsha='067598369fefe10330ae336f56a1768a1e504955',          │ │
  909. │ │                           │   │   │   │   │   version='v0.0.8',                              │ │
  910. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  911. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  912. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  913. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  914. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  915. │ │                           │   │   │   │   │   │   │   │                                      │ │
  916. │ │                           path='<model_path><model_name>_1679915292.pt',         │ │
  917. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  918. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  919. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  920. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  921. │ │                           │   │   │   │   │   │   │   )                                      │ │
  922. │ │                           │   │   │   │   │   │   )                                          │ │
  923. │ │                           │   │   │   │   │   ],                                             │ │
  924. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  925. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  926. │ │                           │   │   │   │   )                                                  │ │
  927. │ │                           │   │   │   ],                                                     │ │
  928. │ │                           │   │   │   registrations=[                                        │ │
  929. │ │                           │   │   │   │   Registration(                                      │ │
  930. │ │                           │   │   │   │   │   priority=3,                                    │ │
  931. │ │                           │   │   │   │   │   addition=True,                                 │ │
  932. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  933. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 14,  │ │
  934. │ │                           9, 36),                                                            │ │
  935. │ │                           │   │   │   │   │   author='<name>',                        │ │
  936. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  937. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  938. │ │                           <model_name> version v0.0.8',                              │ │
  939. │ │                           │   │   │   │   │                                                  │ │
  940. │ │                           commit_hexsha='067598369fefe10330ae336f56a1768a1e504955',          │ │
  941. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.8',             │ │
  942. │ │                           │   │   │   │   │   version='v0.0.8'                               │ │
  943. │ │                           │   │   │   │   )                                                  │ │
  944. │ │                           │   │   │   ],                                                     │ │
  945. │ │                           │   │   │   deregistrations=[],                                    │ │
  946. │ │                           │   │   │   stages={                                               │ │
  947. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  948. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  949. │ │                           │   │   │   │   │                                                  │ │
  950. │ │                           commit_hexsha='067598369fefe10330ae336f56a1768a1e504955',          │ │
  951. │ │                           │   │   │   │   │   version='v0.0.8',                              │ │
  952. │ │                           │   │   │   │   │   stage='staging',                               │ │
  953. │ │                           │   │   │   │   │   assignments=[                                  │ │
  954. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  955. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  956. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  957. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  958. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  959. │ │                           27, 14, 9, 41),                                                    │ │
  960. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  961. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  962. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  963. │ │                           artifact <model_name> version v0.0.8',                     │ │
  964. │ │                           │   │   │   │   │   │   │                                          │ │
  965. │ │                           commit_hexsha='067598369fefe10330ae336f56a1768a1e504955',          │ │
  966. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#7',  │ │
  967. │ │                           │   │   │   │   │   │   │   version='v0.0.8',                      │ │
  968. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  969. │ │                           │   │   │   │   │   │   )                                          │ │
  970. │ │                           │   │   │   │   │   ],                                             │ │
  971. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  972. │ │                           │   │   │   │   )                                                  │ │
  973. │ │                           │   │   │   }                                                      │ │
  974. │ │                           │   │   ),                                                         │ │
  975. │ │                           │   │   Version(                                                   │ │
  976. │ │                           │   │   │   artifact='<model_name>',                       │ │
  977. │ │                           │   │   │                                                          │ │
  978. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  979. │ │                           │   │   │   version='v0.0.9',                                      │ │
  980. │ │                           │   │   │   enrichments=[                                          │ │
  981. │ │                           │   │   │   │   Commit(                                            │ │
  982. │ │                           │   │   │   │   │   priority=0,                                    │ │
  983. │ │                           │   │   │   │   │   addition=True,                                 │ │
  984. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  985. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 14,  │ │
  986. │ │                           10, 27),                                                           │ │
  987. │ │                           │   │   │   │   │   author='<name>',                        │ │
  988. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  989. │ │                           │   │   │   │   │   message='registry: pushed model                │ │
  990. │ │                           <model_name>.pt',                                                 │ │
  991. │ │                           │   │   │   │   │                                                  │ │
  992. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  993. │ │                           │   │   │   │   │   version='v0.0.9',                              │ │
  994. │ │                           │   │   │   │   │   enrichments=[                                  │ │
  995. │ │                           │   │   │   │   │   │   GTOInfo(                                   │ │
  996. │ │                           │   │   │   │   │   │   │   source='gto',                          │ │
  997. │ │                           │   │   │   │   │   │   │   artifact=Artifact(                     │ │
  998. │ │                           │   │   │   │   │   │   │   │   type=None,                         │ │
  999. │ │                           │   │   │   │   │   │   │   │                                      │ │
  1000. │ │                           path='<model_path><model_name>.pt',                    │ │
  1001. │ │                           │   │   │   │   │   │   │   │   virtual=True,                      │ │
  1002. │ │                           │   │   │   │   │   │   │   │   labels=[],                         │ │
  1003. │ │                           │   │   │   │   │   │   │   │   description='',                    │ │
  1004. │ │                           │   │   │   │   │   │   │   │   custom=None                        │ │
  1005. │ │                           │   │   │   │   │   │   │   )                                      │ │
  1006. │ │                           │   │   │   │   │   │   )                                          │ │
  1007. │ │                           │   │   │   │   │   ],                                             │ │
  1008. │ │                           │   │   │   │   │   committer='<name>',                     │ │
  1009. │ │                           │   │   │   │   │   committer_email='<email>'         │ │
  1010. │ │                           │   │   │   │   )                                                  │ │
  1011. │ │                           │   │   │   ],                                                     │ │
  1012. │ │                           │   │   │   registrations=[                                        │ │
  1013. │ │                           │   │   │   │   Registration(                                      │ │
  1014. │ │                           │   │   │   │   │   priority=3,                                    │ │
  1015. │ │                           │   │   │   │   │   addition=True,                                 │ │
  1016. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  1017. │ │                           │   │   │   │   │   created_at=datetime.datetime(2023, 3, 27, 14,  │ │
  1018. │ │                           10, 31),                                                           │ │
  1019. │ │                           │   │   │   │   │   author='<name>',                        │ │
  1020. │ │                           │   │   │   │   │   author_email='<email>',           │ │
  1021. │ │                           │   │   │   │   │   message='Registering artifact                  │ │
  1022. │ │                           <model_name> version v0.0.9',                              │ │
  1023. │ │                           │   │   │   │   │                                                  │ │
  1024. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  1025. │ │                           │   │   │   │   │   tag='<model_name>@v0.0.9',             │ │
  1026. │ │                           │   │   │   │   │   version='v0.0.9'                               │ │
  1027. │ │                           │   │   │   │   )                                                  │ │
  1028. │ │                           │   │   │   ],                                                     │ │
  1029. │ │                           │   │   │   deregistrations=[],                                    │ │
  1030. │ │                           │   │   │   stages={                                               │ │
  1031. │ │                           │   │   │   │   'staging': VStage(                                 │ │
  1032. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  1033. │ │                           │   │   │   │   │                                                  │ │
  1034. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  1035. │ │                           │   │   │   │   │   version='v0.0.9',                              │ │
  1036. │ │                           │   │   │   │   │   stage='staging',                               │ │
  1037. │ │                           │   │   │   │   │   assignments=[                                  │ │
  1038. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  1039. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  1040. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  1041. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  1042. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  1043. │ │                           27, 14, 10, 36),                                                   │ │
  1044. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  1045. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  1046. │ │                           │   │   │   │   │   │   │   message='Assigning stage staging to    │ │
  1047. │ │                           artifact <model_name> version v0.0.9',                     │ │
  1048. │ │                           │   │   │   │   │   │   │                                          │ │
  1049. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  1050. │ │                           │   │   │   │   │   │   │   tag='<model_name>#staging#8',  │ │
  1051. │ │                           │   │   │   │   │   │   │   version='v0.0.9',                      │ │
  1052. │ │                           │   │   │   │   │   │   │   stage='staging'                        │ │
  1053. │ │                           │   │   │   │   │   │   )                                          │ │
  1054. │ │                           │   │   │   │   │   ],                                             │ │
  1055. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  1056. │ │                           │   │   │   │   ),                                                 │ │
  1057. │ │                           │   │   │   │   'production': VStage(                              │ │
  1058. │ │                           │   │   │   │   │   artifact='<model_name>',               │ │
  1059. │ │                           │   │   │   │   │                                                  │ │
  1060. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  1061. │ │                           │   │   │   │   │   version='v0.0.9',                              │ │
  1062. │ │                           │   │   │   │   │   stage='production',                            │ │
  1063. │ │                           │   │   │   │   │   assignments=[                                  │ │
  1064. │ │                           │   │   │   │   │   │   Assignment(                                │ │
  1065. │ │                           │   │   │   │   │   │   │   priority=5,                            │ │
  1066. │ │                           │   │   │   │   │   │   │   addition=True,                         │ │
  1067. │ │                           │   │   │   │   │   │   │   artifact='<model_name>',       │ │
  1068. │ │                           │   │   │   │   │   │   │   created_at=datetime.datetime(2023, 3,  │ │
  1069. │ │                           27, 14, 14, 57),                                                   │ │
  1070. │ │                           │   │   │   │   │   │   │   author='<name>',                │ │
  1071. │ │                           │   │   │   │   │   │   │   author_email='<email>',   │ │
  1072. │ │                           │   │   │   │   │   │   │   message='Assigning stage production to │ │
  1073. │ │                           artifact <model_name> version v0.0.9',                     │ │
  1074. │ │                           │   │   │   │   │   │   │                                          │ │
  1075. │ │                           commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270',          │ │
  1076. │ │                           │   │   │   │   │   │   │                                          │ │
  1077. │ │                           tag='<model_name>#production#9',                           │ │
  1078. │ │                           │   │   │   │   │   │   │   version='v0.0.9',                      │ │
  1079. │ │                           │   │   │   │   │   │   │   stage='production'                     │ │
  1080. │ │                           │   │   │   │   │   │   )                                          │ │
  1081. │ │                           │   │   │   │   │   ],                                             │ │
  1082. │ │                           │   │   │   │   │   unassignments=[]                               │ │
  1083. │ │                           │   │   │   │   )                                                  │ │
  1084. │ │                           │   │   │   }                                                      │ │
  1085. │ │                           │   │   )                                                          │ │
  1086. │ │                           │   ],                                                             │ │
  1087. │ │                           │   creations=[],                                                  │ │
  1088. │ │                           │   deprecations=[]                                                │ │
  1089. │ │                           )                                                                  │ │
  1090. │ │ assignments_per_version = -1                                                                 │ │
  1091. │ │              deprecated = False                                                              │ │
  1092. │ │           format_hexsha = <function _show_versions.<locals>.format_hexsha at                 │ │
  1093. │ │                           0x0000013DE5C83B00>                                                │ │
  1094. │ │                    name = '<model_name>@latest'                                      │ │
  1095. │ │                     raw = False                                                              │ │
  1096. │ │                     reg = GitRegistry(                                                       │ │
  1097. │ │                           │   repo=<git.repo.base.Repo                                       │ │
  1098. │ │                           'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>,      │ │
  1099. │ │                           │   artifact_manager=TagArtifactManager(                           │ │
  1100. │ │                           │   │   repo=<git.repo.base.Repo                                   │ │
  1101. │ │                           'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>,      │ │
  1102. │ │                           │   │   actions=frozenset({                                        │ │
  1103. │ │                           │   │   │   <Action.CREATE: 'create'>,                             │ │
  1104. │ │                           │   │   │   <Action.DEPRECATE: 'deprecate'>                        │ │
  1105. │ │                           │   │   }),                                                        │ │
  1106. │ │                           │   │   config=RegistryConfig(                                     │ │
  1107. │ │                           │   │   │   INDEX='artifacts.yaml',                                │ │
  1108. │ │                           │   │   │   TYPES=None,                                            │ │
  1109. │ │                           │   │   │   STAGES=None,                                           │ │
  1110. │ │                           │   │   │   LOG_LEVEL='INFO',                                      │ │
  1111. │ │                           │   │   │   DEBUG=False,                                           │ │
  1112. │ │                           │   │   │   ENRICHMENTS=[],                                        │ │
  1113. │ │                           │   │   │   AUTOLOAD_ENRICHMENTS=True,                             │ │
  1114. │ │                           │   │   │                                                          │ │
  1115. │ │                           CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
  1116. │ │                           │   │   │   EMOJIS=True                                            │ │
  1117. │ │                           │   │   )                                                          │ │
  1118. │ │                           │   ),                                                             │ │
  1119. │ │                           │   version_manager=TagVersionManager(                             │ │
  1120. │ │                           │   │   repo=<git.repo.base.Repo                                   │ │
  1121. │ │                           'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>,      │ │
  1122. │ │                           │   │   actions=frozenset({                                        │ │
  1123. │ │                           │   │   │   <Action.REGISTER: 'register'>,                         │ │
  1124. │ │                           │   │   │   <Action.DEREGISTER: 'deregister'>                      │ │
  1125. │ │                           │   │   }),                                                        │ │
  1126. │ │                           │   │   config=RegistryConfig(                                     │ │
  1127. │ │                           │   │   │   INDEX='artifacts.yaml',                                │ │
  1128. │ │                           │   │   │   TYPES=None,                                            │ │
  1129. │ │                           │   │   │   STAGES=None,                                           │ │
  1130. │ │                           │   │   │   LOG_LEVEL='INFO',                                      │ │
  1131. │ │                           │   │   │   DEBUG=False,                                           │ │
  1132. │ │                           │   │   │   ENRICHMENTS=[],                                        │ │
  1133. │ │                           │   │   │   AUTOLOAD_ENRICHMENTS=True,                             │ │
  1134. │ │                           │   │   │                                                          │ │
  1135. │ │                           CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
  1136. │ │                           │   │   │   EMOJIS=True                                            │ │
  1137. │ │                           │   │   )                                                          │ │
  1138. │ │                           │   ),                                                             │ │
  1139. │ │                           │   stage_manager=TagStageManager(                                 │ │
  1140. │ │                           │   │   repo=<git.repo.base.Repo                                   │ │
  1141. │ │                           'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>,      │ │
  1142. │ │                           │   │   actions=frozenset({                                        │ │
  1143. │ │                           │   │   │   <Action.ASSIGN: 'assign'>,                             │ │
  1144. │ │                           │   │   │   <Action.UNASSIGN: 'unassign'>                          │ │
  1145. │ │                           │   │   }),                                                        │ │
  1146. │ │                           │   │   config=RegistryConfig(                                     │ │
  1147. │ │                           │   │   │   INDEX='artifacts.yaml',                                │ │
  1148. │ │                           │   │   │   TYPES=None,                                            │ │
  1149. │ │                           │   │   │   STAGES=None,                                           │ │
  1150. │ │                           │   │   │   LOG_LEVEL='INFO',                                      │ │
  1151. │ │                           │   │   │   DEBUG=False,                                           │ │
  1152. │ │                           │   │   │   ENRICHMENTS=[],                                        │ │
  1153. │ │                           │   │   │   AUTOLOAD_ENRICHMENTS=True,                             │ │
  1154. │ │                           │   │   │                                                          │ │
  1155. │ │                           CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
  1156. │ │                           │   │   │   EMOJIS=True                                            │ │
  1157. │ │                           │   │   )                                                          │ │
  1158. │ │                           │   ),                                                             │ │
  1159. │ │                           │   enrichment_manager=EnrichmentManager(                          │ │
  1160. │ │                           │   │   repo=<git.repo.base.Repo                                   │ │
  1161. │ │                           'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>,      │ │
  1162. │ │                           │   │   actions=frozenset(),                                       │ │
  1163. │ │                           │   │   config=RegistryConfig(                                     │ │
  1164. │ │                           │   │   │   INDEX='artifacts.yaml',                                │ │
  1165. │ │                           │   │   │   TYPES=None,                                            │ │
  1166. │ │                           │   │   │   STAGES=None,                                           │ │
  1167. │ │                           │   │   │   LOG_LEVEL='INFO',                                      │ │
  1168. │ │                           │   │   │   DEBUG=False,                                           │ │
  1169. │ │                           │   │   │   ENRICHMENTS=[],                                        │ │
  1170. │ │                           │   │   │   AUTOLOAD_ENRICHMENTS=True,                             │ │
  1171. │ │                           │   │   │                                                          │ │
  1172. │ │                           CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
  1173. │ │                           │   │   │   EMOJIS=True                                            │ │
  1174. │ │                           │   │   )                                                          │ │
  1175. │ │                           │   ),                                                             │ │
  1176. │ │                           │   config=RegistryConfig(                                         │ │
  1177. │ │                           │   │   INDEX='artifacts.yaml',                                    │ │
  1178. │ │                           │   │   TYPES=None,                                                │ │
  1179. │ │                           │   │   STAGES=None,                                               │ │
  1180. │ │                           │   │   LOG_LEVEL='INFO',                                          │ │
  1181. │ │                           │   │   DEBUG=False,                                               │ │
  1182. │ │                           │   │   ENRICHMENTS=[],                                            │ │
  1183. │ │                           │   │   AUTOLOAD_ENRICHMENTS=True,                                 │ │
  1184. │ │                           │   │                                                              │ │
  1185. │ │                           CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
  1186. │ │                           │   │   EMOJIS=True                                                │ │
  1187. │ │                           │   )                                                              │ │
  1188. │ │                           )                                                                  │ │
  1189. │ │         registered_only = False                                                              │ │
  1190. │ │                    repo = 'https://<user>:<token>@<repo> │ │
  1191. │ │                shortcut = Shortcut(                                                          │ │
  1192. │ │                           │   name='<model_name>',                                   │ │
  1193. │ │                           │   stage=None,                                                    │ │
  1194. │ │                           │   version=None,                                                  │ │
  1195. │ │                           │   latest=True,                                                   │ │
  1196. │ │                           │   shortcut=True                                                  │ │
  1197. │ │                           )                                                                  │ │
  1198. │ │                    sort = <VersionSort.Timestamp: 'timestamp'>                               │ │
  1199. │ │                   table = False                                                              │ │
  1200. │ │         truncate_hexsha = False                                                              │ │
  1201. │ │      versions_per_stage = 1                                                                  │ │
  1202. │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
  1203. │                                                                                                  │
  1204. │ C:\Users\<user>\miniconda3\envs\py311\Lib\contextlib.py:144 in __exit__                           │
  1205. │                                                                                                  │
  1206. │   141 │   def __exit__(self, typ, value, traceback):                                             │
  1207. │   142 │   │   if typ is None:                                                                    │
  1208. │   143 │   │   │   try:                                                                           │
  1209. │ ❱ 144 │   │   │   │   next(self.gen)                                                             │
  1210. │   145 │   │   │   except StopIteration:                                                          │
  1211. │   146 │   │   │   │   return False                                                               │
  1212. │   147 │   │   │   else:                                                                          │
  1213. │                                                                                                  │
  1214. │ ╭──────────────────────────────────── locals ────────────────────────────────────╮               │
  1215. │ │      self = <contextlib._GeneratorContextManager object at 0x0000013DE5C95210> │               │
  1216. │ │ traceback = None                                                               │               │
  1217. │ │       typ = None                                                               │               │
  1218. │ │     value = None                                                               │               │
  1219. │ ╰────────────────────────────────────────────────────────────────────────────────╯               │
  1220. │                                                                                                  │
  1221. │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\git_utils.py:33 in from_repo          │
  1222. │                                                                                                  │
  1223. │    30 │   │   │   │   │   repo.git.checkout(branch)                                              │
  1224. │    31 │   │   │   │   │   yield cls.from_local_repo(repo=repo, config=config)                    │
  1225. │    32 │   │   │   except (NotADirectoryError, PermissionError) as e:                             │
  1226. │ ❱  33 │   │   │   │   raise e.__class__(                                                         │
  1227. │    34 │   │   │   │   │   "Are you using windows with python < 3.9? "                            │
  1228. │    35 │   │   │   │   │   "This may be the reason of this error: https://bugs.python.org/issue   │
  1229. │    36 │   │   │   │   │   "Consider upgrading python."                                           │
  1230. │                                                                                                  │
  1231. │ ╭────────────────────────────────────────── locals ──────────────────────────────────────────╮   │
  1232. │ │  branch = None                                                                             │   │
  1233. │ │     cls = <class 'gto.registry.GitRegistry'>                                               │   │
  1234. │ │  config = None                                                                             │   │
  1235. │ │    repo = <git.repo.base.Repo 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'> │   │
  1236. │ │ tmp_dir = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'                            │   │
  1237. │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯   │
  1238. ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
  1239. NotADirectoryError: Are you using windows with python < 3.9? This may be the reason of this error:
  1240. https://bugs.python.org/issue42796. Consider upgrading python.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement