Skip to content

Commit 33b54b3

Browse files
authored
Revert maestro 1.1.8 support (LLNL#241)
* reverted support of Maestro 1.1.8 * removed tests that use maestro validation * fixed style
1 parent dffed56 commit 33b54b3

File tree

27 files changed

+76
-767
lines changed

27 files changed

+76
-767
lines changed

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99
### Added
10-
- Integrated Maestro validation into merlin.
1110
- The sample generation command now logs stdout, stderr, and cmd.sh to merlin_info.
1211
- Add the bank and walltime keywords to the batch slurm launch, these
1312
will not alter the lsf launch.
@@ -17,7 +16,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1716
### Fixed
1817
- Updated to new celery (4.4.5) syntax for signature return codes.
1918
- Corrected prior bugfix.
20-
- Unfroze Maestro version dependency.
2119
- Slightly improved logic by using regex to match variable tokens.
2220

2321
## [1.6.1]

merlin/celery.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929
###############################################################################
3030

3131
"""Updated celery configuration."""
32-
from __future__ import (
33-
absolute_import,
34-
print_function,
35-
)
32+
from __future__ import absolute_import, print_function
3633

3734
import logging
3835
import os
@@ -43,10 +40,7 @@
4340
from celery.signals import worker_process_init
4441

4542
import merlin.common.security.encrypt_backend_traffic
46-
from merlin.config import (
47-
broker,
48-
results_backend,
49-
)
43+
from merlin.config import broker, results_backend
5044
from merlin.config.configfile import CONFIG
5145
from merlin.log_formatter import FORMATS
5246
from merlin.router import route_for_task

merlin/common/sample_index_factory.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@
3333
"""
3434
from parse import parse
3535

36-
from merlin.common.sample_index import (
37-
MAX_SAMPLE,
38-
SampleIndex,
39-
)
36+
from merlin.common.sample_index import MAX_SAMPLE, SampleIndex
4037
from merlin.utils import cd
4138

4239

merlin/common/tasks.py

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,13 @@
2929
###############################################################################
3030

3131
"""Test tasks."""
32-
from __future__ import (
33-
absolute_import,
34-
unicode_literals,
35-
)
32+
from __future__ import absolute_import, unicode_literals
3633

3734
import logging
3835
import os
3936

40-
from celery import (
41-
chain,
42-
chord,
43-
group,
44-
shared_task,
45-
signature,
46-
)
47-
from celery.exceptions import (
48-
OperationalError,
49-
TimeoutError,
50-
)
37+
from celery import chain, chord, group, shared_task, signature
38+
from celery.exceptions import OperationalError, TimeoutError
5139

5240
from merlin.common.abstracts.enums import ReturnCode
5341
from merlin.common.sample_index import uniform_directories

merlin/config/broker.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636
import os
3737
from os.path import expanduser
3838

39-
from merlin.config.configfile import (
40-
CONFIG,
41-
get_ssl_entries,
42-
)
39+
from merlin.config.configfile import CONFIG, get_ssl_entries
4340

4441

4542
try:

merlin/config/results_backend.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636
import logging
3737
import os
3838

39-
from merlin.config.configfile import (
40-
CONFIG,
41-
get_ssl_entries,
42-
)
39+
from merlin.config.configfile import CONFIG, get_ssl_entries
4340

4441

4542
try:

merlin/display.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@
4040
from tabulate import tabulate
4141

4242
from merlin.ascii_art import banner_small
43-
from merlin.config import (
44-
broker,
45-
results_backend,
46-
)
43+
from merlin.config import broker, results_backend
4744
from merlin.config.configfile import default_config_info
4845

4946

merlin/examples/workflows/feature_demo/scripts/learn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import sys
33

44
import numpy as np
5-
65
from sklearn.ensemble import RandomForestRegressor
76

87

merlin/examples/workflows/hpc_demo/cumulative_sample_processor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import argparse
22
import os
33
import sys
4-
5-
import matplotlib.pyplot as plt
64
from concurrent.futures import ProcessPoolExecutor
75

6+
import matplotlib.pyplot as plt
87
import pandas as pd
98

109

merlin/examples/workflows/hpc_demo/sample_collector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import argparse
22
import os
33
import sys
4-
54
from concurrent.futures import ProcessPoolExecutor
65

76

0 commit comments

Comments
 (0)