Skip to content

Commit 3f11c81

Browse files
authored
0.4.0 (#110)
1 parent 1a065d4 commit 3f11c81

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
fail-fast: false
6868
matrix:
69-
AG_VERSION: ["source", "0.7.0"]
69+
AG_VERSION: ["source", "1.1.0"]
7070
needs: cloud_lint_check
7171
runs-on: ubuntu-latest
7272
steps:

setup.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,37 +104,35 @@ def default_setup_args(*, version):
104104
return setup_args
105105

106106

107-
version = "0.3.1"
107+
version = "0.4.0"
108108
version = update_version(version, use_file_if_exists=False, create_file=True)
109109

110110
install_requires = [
111111
# common module provides utils with stable api across minor version
112-
"autogluon.common>=0.7,<1.1",
112+
"autogluon.common>=0.7",
113113
# <2 because unlikely to introduce breaking changes in minor releases. >=1.10 because 1.10 is 3 years old, no need to support older
114114
"boto3>=1.10,<2.0",
115-
"numpy>=1.21,<1.27",
116115
"packaging>=23.0,<24.0",
117-
"pandas>=2.0.0,<2.2.0",
118116
# updated sagemaker is required to fetch latest container info, so we don't want to cap the version too strict
119117
# otherwise cloud module needs to be released to support new container
120118
"sagemaker>=2.126.0,<3.0",
121119
"pyarrow>=11.0,<11.1",
122120
"PyYAML~=6.0",
123-
"Pillow>=9.3.0,<10.0", # unlikely to introduce breaking changes in minor releases
124-
"ray[default]>=2.6.3,<2.7",
121+
"Pillow>=10.2,<11", # unlikely to introduce breaking changes in minor releases
122+
"ray[default]>=2.10.0,<2.11",
125123
]
126124

127125
extras_require = dict()
128126

129-
all_requires = ["autogluon>=0.7,<1.0"] # To allow user to pass ag objects
127+
all_requires = ["autogluon>=0.7"] # To allow user to pass ag objects
130128
extras_require["all"] = all_requires
131129

132130
test_requirements = [
133131
"tox",
134132
"pytest",
135133
"pytest-cov",
136134
"moto",
137-
"autogluon.common>=0.7.0b,<1.1",
135+
"autogluon.common>=0.7",
138136
] # Install pre-release of common for testing
139137

140138
test_requirements = list(set(test_requirements))

tests/unittests/general/test_ec2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import os
22
import tempfile
33

4-
from moto import mock_ec2
4+
from moto import mock_aws
55

66
from autogluon.cloud.utils.ec2 import _get_key_pair, create_key_pair, delete_key_pair, get_latest_ami
77

88

9-
@mock_ec2
9+
@mock_aws
1010
def test_key_pair():
1111
with tempfile.TemporaryDirectory() as temp_dir:
1212
os.chdir(temp_dir)

tests/unittests/general/test_iam.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import boto3
2-
from moto import mock_iam
2+
from moto import mock_aws
33

44
from autogluon.cloud.utils.iam import (
55
add_role_to_instance_profile,
@@ -12,7 +12,7 @@
1212
)
1313

1414

15-
@mock_iam
15+
@mock_aws
1616
def test_iam_utils():
1717
iam_client = boto3.client("iam")
1818
dummy_role = "dummy_role"

tests/unittests/general/test_s3_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
import tempfile
33

44
import boto3
5-
from moto import mock_s3
5+
from moto import mock_aws
66

77
from autogluon.cloud.utils.s3_utils import upload_file
88

99

10-
@mock_s3
10+
@mock_aws
1111
def test_upload_file():
1212
s3 = boto3.client("s3")
1313
# We need to create the bucket since this is all in Moto's 'virtual' AWS account

0 commit comments

Comments
 (0)