althonos/pronto

Cannot install latest version in new virtual environment

pkalita-lbl opened this issue · 3 comments

I think this is continued fallout from changes in setuptools-rust that trickled down to fastobo. When I do the following:

python -m venv .venv
source .venv/bin/activate
pip install pronto

I get the following error:

Collecting pronto
  Using cached pronto-2.4.7-py2.py3-none-any.whl (60 kB)
Collecting networkx~=2.3
  Using cached networkx-2.8.4-py3-none-any.whl (2.0 MB)
Collecting fastobo~=0.11.1
  Using cached fastobo-0.11.1.tar.gz (22.8 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      Traceback (most recent call last):

            [ stack trace removed ] 

        File "setup.py", line 16, in <module>
          from setuptools_rust.utils import get_rust_version
      ModuleNotFoundError: No module named 'setuptools_rust.utils'
      [end of output]
  

Yes, I need to make a new pronto release to update the minimum required fastobo as well 👍

Just pushed v2.5.0 with fastobo bumped to v0.12.1, you should be in the clear now 👌

Awesome! Thanks for taking care of that so fast