mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91dfa09466 | ||
|
|
f110bbf5b4 | ||
|
|
070919973b |
@@ -134,7 +134,7 @@ class BaseField(object):
|
||||
def _validate_name(self):
|
||||
if self.name is None:
|
||||
return
|
||||
if not re.match('^[A-Za-z_](([\w\-]*)?\w+)?$', self.name):
|
||||
if not re.match(r'^[A-Za-z_](([\w\-]*)?\w+)?$', self.name):
|
||||
raise ValueError('Wrong name', self.name)
|
||||
|
||||
def structue_name(self, default):
|
||||
|
||||
@@ -75,7 +75,8 @@ class UvConfig:
|
||||
|
||||
if self.session and self.session.config and args and args[0] == "sync":
|
||||
# Set the cache dir to venvs dir
|
||||
if (cache_dir := self.session.config.get("agent.venvs_dir", None)) is not None:
|
||||
cache_dir = self.session.config.get("agent.venvs_dir", None)
|
||||
if cache_dir is not None:
|
||||
os.environ["UV_CACHE_DIR"] = cache_dir
|
||||
|
||||
extra_args = self.session.config.get(
|
||||
|
||||
7
setup.py
7
setup.py
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
ClearML - Artificial Intelligence Version Control
|
||||
ClearML Inc.
|
||||
CLEARML-AGENT DevOps for machine/deep learning
|
||||
https://github.com/allegroai/clearml-agent
|
||||
"""
|
||||
@@ -40,8 +40,8 @@ setup(
|
||||
long_description_content_type='text/markdown',
|
||||
# The project's main homepage.
|
||||
url='https://github.com/allegroai/clearml-agent',
|
||||
author='Allegroai',
|
||||
author_email='clearml@allegro.ai',
|
||||
author='clearml',
|
||||
author_email='clearml@clearml.ai',
|
||||
license='Apache License 2.0',
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
@@ -56,7 +56,6 @@ setup(
|
||||
'Topic :: Scientific/Engineering :: Image Recognition',
|
||||
'Topic :: System :: Logging',
|
||||
'Topic :: System :: Monitoring',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
|
||||
Reference in New Issue
Block a user