GitHub Actions: do not install six in CI (#37361)
* GitHub Actions: do not install six in CI * Remove workflow code that was commented out * Remove any use of "six" from packages
This commit is contained in:
committed by
GitHub
parent
131e1c0937
commit
68a4b2e4e4
@@ -3,8 +3,6 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from six import string_types
|
||||
|
||||
import spack.platforms
|
||||
from spack.package import *
|
||||
from spack.pkg.builtin.mock.multimethod_base import MultimethodBase
|
||||
@@ -102,7 +100,7 @@ def has_a_default(self):
|
||||
|
||||
@when("target=" + target.name)
|
||||
def different_by_target(self):
|
||||
if isinstance(self.spec.architecture.target, string_types):
|
||||
if isinstance(self.spec.architecture.target, str):
|
||||
return self.spec.architecture.target
|
||||
else:
|
||||
return self.spec.architecture.target.name
|
||||
|
||||
Reference in New Issue
Block a user