Open
Description
Environment Details (include every applicable attribute)
- Operating System+version: Windows 10
- Compiler+version: -
- Conan version: 1.12.3, latest
- Python version: 3.8 (default download 32 Bit!)
Steps to reproduce (Include if Applicable)
Try to upload a conan.tar.gz bigger than 2147483647 byte with Python 32 Bit
Logs (Executed commands with output) (Include/Attach if Applicable)
Error uploading file: conan_package.tgz, 'cannot fit 'int' into an index-sized integer'
In /Lib/site-packages/requests/sessions.py:512
the constructor of Request queries the length of data
req = Request(
method=method.upper(),
url=url,
headers=headers,
files=files,
data=data or {},
json=json,
params=params or {},
auth=auth,
cookies=cookies,
hooks=hooks,
)
which will return the above error on a 32-Bit Python if the value is bigger than 2147483647
I've also tested this with the latest version of conan. Installing 64-Bit Python solves this Issue. Since for Windows you get a 32-Bit Python by default it would be great to explicitly mentions to install Python 3 64-Bit.