Skip to content

Commit

Permalink
Merge pull request #7656 from aldbr/v8.0_FIX_deprecate-arc
Browse files Browse the repository at this point in the history
[8.0] Deprecate ARC and ARC6
  • Loading branch information
fstagni authored Jun 7, 2024
2 parents 0dc7a25 + 12f4c2f commit 725cd3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DIRAC/Resources/Computing/ARC6ComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@

import arc # Has to work if this module is called #pylint: disable=import-error
from DIRAC import S_OK, S_ERROR
from DIRAC.Core.Utilities.Decorators import deprecated
from DIRAC.Resources.Computing.ARCComputingElement import ARCComputingElement, prepareProxyToken


@deprecated("ARC6 is deprecated and will be removed from v9.0. Please, use AREXComputingElement instead", onlyOnce=True)
class ARC6ComputingElement(ARCComputingElement):
def __init__(self, ceUniqueID):
"""Standard constructor."""
Expand Down
2 changes: 2 additions & 0 deletions src/DIRAC/Resources/Computing/ARCComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
from DIRAC.Core.Utilities.Subprocess import shellCall
from DIRAC.Core.Utilities.List import breakListIntoChunks
from DIRAC.Core.Security.ProxyInfo import getVOfromProxyGroup
from DIRAC.Core.Utilities.Decorators import deprecated
from DIRAC.Resources.Computing.ComputingElement import ComputingElement
from DIRAC.Resources.Computing.PilotBundle import writeScript
from DIRAC.WorkloadManagementSystem.Client import PilotStatus
Expand Down Expand Up @@ -112,6 +113,7 @@ def wrapper(*args, **kwargs):
return wrapper


@deprecated("ARC is deprecated and will be removed from v9.0. Please, use AREXComputingElement instead", onlyOnce=True)
class ARCComputingElement(ComputingElement):
_arcLevels = ["DEBUG", "VERBOSE", "INFO", "WARNING", "ERROR", "FATAL"]

Expand Down

0 comments on commit 725cd3a

Please sign in to comment.