Closed InigoMoreno closed 3 years ago
A possible fix would be to force distro==1.5.0 in: https://github.com/osrf/rocker/blob/dc046c7d0965892d5dbb8156aefa8306c74fd4fb/src/rocker/os_detector.py#L32
Can you clarify if you're seeing a warning or an error? This appears to be a deprecation warning that was added 26 days ago.
Also what platform and installation method are you using to be able to reproduce this error?
We should be able to move forward to the new syntax instead of pinning back. But there should be an overlap period long enough to cover all our supported platforms for them to deprecate the API which we should double check.
Can you clarify if you're seeing a warning or an error?
There is an error, click below for full traceback.
```
Traceback (most recent call last):
File "/home/inigo/.venv/rocker_venv/bin/rocker", line 11, in
Also what platform and installation method are you using to be able to reproduce this error?
Ubuntu 20.04 focal. Installed latest version with pip3 install git+https://github.com/osrf/rocker.git
We should be able to move forward to the new syntax instead of pinning back.
I think I know how to do that, should I create a merge request?
Disabling caching I was able to reproduce the issue. The stretch image is much more current than I expected. I've patched it in #156 and landed it in main will plan to do a release tomorrow after some more QA. If you can validate that fix it would be great.
Also I forgot to say thanks for the traceback and quick feedback as well as offering the fix. In the future that would be greatly appreciated. Your offer came in while I was finishing fixing it already.
Running a simple rocker command with nvidia (
rocker --nvidia ubuntu
) yields the following error: