Compare commits

..

3 Commits

Author SHA1 Message Date
clearml
91dfa09466 Fix Python 3.13 support 2025-01-05 12:14:24 +02:00
clearml
f110bbf5b4 Remove Python 3.5 support 2025-01-05 12:13:57 +02:00
clearml
070919973b Fix python 3.6 compatibility, no := operator 2025-01-05 12:13:21 +02:00
3 changed files with 6 additions and 6 deletions

View File

@@ -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):

View File

@@ -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(

View File

@@ -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',