-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[Data] - Update Pyarrow version to 23.0 for release tests + Update moto to 5.x.x #59489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5eed831
62b21be
146fac0
15a828d
21dda15
e932913
8caebe3
38cfccd
0e77f50
63a2fec
513b311
50d4a7b
b5d107a
6c65a4e
236ee25
5f9c157
e46aea1
d4194ba
b0de7d0
b3782fa
7577aca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,9 @@ | |
|
|
||
| def start_service(service_name, host, port): | ||
| moto_svr_path = shutil.which("moto_server") | ||
| args = [moto_svr_path, service_name, "-H", host, "-p", str(port)] | ||
| # moto 5.x no longer accepts a service name argument - all services | ||
| # are served on a single endpoint | ||
| args = [moto_svr_path, "-H", host, "-p", str(port)] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With this change, the |
||
| process = sp.Popen( | ||
| args, stdin=sp.PIPE, stdout=sp.DEVNULL, stderr=sp.DEVNULL | ||
| ) # shell=True | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ jsonpatch==1.32 | |
| kubernetes==24.2.0 | ||
| llvmlite==0.42.0 | ||
| lxml>=6.0.2 | ||
| moto[s3,server]==4.2.12 | ||
| moto[s3,server]==5.1.18 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please update the related dependency set. cc @elliot-barn
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yea you don't need to update requirements_compiled.txt manually. You can run these scripts in python 3.11 environment
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hold on, @goutamvenkat-anyscale would new moto be compatible w/ PA < 22?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's compatible. Output: |
||
| mypy==1.7.0 | ||
| numba==0.59.1 | ||
| openpyxl==3.0.10 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,6 +88,7 @@ annotated-types==0.6.0 | |
| antlr4-python3-runtime==4.11.1 | ||
| # via | ||
| # fugue-sql-antlr | ||
| # moto | ||
| # qpd | ||
| anyio==4.12.0 | ||
| # via | ||
|
|
@@ -392,14 +393,13 @@ cryptography==44.0.3 | |
| # azure-cli-core | ||
| # azure-identity | ||
| # azure-storage-blob | ||
| # joserfc | ||
| # moto | ||
| # msal | ||
| # paramiko | ||
| # pyjwt | ||
| # pyopenssl | ||
| # python-jose | ||
| # snowflake-connector-python | ||
| # sshpubkeys | ||
| # trustme | ||
| cupy-cuda12x==13.4.0 ; sys_platform != "darwin" | ||
| # via | ||
|
|
@@ -484,11 +484,6 @@ docutils==0.19 | |
| # sphinx | ||
| dulwich==0.21.6 | ||
| # via comet-ml | ||
| ecdsa==0.18.0 | ||
| # via | ||
| # moto | ||
| # python-jose | ||
| # sshpubkeys | ||
| entrypoints==0.4 | ||
| # via nbconvert | ||
| et-xmlfile==1.1.0 | ||
|
|
@@ -889,17 +884,19 @@ joblib==1.2.0 | |
| # via | ||
| # -r python/requirements/test-requirements.txt | ||
| # scikit-learn | ||
| joserfc==1.5.0 | ||
| # via moto | ||
| jschema-to-python==1.2.3 | ||
| # via cfn-lint | ||
| json5==0.9.14 | ||
| # via jupyterlab-server | ||
| jsondiff==2.0.0 | ||
| # via moto | ||
| jsonpatch==1.32 | ||
| # via | ||
| # -r python/requirements/cloud-requirements.txt | ||
| # -r python/requirements/test-requirements.txt | ||
| # cfn-lint | ||
| jsonpath-ng==1.7.0 | ||
| # via moto | ||
| jsonpickle==3.0.2 | ||
| # via jschema-to-python | ||
| jsonpointer==2.4 | ||
|
|
@@ -1089,7 +1086,7 @@ more-itertools==10.7.0 | |
| # via configspace | ||
| mosaicml==0.3.1 ; python_version < "3.12" | ||
| # via -r python/requirements/ml/train-test-requirements.txt | ||
| moto==4.2.12 | ||
| moto==5.1.18 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @elliot-barn , could you help update python3.13 requirements to be consistent with the changes in this PR too? |
||
| # via -r python/requirements/test-requirements.txt | ||
| moviepy==0.2.3.1 | ||
| # via -r python/requirements/ml/rllib-test-requirements.txt | ||
|
|
@@ -1497,6 +1494,8 @@ plotly==5.23.0 | |
| # via ax-platform | ||
| pluggy==1.3.0 | ||
| # via pytest | ||
| ply==3.11 | ||
| # via jsonpath-ng | ||
| polars==1.36.1 | ||
| # via -r python/requirements/test-requirements.txt | ||
| polars-runtime-32==1.36.1 | ||
|
|
@@ -1579,7 +1578,7 @@ py==1.11.0 | |
| # via pytest-forked | ||
| py-cpuinfo==9.0.0 | ||
| # via deepspeed | ||
| py-partiql-parser==0.5.0 | ||
| py-partiql-parser==0.6.3 | ||
| # via moto | ||
| py-spy==0.4.0 ; python_version < "3.12" | ||
| # via -r python/requirements.txt | ||
|
|
@@ -1605,7 +1604,6 @@ pyasn1==0.5.1 | |
| # via | ||
| # oauth2client | ||
| # pyasn1-modules | ||
| # python-jose | ||
| # rsa | ||
| pyasn1-modules==0.3.0 | ||
| # via | ||
|
|
@@ -1786,8 +1784,6 @@ python-dateutil==2.8.2 | |
| # strictyaml | ||
| python-dotenv==1.2.1 | ||
| # via testcontainers | ||
| python-jose==3.3.0 | ||
| # via moto | ||
| python-json-logger==2.0.7 | ||
| # via jupyter-events | ||
| python-lsp-jsonrpc==1.0.0 | ||
|
|
@@ -1842,6 +1838,7 @@ pyyaml==6.0.3 | |
| # pymars | ||
| # pytorch-lightning | ||
| # ray | ||
| # responses | ||
| # timm | ||
| # transformers | ||
| # wandb | ||
|
|
@@ -1926,7 +1923,7 @@ requests-oauthlib==2.0.0 | |
| # msrest | ||
| requests-toolbelt==1.0.0 | ||
| # via comet-ml | ||
| responses==0.13.4 | ||
| responses==0.25.8 | ||
| # via | ||
| # -r python/requirements/ml/data-requirements.txt | ||
| # moto | ||
|
|
@@ -1965,7 +1962,6 @@ rsa==4.7.2 | |
| # gcs-oauth2-boto-plugin | ||
| # google-auth | ||
| # oauth2client | ||
| # python-jose | ||
| ruamel-yaml==0.17.40 | ||
| # via | ||
| # semgrep | ||
|
|
@@ -2058,7 +2054,6 @@ six==1.16.0 | |
| # azure-core | ||
| # bleach | ||
| # configobj | ||
| # ecdsa | ||
| # fs | ||
| # gcs-oauth2-boto-plugin | ||
| # google-apitools | ||
|
|
@@ -2080,7 +2075,6 @@ six==1.16.0 | |
| # python-dateutil | ||
| # pyu2f | ||
| # pyvmomi | ||
| # responses | ||
| # rfc3339-validator | ||
| # tensorboard | ||
| # tensorflow | ||
|
|
@@ -2139,8 +2133,6 @@ sqlglot==25.6.1 | |
| # via fugue | ||
| sqlparse==0.5.1 | ||
| # via mlflow-skinny | ||
| sshpubkeys==3.3.1 | ||
| # via moto | ||
| stack-data==0.6.3 | ||
| # via ipython | ||
| stanio==0.3.0 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change, the
service_nameparameter is no longer used to configure themoto_server. It's only used in error messages on lines 81 and 91. Sincemotov5 serves all services on a single endpoint, the concept of starting a single service is obsolete. Consider removing theservice_nameparameter from the function signature and updating the error messages to something more generic like "Can not start moto server". This would require updating the call site on line 124 as well.