AntelopeIO / DUNES

Docker Utilities for Node Execution
Other
26 stars 20 forks source link

Adding Leap and CDT version selector #115

Closed mikelik closed 1 year ago

mikelik commented 1 year ago

If user will run dune --leap or dune --cdt without version then list of available options will be displayed like on example below:

mikel@msi:~/repo/DUNE$ ./dune --leap 
Available Leap versions:
1) v3.2.1
2) v3.1.4
3) v3.2.0
4) v3.2.0-rc2
5) v3.1.3
6) v3.2.0-rc1
7) v3.1.2
8) v3.1.1
9) v3.1.0
10) v3.1.0-rc4
Enter which version you want to choose [1,10]? 1
mikelik commented 1 year ago

@ScottBailey can you chat what fails in your case? On my ubuntu as well as in CI it runs fine: https://github.com/AntelopeIO/DUNE/actions/runs/4222426365/jobs/7330913715

============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0
rootdir: /home/runner/work/DUNE/DUNE
collected 25 items

tests/test_all_options_tested.py s                                       [  4%]
(...)
tests/test_help.py ..                                                    [ 28%]
(...)
tests/test_wallet.py ..                                                  [100%]

================== 24 passed, 1 skipped in 314.17s (0:05:14) ===================
mikelik commented 1 year ago

@ScottBailey can you chat what fails in your case? On my ubuntu as well as in CI it runs fine: https://github.com/AntelopeIO/DUNE/actions/runs/4222426365/jobs/7330913715

It occurred that in Python3.11 the output is "options:" instead of "options arguments:".