jmfernandes / robin_stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
http://www.robin-stocks.com
MIT License
1.69k stars 459 forks source link

install / build error: robin_stocks with python3.13-nogil #497

Open mw66 opened 2 days ago

mw66 commented 2 days ago

Now python3.13-nogil has released:

https://py-free-threading.github.io/installing_cpython/#__tabbed_2_3

For Ubuntu you can use the deadsnakes PPA by adding it to your repositories and then installing python3.13-nogil:

sudo add-apt-repository ppa:deadsnakes
sudo apt-get update
sudo apt-get install python3.13-nogil

but pip3.13 install robin_stocks failed:

$ pip3.13 install robin_stocks
...

      💥 maturin failed
        Caused by: Failed to build a native library through cargo
...

Looks like it failed with some Rust dependency?

"cargo" "rustc" "--features" "pyo3/abi3-py37" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-cpgt1twr/cryptography_c56019a4440e46c894e6db9ed165afae/src/rust/Cargo.toml" "--release" "--lib"

mw66 commented 1 day ago

It's due to

https://github.com/pyca/cryptography/issues/11436#issuecomment-2292023727

jmfernandes commented 1 day ago

reverted to old version