ami-iit / adam

adam implements a collection of algorithms for calculating rigid-body dynamics in Jax, CasADi, PyTorch, and Numpy.
https://adam-docs.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
131 stars 20 forks source link

Warning when installing the project with pip #30

Closed diegoferigo closed 2 years ago

diegoferigo commented 2 years ago

I just noticed that installing the project with a modern pip version produces the following warning:

  WARNING: Generating metadata for package adam produced metadata for project name adam-robotics. Fix your #egg=adam fragments.
Discarding git+https://github.com/ami-iit/ADAM@v0.0.5: Requested adam-robotics from git+https://github.com/ami-iit/ADAM@v0.0.5 (from -r pip_requirements.txt (line 58)) has
 inconsistent name: expected 'adam', but metadata has 'adam-robotics'

In my case, I was installing the project as part of a longer list specified in a pip_requirements.txt file.

diegoferigo commented 2 years ago

I double checked the pip_requirements.txt used by the downstream project and it was listing the following line:

# ...
adam @ git+https://github.com/ami-iit/ADAM@v0.0.5

Apparently this is no longer valid, and after https://github.com/ami-iit/ADAM/pull/22 the package is also available on PyPI. Therefore, to install tagged versions, it's better to just pip install adam-robotics. cc @VenusPasandi

Closing.