Skip to content

Commit

Permalink
import LooseVersion from easybuild.tools in PETSc + Trilinos easyblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Dec 29, 2023
1 parent a6b7bfe commit 6ce5326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/p/petsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"""
import os
import re
from distutils.version import LooseVersion

import easybuild.tools.environment as env
import easybuild.tools.toolchain as toolchain
from easybuild.easyblocks.generic.configuremake import ConfigureMake
from easybuild.framework.easyconfig import BUILD, CUSTOM
from easybuild.tools import LooseVersion
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.filetools import symlink, apply_regex_substitutions
from easybuild.tools.modules import get_software_root, get_software_version
Expand Down
3 changes: 1 addition & 2 deletions easybuild/easyblocks/t/trilinos.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@
import random
import re

from distutils.version import LooseVersion

import easybuild.tools.toolchain as toolchain
from easybuild.easyblocks.generic.cmakemake import CMakeMake
from easybuild.framework.easyconfig import CUSTOM
from easybuild.tools import LooseVersion
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.config import build_path
from easybuild.tools.filetools import mkdir, remove_dir, symlink
Expand Down

0 comments on commit 6ce5326

Please sign in to comment.