-
Notifications
You must be signed in to change notification settings - Fork 99
http.client.ResponseNotReady raised in 0.11.4 #205
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
Comments
Could you please provide minimal code to reproduce this error? As code below cannot simply reproduce. from odps import DataFrame, options
import numpy as np, pandas as pd
pddf = pd.DataFrame(np.random.rand(10000, 10), columns=list("ABCDEFGHIJ"))
df = DataFrame(pddf).persist("test_pd_persist_table", lifecycle=1) |
But this code will throw here's another script to repro this issue
import pandas as pd
from odps import ODPS, DataFrame
if __name__ == "__main__":
o = ODPS(
"my_access_id",
"my_secret_key",
"my_project",
"my_endpoint",
)
df = pd.DataFrame(
{
"id_code": ["1", "2", "3"],
"ds": pd.to_datetime(["2023-01-01", "2023-01-01", "2023-01-01"]),
"value": [4, 5, 6],
}
)
DataFrame(df).persist(
"table_name",
drop_table=True,
odps=o,
lifecycle=1,
)
|
Verified to be an issue of urllib3 2.0.x. Please use an earlier release of urllib3. |
LGTM, v0.11.4.post0 works fine. |
latest pyodps installed via
pip install pyodps --index-url="https://pypi.org/simple"
pyodps: 0.11.4
urllib3: 2.0.2
The text was updated successfully, but these errors were encountered: