Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import preprocessing error #128

Open
itsubaidrehman opened this issue Dec 14, 2024 · 18 comments
Open

Import preprocessing error #128

itsubaidrehman opened this issue Dec 14, 2024 · 18 comments

Comments

@itsubaidrehman
Copy link

I am trying to install RISCoF framework but getting preprocessing error.

File "/home/lpt-10xe/riscof/riscof/cli.py", line 18, in
import riscof.framework.main as framework
File "/home/lpt-10xe/riscof/riscof/framework/main.py", line 11, in
from riscv_isac.isac import preprocessing
ImportError: cannot import name 'preprocessing' from 'riscv_isac.isac' (/home/lpt-10xe/.local/lib/python3.10/site-packages/riscv_isac/isac.py)

@jordancarlin
Copy link
Contributor

This is caused by #122. For now the workaround is to install a newer version of riscv-isac manually. The instructions in that issue are no longer up to date because riscv-isac has been moved to the riscv-arch-test repo. The following command should work:

pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac

@jordancarlin
Copy link
Contributor

@UmerShahidengr It seems like there won't be further packaged pip releases of riscv-isac now that it has been directly incorporated into riscv-arch-test. That leaves the default install of riscof unusable in its current state. Is there a reason not to incorporate riscof into the riscv-arch-test repo as well to avoid these issues?

@itsubaidrehman
Copy link
Author

@jordancarlin @UmerShahidengr
To avoid the preprocessing impor error, Installing RISCoF using pip3 worked for me.
pip3 install riscof

@jordancarlin
Copy link
Contributor

@itsubaidrehman Unfortunately that installs an older version from January 2023. At a minimum I believe that version is missing features needed for testing the privileged architecture.

@itsubaidrehman
Copy link
Author

@jordancarlin I tried to install using
pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
and now i am getting the same above mentioned pre-processing error. Beside that now pip3 install riscof is also unable to install riscof.

@jordancarlin
Copy link
Contributor

Maybe try uninstalling riscof and riscv-isac first? Maybe also try removing everything from the pip cache? python -m pip cache purge

The following two commands work to install riscv-isac and riscof in a functional state for me.

pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
pip install git+https://github.com/riscv/riscof

The other option I can think of trying is to replace the current riscv-isac line in the requirements.txt file with riscv-isac @ git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac instead.

@itsubaidrehman
Copy link
Author

@jordancarlin I have checkout to d38859f commit and then installed riscof and it worked. Now i did not get import preprocessing error.

@jordancarlin
Copy link
Contributor

That makes sense. It was commit dddbc52 that introduced the feature that is dependent on the newer version of riscv-isac. Some of those features will be needed for privileged tests, but if it works fine for now without it then I guess maybe that's good enough.

@itsubaidrehman
Copy link
Author

itsubaidrehman commented Dec 15, 2024

@jordancarlin but still, if some one has to use those features, what could be the possible solutions to avoid this error?

@jordancarlin
Copy link
Contributor

The only solutions I'm aware of are the two I listed above. Not sure why neither worked for you.

Ideally the longer term solution would be to merge riscof into riscv-arch-test so that they can't get out of sync and don't have weird dependencies.

@itsubaidrehman
Copy link
Author

@jordancarlin I have installed riscof with these two commands
pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
pip install git+https://github.com/riscv/riscof

but now coverage command is working fine for M extension but for I extension i am getting these errors

ERROR | Covergroup(s) for ('CHK_M_INTR_PRIORITY',) not found
make: *** [/home/lpt-10xe/WORK/riscof_work/Makefile.Reference-sail_c_simulator:9: TARGET1] Error 1

INFO | Merging Coverage reports
Traceback (most recent call last):
File "/home/lpt-10xe/.local/bin/riscof", line 8, in
sys.exit(cli())
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/riscof/cli.py", line 406, in coverage
report, for_html, test_stats, coverpoints = framework.run_coverage(base, isa_file, platform_file,
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/riscof/framework/main.py", line 129, in run_coverage
'test_size': [str(entry) for entry in find_elf_size(elf)],
File "/home/lpt-10xe/.local/lib/python3.10/site-packages/riscof/framework/main.py", line 61, in find_elf_size
with open(elf, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/lpt-10xe/WORK/riscof_work/src/addi-01.S/ref.elf'

@jordancarlin
Copy link
Contributor

I've spent a while working on installation related issues but am not very familiar with actually using riscof for coverage, so I'm not sure that I can be much help at this point.

@zaun
Copy link

zaun commented Jan 3, 2025

Just chiming in, Im running into this issue as well:

╰─$ pipx install --editable . --force                                                                                                   
--python is ignored when --force is passed. If you want to reinstall riscv_ctg with
/Users/justinzaun/local/brew/opt/[email protected]/libexec/bin/python, run `pipx reinstall . --python
/Users/justinzaun/local/brew/opt/[email protected]/libexec/bin/python` instead.
Installing to existing venv 'riscv_ctg'
  installed package riscv_ctg 0.12.2, installed using Python 3.12.6
  These apps are now globally available
    - riscv_ctg
done! ✨ 🌟 ✨
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/riscv-ctg ‹dev› 
╰─$ cd ..
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ cd riscv-isac   
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/riscv-isac ‹dev› 
╰─$ pipx install --editable . --force
--python is ignored when --force is passed. If you want to reinstall riscv_isac with
/Users/justinzaun/local/brew/opt/[email protected]/libexec/bin/python, run `pipx reinstall . --python
/Users/justinzaun/local/brew/opt/[email protected]/libexec/bin/python` instead.
Installing to existing venv 'riscv_isac'
  installed package riscv_isac 0.18.0, installed using Python 3.12.6
  These apps are now globally available
    - riscv_isac
done! ✨ 🌟 ✨
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/riscv-isac ‹dev› 
╰─$ cd ..                            
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ riscof --help
Traceback (most recent call last):
  File "/Users/justinzaun/local/bin/riscof", line 5, in <module>
    from riscof.cli import cli
  File "/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscof/cli.py", line 18, in <module>
    import riscof.framework.main as framework
  File "/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscof/framework/main.py", line 11, in <module>
    from riscv_isac.isac import preprocessing
ImportError: cannot import name 'preprocessing' from 'riscv_isac.isac' (/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscv_isac/isac.py)
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$                                                                                                                                       1 ↵

@itsubaidrehman
Copy link
Author

@zaun hopefully these two commands will install the RISCoF framwork setup without these error.
pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
pip install git+https://github.com/riscv/riscof

@zaun
Copy link

zaun commented Jan 3, 2025

@itsubaidrehman Unfortunately no.

╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ pipx uninstall riscv-isac                                                                                                             2 ↵
uninstalled riscv_isac! ✨ 🌟 ✨
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ pipx uninstall riscof
uninstalled riscof! ✨ 🌟 ✨
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ pipx install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
  installed package riscv_isac 0.18.0, installed using Python 3.12.6
  These apps are now globally available
    - riscv_isac
done! ✨ 🌟 ✨
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ pipx install git+https://github.com/riscv/riscof
  installed package riscof 1.25.3, installed using Python 3.12.6
  These apps are now globally available
    - riscof
done! ✨ 🌟 ✨
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ riscof
Traceback (most recent call last):
  File "/Users/justinzaun/local/bin/riscof", line 5, in <module>
    from riscof.cli import cli
  File "/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscof/cli.py", line 18, in <module>
    import riscof.framework.main as framework
  File "/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscof/framework/main.py", line 11, in <module>
    from riscv_isac.isac import preprocessing
ImportError: cannot import name 'preprocessing' from 'riscv_isac.isac' (/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscv_isac/isac.py)

@jordancarlin
Copy link
Contributor

@itsubaidrehman Can you try installing using pip inside of a single virtual environment instead of pipx to see if it is an issue with the way pipx is handling it?

python -m venv test
source test/bin/activate
pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
pip install git+https://github.com/riscv/riscof

@zaun
Copy link

zaun commented Jan 3, 2025

So, yeah that works. I'm not dont know python or pip/pipx well enough to know why it worked and pipx didn't though. Maybe is something with being on macOS or python/pipx being from brew? This is the full log:

╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev› 
╰─$ python -m venv test                                                                                                                   1 ↵
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev●› 
╰─$ source test/bin/activate
(test) ╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev●› 
╰─$ pip install git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
Collecting git+https://github.com/riscv-non-isa/riscv-arch-test/#subdirectory=riscv-isac
  Cloning https://github.com/riscv-non-isa/riscv-arch-test/ to /private/var/folders/2n/9d_8f0dd7tj6bwwx3tmxrgn80000gn/T/pip-req-build-5pw5hw_a
  Running command git clone --filter=blob:none --quiet https://github.com/riscv-non-isa/riscv-arch-test/ /private/var/folders/2n/9d_8f0dd7tj6bwwx3tmxrgn80000gn/T/pip-req-build-5pw5hw_a
  Resolved https://github.com/riscv-non-isa/riscv-arch-test/ to commit 1b1fb26da37a2a426dd1f5260b0f08ff4e321f0e
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting alabaster>=0.7.12 (from riscv_isac==0.18.0)
  Using cached alabaster-1.0.0-py3-none-any.whl.metadata (2.8 kB)
Collecting Babel>=2.7.0 (from riscv_isac==0.18.0)
  Using cached babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
Collecting Cerberus>=1.3.1 (from riscv_isac==0.18.0)
  Using cached Cerberus-1.3.7-py3-none-any.whl.metadata (5.5 kB)
Collecting certifi>=2019.6.16 (from riscv_isac==0.18.0)
  Using cached certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
Collecting chardet>=3.0.4 (from riscv_isac==0.18.0)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting click (from riscv_isac==0.18.0)
  Using cached click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Collecting colorlog (from riscv_isac==0.18.0)
  Using cached colorlog-6.9.0-py3-none-any.whl.metadata (10 kB)
Collecting doc8>=0.8.0 (from riscv_isac==0.18.0)
  Using cached doc8-1.1.2-py3-none-any.whl.metadata (8.3 kB)
Collecting docutils>=0.14 (from riscv_isac==0.18.0)
  Using cached docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB)
Collecting gitdb2>=2.0.5 (from riscv_isac==0.18.0)
  Using cached gitdb2-4.0.2-py3-none-any.whl.metadata (383 bytes)
Collecting gitpython (from riscv_isac==0.18.0)
  Using cached GitPython-3.1.44-py3-none-any.whl.metadata (13 kB)
Collecting idna>=2.8 (from riscv_isac==0.18.0)
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting imagesize>=1.1.0 (from riscv_isac==0.18.0)
  Using cached imagesize-1.4.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting Jinja2 (from riscv_isac==0.18.0)
  Using cached jinja2-3.1.5-py3-none-any.whl.metadata (2.6 kB)
Collecting m2r2>=0.2.7 (from riscv_isac==0.18.0)
  Using cached m2r2-0.3.3.post2-py3-none-any.whl.metadata (7.1 kB)
Collecting MarkupSafe>=1.1.1 (from riscv_isac==0.18.0)
  Using cached MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (4.0 kB)
Collecting mistune>=0.8.4 (from riscv_isac==0.18.0)
  Using cached mistune-3.1.0-py3-none-any.whl.metadata (1.7 kB)
Collecting ordered-set>=4.1.0 (from riscv_isac==0.18.0)
  Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
Collecting oyaml>=0.9 (from riscv_isac==0.18.0)
  Using cached oyaml-1.0-py2.py3-none-any.whl.metadata (1.2 kB)
Collecting packaging>=19.0 (from riscv_isac==0.18.0)
  Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pbr>=5.3.1 (from riscv_isac==0.18.0)
  Using cached pbr-6.1.0-py2.py3-none-any.whl.metadata (3.4 kB)
Collecting pluggy (from riscv_isac==0.18.0)
  Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting pyelftools>=0.26 (from riscv_isac==0.18.0)
  Using cached pyelftools-0.31-py3-none-any.whl.metadata (381 bytes)
Collecting Pygments>=2.4.2 (from riscv_isac==0.18.0)
  Using cached pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB)
Collecting pyparsing>=2.4.0 (from riscv_isac==0.18.0)
  Using cached pyparsing-3.2.1-py3-none-any.whl.metadata (5.0 kB)
Collecting pytablewriter (from riscv_isac==0.18.0)
  Using cached pytablewriter-1.2.1-py3-none-any.whl.metadata (38 kB)
Collecting pytest (from riscv_isac==0.18.0)
  Using cached pytest-8.3.4-py3-none-any.whl.metadata (7.5 kB)
Collecting python-constraint>=1.4.0 (from riscv_isac==0.18.0)
  Using cached python_constraint-1.4.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.8.0 (from riscv_isac==0.18.0)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2019.1 (from riscv_isac==0.18.0)
  Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting pyyaml (from riscv_isac==0.18.0)
  Using cached PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.1 kB)
Collecting requests>=2.22.0 (from riscv_isac==0.18.0)
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting restructuredtext-lint>=1.3.0 (from riscv_isac==0.18.0)
  Using cached restructuredtext_lint-1.4.0-py3-none-any.whl
Collecting ruamel.yaml>=0.18.0 (from riscv_isac==0.18.0)
  Using cached ruamel.yaml-0.18.8-py3-none-any.whl.metadata (22 kB)
Collecting six>=1.12.0 (from riscv_isac==0.18.0)
  Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting smmap2>=2.0.5 (from riscv_isac==0.18.0)
  Using cached smmap2-3.0.1-py3-none-any.whl.metadata (383 bytes)
Collecting snowballstemmer>=1.2.1 (from riscv_isac==0.18.0)
  Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl.metadata (6.5 kB)
Collecting Sphinx>=3.0.4 (from riscv_isac==0.18.0)
  Using cached sphinx-8.1.3-py3-none-any.whl.metadata (6.4 kB)
Collecting sphinxcontrib-autoyaml>=0.5.0 (from riscv_isac==0.18.0)
  Using cached sphinxcontrib_autoyaml-1.1.3-py3-none-any.whl.metadata (3.3 kB)
Collecting sphinxcontrib-bibtex>=1.0.0 (from riscv_isac==0.18.0)
  Using cached sphinxcontrib_bibtex-2.6.3-py3-none-any.whl.metadata (6.3 kB)
Collecting sphinxcontrib-mermaid (from riscv_isac==0.18.0)
  Using cached sphinxcontrib_mermaid-1.0.0-py3-none-any.whl.metadata (2.4 kB)
Collecting sphinxcontrib-websupport>=1.1.2 (from riscv_isac==0.18.0)
  Using cached sphinxcontrib_websupport-2.0.0-py3-none-any.whl.metadata (2.4 kB)
Collecting sphinx-rtd-theme>=0.4.3 (from riscv_isac==0.18.0)
  Using cached sphinx_rtd_theme-3.0.2-py2.py3-none-any.whl.metadata (4.4 kB)
Collecting sphinx_tabs (from riscv_isac==0.18.0)
  Using cached sphinx_tabs-3.4.7-py3-none-any.whl.metadata (6.3 kB)
Collecting stevedore>=1.30.1 (from riscv_isac==0.18.0)
  Using cached stevedore-5.4.0-py3-none-any.whl.metadata (2.3 kB)
Collecting twine>=1.13.0 (from riscv_isac==0.18.0)
  Using cached twine-6.0.1-py3-none-any.whl.metadata (3.7 kB)
Collecting urllib3>=1.25.3 (from riscv_isac==0.18.0)
  Using cached urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
Collecting gitdb>=4.0.1 (from gitdb2>=2.0.5->riscv_isac==0.18.0)
  Using cached gitdb-4.0.12-py3-none-any.whl.metadata (1.2 kB)
Collecting mistune>=0.8.4 (from riscv_isac==0.18.0)
  Using cached mistune-0.8.4-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.22.0->riscv_isac==0.18.0)
  Using cached charset_normalizer-3.4.1-cp312-cp312-macosx_10_13_universal2.whl.metadata (35 kB)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml>=0.18.0->riscv_isac==0.18.0)
  Using cached ruamel.yaml.clib-0.2.12-cp312-cp312-macosx_14_0_arm64.whl.metadata (1.2 kB)
Collecting smmap>=3.0.1 (from smmap2>=2.0.5->riscv_isac==0.18.0)
  Using cached smmap-5.0.2-py3-none-any.whl.metadata (4.3 kB)
Collecting sphinxcontrib-applehelp>=1.0.7 (from Sphinx>=3.0.4->riscv_isac==0.18.0)
  Using cached sphinxcontrib_applehelp-2.0.0-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-devhelp>=1.0.6 (from Sphinx>=3.0.4->riscv_isac==0.18.0)
  Using cached sphinxcontrib_devhelp-2.0.0-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-htmlhelp>=2.0.6 (from Sphinx>=3.0.4->riscv_isac==0.18.0)
  Using cached sphinxcontrib_htmlhelp-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-jsmath>=1.0.1 (from Sphinx>=3.0.4->riscv_isac==0.18.0)
  Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting sphinxcontrib-qthelp>=1.0.6 (from Sphinx>=3.0.4->riscv_isac==0.18.0)
  Using cached sphinxcontrib_qthelp-2.0.0-py3-none-any.whl.metadata (2.3 kB)
Collecting sphinxcontrib-serializinghtml>=1.1.9 (from Sphinx>=3.0.4->riscv_isac==0.18.0)
  Using cached sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl.metadata (2.4 kB)
Collecting sphinxcontrib-jquery<5,>=4 (from sphinx-rtd-theme>=0.4.3->riscv_isac==0.18.0)
  Using cached sphinxcontrib_jquery-4.1-py2.py3-none-any.whl.metadata (2.6 kB)
Collecting pybtex>=0.24 (from sphinxcontrib-bibtex>=1.0.0->riscv_isac==0.18.0)
  Using cached pybtex-0.24.0-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting pybtex-docutils>=1.0.0 (from sphinxcontrib-bibtex>=1.0.0->riscv_isac==0.18.0)
  Using cached pybtex_docutils-1.0.3-py3-none-any.whl.metadata (4.3 kB)
Collecting setuptools (from sphinxcontrib-bibtex>=1.0.0->riscv_isac==0.18.0)
  Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
Collecting pkginfo>=1.8.1 (from twine>=1.13.0->riscv_isac==0.18.0)
  Using cached pkginfo-1.12.0-py3-none-any.whl.metadata (12 kB)
Collecting readme-renderer>=35.0 (from twine>=1.13.0->riscv_isac==0.18.0)
  Using cached readme_renderer-44.0-py3-none-any.whl.metadata (2.8 kB)
Collecting requests-toolbelt!=0.9.0,>=0.8.0 (from twine>=1.13.0->riscv_isac==0.18.0)
  Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting keyring>=15.1 (from twine>=1.13.0->riscv_isac==0.18.0)
  Using cached keyring-25.6.0-py3-none-any.whl.metadata (20 kB)
Collecting rfc3986>=1.4.0 (from twine>=1.13.0->riscv_isac==0.18.0)
  Using cached rfc3986-2.0.0-py2.py3-none-any.whl.metadata (6.6 kB)
Collecting rich>=12.0.0 (from twine>=1.13.0->riscv_isac==0.18.0)
  Using cached rich-13.9.4-py3-none-any.whl.metadata (18 kB)
Collecting DataProperty<2,>=1.1.0 (from pytablewriter->riscv_isac==0.18.0)
  Using cached DataProperty-1.1.0-py3-none-any.whl.metadata (11 kB)
Collecting mbstrdecoder<2,>=1.0.0 (from pytablewriter->riscv_isac==0.18.0)
  Using cached mbstrdecoder-1.1.3-py3-none-any.whl.metadata (4.0 kB)
Collecting pathvalidate<4,>=2.3.0 (from pytablewriter->riscv_isac==0.18.0)
  Using cached pathvalidate-3.2.3-py3-none-any.whl.metadata (12 kB)
Collecting tabledata<2,>=1.3.1 (from pytablewriter->riscv_isac==0.18.0)
  Using cached tabledata-1.3.4-py3-none-any.whl.metadata (3.7 kB)
Collecting tcolorpy<1,>=0.0.5 (from pytablewriter->riscv_isac==0.18.0)
  Using cached tcolorpy-0.1.7-py3-none-any.whl.metadata (6.3 kB)
Collecting typepy<2,>=1.3.2 (from typepy[datetime]<2,>=1.3.2->pytablewriter->riscv_isac==0.18.0)
  Using cached typepy-1.3.4-py3-none-any.whl.metadata (9.2 kB)
Collecting iniconfig (from pytest->riscv_isac==0.18.0)
  Using cached iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting jaraco.classes (from keyring>=15.1->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached jaraco.classes-3.4.0-py3-none-any.whl.metadata (2.6 kB)
Collecting jaraco.functools (from keyring>=15.1->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached jaraco.functools-4.1.0-py3-none-any.whl.metadata (2.9 kB)
Collecting jaraco.context (from keyring>=15.1->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached jaraco.context-6.0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting latexcodec>=1.0.4 (from pybtex>=0.24->sphinxcontrib-bibtex>=1.0.0->riscv_isac==0.18.0)
  Using cached latexcodec-3.0.0-py3-none-any.whl.metadata (4.9 kB)
Collecting nh3>=0.2.14 (from readme-renderer>=35.0->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached nh3-0.2.20-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.metadata (2.0 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=12.0.0->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=12.0.0->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Collecting more-itertools (from jaraco.classes->keyring>=15.1->twine>=1.13.0->riscv_isac==0.18.0)
  Using cached more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)
Using cached alabaster-1.0.0-py3-none-any.whl (13 kB)
Using cached babel-2.16.0-py3-none-any.whl (9.6 MB)
Using cached Cerberus-1.3.7-py3-none-any.whl (30 kB)
Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached doc8-1.1.2-py3-none-any.whl (25 kB)
Using cached docutils-0.21.2-py3-none-any.whl (587 kB)
Using cached gitdb2-4.0.2-py3-none-any.whl (1.1 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Using cached m2r2-0.3.3.post2-py3-none-any.whl (11 kB)
Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Using cached MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl (12 kB)
Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Using cached oyaml-1.0-py2.py3-none-any.whl (3.0 kB)
Using cached packaging-24.2-py3-none-any.whl (65 kB)
Using cached pbr-6.1.0-py2.py3-none-any.whl (108 kB)
Using cached pyelftools-0.31-py3-none-any.whl (180 kB)
Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Using cached pyparsing-3.2.1-py3-none-any.whl (107 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl (173 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached ruamel.yaml-0.18.8-py3-none-any.whl (117 kB)
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Using cached smmap2-3.0.1-py3-none-any.whl (1.1 kB)
Using cached snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
Using cached sphinx-8.1.3-py3-none-any.whl (3.5 MB)
Using cached jinja2-3.1.5-py3-none-any.whl (134 kB)
Using cached sphinx_rtd_theme-3.0.2-py2.py3-none-any.whl (7.7 MB)
Using cached sphinxcontrib_autoyaml-1.1.3-py3-none-any.whl (5.6 kB)
Using cached sphinxcontrib_bibtex-2.6.3-py3-none-any.whl (40 kB)
Using cached sphinxcontrib_websupport-2.0.0-py3-none-any.whl (37 kB)
Using cached stevedore-5.4.0-py3-none-any.whl (49 kB)
Using cached twine-6.0.1-py3-none-any.whl (39 kB)
Using cached urllib3-2.3.0-py3-none-any.whl (128 kB)
Using cached click-8.1.8-py3-none-any.whl (98 kB)
Using cached colorlog-6.9.0-py3-none-any.whl (11 kB)
Using cached GitPython-3.1.44-py3-none-any.whl (207 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached pytablewriter-1.2.1-py3-none-any.whl (91 kB)
Using cached pytest-8.3.4-py3-none-any.whl (343 kB)
Using cached sphinx_tabs-3.4.7-py3-none-any.whl (9.7 kB)
Using cached sphinxcontrib_mermaid-1.0.0-py3-none-any.whl (9.6 kB)
Using cached charset_normalizer-3.4.1-cp312-cp312-macosx_10_13_universal2.whl (196 kB)
Using cached DataProperty-1.1.0-py3-none-any.whl (27 kB)
Using cached gitdb-4.0.12-py3-none-any.whl (62 kB)
Using cached keyring-25.6.0-py3-none-any.whl (39 kB)
Using cached mbstrdecoder-1.1.3-py3-none-any.whl (7.8 kB)
Using cached pathvalidate-3.2.3-py3-none-any.whl (24 kB)
Using cached pkginfo-1.12.0-py3-none-any.whl (32 kB)
Using cached pybtex-0.24.0-py2.py3-none-any.whl (561 kB)
Using cached pybtex_docutils-1.0.3-py3-none-any.whl (6.4 kB)
Using cached readme_renderer-44.0-py3-none-any.whl (13 kB)
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Using cached rfc3986-2.0.0-py2.py3-none-any.whl (31 kB)
Using cached rich-13.9.4-py3-none-any.whl (242 kB)
Using cached ruamel.yaml.clib-0.2.12-cp312-cp312-macosx_14_0_arm64.whl (133 kB)
Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB)
Using cached smmap-5.0.2-py3-none-any.whl (24 kB)
Using cached sphinxcontrib_applehelp-2.0.0-py3-none-any.whl (119 kB)
Using cached sphinxcontrib_devhelp-2.0.0-py3-none-any.whl (82 kB)
Using cached sphinxcontrib_htmlhelp-2.1.0-py3-none-any.whl (98 kB)
Using cached sphinxcontrib_jquery-4.1-py2.py3-none-any.whl (121 kB)
Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Using cached sphinxcontrib_qthelp-2.0.0-py3-none-any.whl (88 kB)
Using cached sphinxcontrib_serializinghtml-2.0.0-py3-none-any.whl (92 kB)
Using cached tabledata-1.3.4-py3-none-any.whl (11 kB)
Using cached tcolorpy-0.1.7-py3-none-any.whl (8.1 kB)
Using cached typepy-1.3.4-py3-none-any.whl (31 kB)
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Using cached latexcodec-3.0.0-py3-none-any.whl (18 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached nh3-0.2.20-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (1.2 MB)
Using cached jaraco.classes-3.4.0-py3-none-any.whl (6.8 kB)
Using cached jaraco.context-6.0.1-py3-none-any.whl (6.8 kB)
Using cached jaraco.functools-4.1.0-py3-none-any.whl (10 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Using cached more_itertools-10.5.0-py3-none-any.whl (60 kB)
Building wheels for collected packages: riscv_isac
  Building wheel for riscv_isac (pyproject.toml) ... done
  Created wheel for riscv_isac: filename=riscv_isac-0.18.0-py2.py3-none-any.whl size=101394 sha256=800795f2a61273d5e06b5913780dd58e0ae9870e7098a77facf96a2baa5a8a20
  Stored in directory: /private/var/folders/2n/9d_8f0dd7tj6bwwx3tmxrgn80000gn/T/pip-ephem-wheel-cache-p86qagbn/wheels/38/1e/23/e58db442fd80abf97cae0459f8360670e67e2a18802a1cc5a7
Successfully built riscv_isac
Installing collected packages: snowballstemmer, pytz, python-constraint, pyelftools, mistune, urllib3, tcolorpy, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, smmap, six, setuptools, ruamel.yaml.clib, rfc3986, pyyaml, pyparsing, Pygments, pluggy, pkginfo, pbr, pathvalidate, packaging, ordered-set, nh3, more-itertools, mdurl, MarkupSafe, latexcodec, jaraco.context, iniconfig, imagesize, idna, docutils, colorlog, click, charset-normalizer, chardet, certifi, Cerberus, Babel, alabaster, stevedore, smmap2, ruamel.yaml, restructuredtext-lint, requests, readme-renderer, python-dateutil, pytest, pybtex, oyaml, mbstrdecoder, markdown-it-py, m2r2, Jinja2, jaraco.functools, jaraco.classes, gitdb, typepy, Sphinx, rich, requests-toolbelt, pybtex-docutils, keyring, gitpython, gitdb2, doc8, twine, sphinxcontrib-websupport, sphinxcontrib-mermaid, sphinxcontrib-jquery, sphinxcontrib-bibtex, sphinxcontrib-autoyaml, sphinx_tabs, sphinx-rtd-theme, DataProperty, tabledata, pytablewriter, riscv_isac
Successfully installed Babel-2.16.0 Cerberus-1.3.7 DataProperty-1.1.0 Jinja2-3.1.5 MarkupSafe-3.0.2 Pygments-2.18.0 Sphinx-8.1.3 alabaster-1.0.0 certifi-2024.12.14 chardet-5.2.0 charset-normalizer-3.4.1 click-8.1.8 colorlog-6.9.0 doc8-1.1.2 docutils-0.21.2 gitdb-4.0.12 gitdb2-4.0.2 gitpython-3.1.44 idna-3.10 imagesize-1.4.1 iniconfig-2.0.0 jaraco.classes-3.4.0 jaraco.context-6.0.1 jaraco.functools-4.1.0 keyring-25.6.0 latexcodec-3.0.0 m2r2-0.3.3.post2 markdown-it-py-3.0.0 mbstrdecoder-1.1.3 mdurl-0.1.2 mistune-0.8.4 more-itertools-10.5.0 nh3-0.2.20 ordered-set-4.1.0 oyaml-1.0 packaging-24.2 pathvalidate-3.2.3 pbr-6.1.0 pkginfo-1.12.0 pluggy-1.5.0 pybtex-0.24.0 pybtex-docutils-1.0.3 pyelftools-0.31 pyparsing-3.2.1 pytablewriter-1.2.1 pytest-8.3.4 python-constraint-1.4.0 python-dateutil-2.9.0.post0 pytz-2024.2 pyyaml-6.0.2 readme-renderer-44.0 requests-2.32.3 requests-toolbelt-1.0.0 restructuredtext-lint-1.4.0 rfc3986-2.0.0 rich-13.9.4 riscv_isac-0.18.0 ruamel.yaml-0.18.8 ruamel.yaml.clib-0.2.12 setuptools-75.6.0 six-1.17.0 smmap-5.0.2 smmap2-3.0.1 snowballstemmer-2.2.0 sphinx-rtd-theme-3.0.2 sphinx_tabs-3.4.7 sphinxcontrib-applehelp-2.0.0 sphinxcontrib-autoyaml-1.1.3 sphinxcontrib-bibtex-2.6.3 sphinxcontrib-devhelp-2.0.0 sphinxcontrib-htmlhelp-2.1.0 sphinxcontrib-jquery-4.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-mermaid-1.0.0 sphinxcontrib-qthelp-2.0.0 sphinxcontrib-serializinghtml-2.0.0 sphinxcontrib-websupport-2.0.0 stevedore-5.4.0 tabledata-1.3.4 tcolorpy-0.1.7 twine-6.0.1 typepy-1.3.4 urllib3-2.3.0

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
(test) ╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev●› 
╰─$ pip install git+https://github.com/riscv/riscof
Collecting git+https://github.com/riscv/riscof
  Cloning https://github.com/riscv/riscof to /private/var/folders/2n/9d_8f0dd7tj6bwwx3tmxrgn80000gn/T/pip-req-build-68yxh0rz
  Running command git clone --filter=blob:none --quiet https://github.com/riscv/riscof /private/var/folders/2n/9d_8f0dd7tj6bwwx3tmxrgn80000gn/T/pip-req-build-68yxh0rz
  Resolved https://github.com/riscv/riscof to commit 9fe3597d75757c6c6198e034bbe62e8dceecc755
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: GitPython>=3.1.17 in ./test/lib/python3.12/site-packages (from riscof==1.25.3) (3.1.44)
Requirement already satisfied: click>=7.1.2 in ./test/lib/python3.12/site-packages (from riscof==1.25.3) (8.1.8)
Requirement already satisfied: Jinja2>=2.10.1 in ./test/lib/python3.12/site-packages (from riscof==1.25.3) (3.1.5)
Requirement already satisfied: pytz>=2019.1 in ./test/lib/python3.12/site-packages (from riscof==1.25.3) (2024.2)
Collecting riscv-config>=3.2.0 (from riscof==1.25.3)
  Using cached riscv_config-3.18.3-py2.py3-none-any.whl.metadata (704 bytes)
Requirement already satisfied: riscv_isac>=0.7.2 in ./test/lib/python3.12/site-packages (from riscof==1.25.3) (0.18.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in ./test/lib/python3.12/site-packages (from GitPython>=3.1.17->riscof==1.25.3) (4.0.12)
Requirement already satisfied: MarkupSafe>=2.0 in ./test/lib/python3.12/site-packages (from Jinja2>=2.10.1->riscof==1.25.3) (3.0.2)
Requirement already satisfied: Cerberus>=1.3.1 in ./test/lib/python3.12/site-packages (from riscv-config>=3.2.0->riscof==1.25.3) (1.3.7)
Requirement already satisfied: ruamel.yaml>=0.17.16 in ./test/lib/python3.12/site-packages (from riscv-config>=3.2.0->riscof==1.25.3) (0.18.8)
Collecting pyyaml==5.2 (from riscv-config>=3.2.0->riscof==1.25.3)
  Using cached PyYAML-5.2-cp312-cp312-macosx_14_0_arm64.whl
Requirement already satisfied: alabaster>=0.7.12 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.0.0)
Requirement already satisfied: Babel>=2.7.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.16.0)
Requirement already satisfied: certifi>=2019.6.16 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2024.12.14)
Requirement already satisfied: chardet>=3.0.4 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (5.2.0)
Requirement already satisfied: colorlog in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (6.9.0)
Requirement already satisfied: doc8>=0.8.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.1.2)
Requirement already satisfied: docutils>=0.14 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (0.21.2)
Requirement already satisfied: gitdb2>=2.0.5 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (4.0.2)
Requirement already satisfied: idna>=2.8 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (3.10)
Requirement already satisfied: imagesize>=1.1.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.4.1)
Requirement already satisfied: m2r2>=0.2.7 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (0.3.3.post2)
Requirement already satisfied: mistune>=0.8.4 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (0.8.4)
Requirement already satisfied: ordered-set>=4.1.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (4.1.0)
Requirement already satisfied: oyaml>=0.9 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.0)
Requirement already satisfied: packaging>=19.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (24.2)
Requirement already satisfied: pbr>=5.3.1 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (6.1.0)
Requirement already satisfied: pluggy in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.5.0)
Requirement already satisfied: pyelftools>=0.26 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (0.31)
Requirement already satisfied: Pygments>=2.4.2 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.18.0)
Requirement already satisfied: pyparsing>=2.4.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (3.2.1)
Requirement already satisfied: pytablewriter in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.2.1)
Requirement already satisfied: pytest in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (8.3.4)
Requirement already satisfied: python-constraint>=1.4.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.4.0)
Requirement already satisfied: python-dateutil>=2.8.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.9.0.post0)
Requirement already satisfied: requests>=2.22.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.32.3)
Requirement already satisfied: restructuredtext-lint>=1.3.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.4.0)
Requirement already satisfied: six>=1.12.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.17.0)
Requirement already satisfied: smmap2>=2.0.5 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (3.0.1)
Requirement already satisfied: snowballstemmer>=1.2.1 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.2.0)
Requirement already satisfied: Sphinx>=3.0.4 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (8.1.3)
Requirement already satisfied: sphinxcontrib-autoyaml>=0.5.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.1.3)
Requirement already satisfied: sphinxcontrib-bibtex>=1.0.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.6.3)
Requirement already satisfied: sphinxcontrib-mermaid in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (1.0.0)
Requirement already satisfied: sphinxcontrib-websupport>=1.1.2 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: sphinx-rtd-theme>=0.4.3 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (3.0.2)
Requirement already satisfied: sphinx_tabs in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (3.4.7)
Requirement already satisfied: stevedore>=1.30.1 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (5.4.0)
Requirement already satisfied: twine>=1.13.0 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (6.0.1)
Requirement already satisfied: urllib3>=1.25.3 in ./test/lib/python3.12/site-packages (from riscv_isac>=0.7.2->riscof==1.25.3) (2.3.0)
Requirement already satisfied: smmap<6,>=3.0.1 in ./test/lib/python3.12/site-packages (from gitdb<5,>=4.0.1->GitPython>=3.1.17->riscof==1.25.3) (5.0.2)
Requirement already satisfied: charset-normalizer<4,>=2 in ./test/lib/python3.12/site-packages (from requests>=2.22.0->riscv_isac>=0.7.2->riscof==1.25.3) (3.4.1)
Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in ./test/lib/python3.12/site-packages (from ruamel.yaml>=0.17.16->riscv-config>=3.2.0->riscof==1.25.3) (0.2.12)
Requirement already satisfied: sphinxcontrib-applehelp>=1.0.7 in ./test/lib/python3.12/site-packages (from Sphinx>=3.0.4->riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: sphinxcontrib-devhelp>=1.0.6 in ./test/lib/python3.12/site-packages (from Sphinx>=3.0.4->riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.6 in ./test/lib/python3.12/site-packages (from Sphinx>=3.0.4->riscv_isac>=0.7.2->riscof==1.25.3) (2.1.0)
Requirement already satisfied: sphinxcontrib-jsmath>=1.0.1 in ./test/lib/python3.12/site-packages (from Sphinx>=3.0.4->riscv_isac>=0.7.2->riscof==1.25.3) (1.0.1)
Requirement already satisfied: sphinxcontrib-qthelp>=1.0.6 in ./test/lib/python3.12/site-packages (from Sphinx>=3.0.4->riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.9 in ./test/lib/python3.12/site-packages (from Sphinx>=3.0.4->riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: sphinxcontrib-jquery<5,>=4 in ./test/lib/python3.12/site-packages (from sphinx-rtd-theme>=0.4.3->riscv_isac>=0.7.2->riscof==1.25.3) (4.1)
Requirement already satisfied: pybtex>=0.24 in ./test/lib/python3.12/site-packages (from sphinxcontrib-bibtex>=1.0.0->riscv_isac>=0.7.2->riscof==1.25.3) (0.24.0)
Requirement already satisfied: pybtex-docutils>=1.0.0 in ./test/lib/python3.12/site-packages (from sphinxcontrib-bibtex>=1.0.0->riscv_isac>=0.7.2->riscof==1.25.3) (1.0.3)
Requirement already satisfied: setuptools in ./test/lib/python3.12/site-packages (from sphinxcontrib-bibtex>=1.0.0->riscv_isac>=0.7.2->riscof==1.25.3) (75.6.0)
Requirement already satisfied: pkginfo>=1.8.1 in ./test/lib/python3.12/site-packages (from twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (1.12.0)
Requirement already satisfied: readme-renderer>=35.0 in ./test/lib/python3.12/site-packages (from twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (44.0)
Requirement already satisfied: requests-toolbelt!=0.9.0,>=0.8.0 in ./test/lib/python3.12/site-packages (from twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (1.0.0)
Requirement already satisfied: keyring>=15.1 in ./test/lib/python3.12/site-packages (from twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (25.6.0)
Requirement already satisfied: rfc3986>=1.4.0 in ./test/lib/python3.12/site-packages (from twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: rich>=12.0.0 in ./test/lib/python3.12/site-packages (from twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (13.9.4)
Requirement already satisfied: DataProperty<2,>=1.1.0 in ./test/lib/python3.12/site-packages (from pytablewriter->riscv_isac>=0.7.2->riscof==1.25.3) (1.1.0)
Requirement already satisfied: mbstrdecoder<2,>=1.0.0 in ./test/lib/python3.12/site-packages (from pytablewriter->riscv_isac>=0.7.2->riscof==1.25.3) (1.1.3)
Requirement already satisfied: pathvalidate<4,>=2.3.0 in ./test/lib/python3.12/site-packages (from pytablewriter->riscv_isac>=0.7.2->riscof==1.25.3) (3.2.3)
Requirement already satisfied: tabledata<2,>=1.3.1 in ./test/lib/python3.12/site-packages (from pytablewriter->riscv_isac>=0.7.2->riscof==1.25.3) (1.3.4)
Requirement already satisfied: tcolorpy<1,>=0.0.5 in ./test/lib/python3.12/site-packages (from pytablewriter->riscv_isac>=0.7.2->riscof==1.25.3) (0.1.7)
Requirement already satisfied: typepy<2,>=1.3.2 in ./test/lib/python3.12/site-packages (from typepy[datetime]<2,>=1.3.2->pytablewriter->riscv_isac>=0.7.2->riscof==1.25.3) (1.3.4)
Requirement already satisfied: iniconfig in ./test/lib/python3.12/site-packages (from pytest->riscv_isac>=0.7.2->riscof==1.25.3) (2.0.0)
Requirement already satisfied: jaraco.classes in ./test/lib/python3.12/site-packages (from keyring>=15.1->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (3.4.0)
Requirement already satisfied: jaraco.functools in ./test/lib/python3.12/site-packages (from keyring>=15.1->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (4.1.0)
Requirement already satisfied: jaraco.context in ./test/lib/python3.12/site-packages (from keyring>=15.1->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (6.0.1)
Requirement already satisfied: latexcodec>=1.0.4 in ./test/lib/python3.12/site-packages (from pybtex>=0.24->sphinxcontrib-bibtex>=1.0.0->riscv_isac>=0.7.2->riscof==1.25.3) (3.0.0)
Requirement already satisfied: nh3>=0.2.14 in ./test/lib/python3.12/site-packages (from readme-renderer>=35.0->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (0.2.20)
Requirement already satisfied: markdown-it-py>=2.2.0 in ./test/lib/python3.12/site-packages (from rich>=12.0.0->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (3.0.0)
Requirement already satisfied: mdurl~=0.1 in ./test/lib/python3.12/site-packages (from markdown-it-py>=2.2.0->rich>=12.0.0->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (0.1.2)
Requirement already satisfied: more-itertools in ./test/lib/python3.12/site-packages (from jaraco.classes->keyring>=15.1->twine>=1.13.0->riscv_isac>=0.7.2->riscof==1.25.3) (10.5.0)
Using cached riscv_config-3.18.3-py2.py3-none-any.whl (66 kB)
Building wheels for collected packages: riscof
  Building wheel for riscof (pyproject.toml) ... done
  Created wheel for riscof: filename=riscof-1.25.3-py2.py3-none-any.whl size=45429 sha256=f83920a8fca19a0d182691d7c408dd2071c3503268cf444fae0d4161f084288a
  Stored in directory: /private/var/folders/2n/9d_8f0dd7tj6bwwx3tmxrgn80000gn/T/pip-ephem-wheel-cache-xvk2g0y9/wheels/f9/f4/b2/3dca2dfde79ebe3fa1901e75f3ccae2d590b4a3d35b79dab86
Successfully built riscof
Installing collected packages: pyyaml, riscv-config, riscof
  Attempting uninstall: pyyaml
    Found existing installation: PyYAML 6.0.2
    Uninstalling PyYAML-6.0.2:
      Successfully uninstalled PyYAML-6.0.2
Successfully installed pyyaml-5.2 riscof-1.25.3 riscv-config-3.18.3

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
(test) ╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev●› 
╰─$ riscof --help
Traceback (most recent call last):
  File "/Users/justinzaun/local/bin/riscof", line 5, in <module>
    from riscof.cli import cli
  File "/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscof/cli.py", line 18, in <module>
    import riscof.framework.main as framework
  File "/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscof/framework/main.py", line 11, in <module>
    from riscv_isac.isac import preprocessing
ImportError: cannot import name 'preprocessing' from 'riscv_isac.isac' (/Users/justinzaun/local/venvs/riscof/lib/python3.12/site-packages/riscv_isac/isac.py)
(test) ╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test ‹dev●› 
╰─$ test/bin/riscof --help                                                                                                                1 ↵
Usage: riscof [OPTIONS] COMMAND [ARGS]...

Options:
  --version                       Show the version and exit.
  -v, --verbose [info|error|debug]
                                  Set verbose level
  --help                          Show this message and exit.

Commands:
  arch-test     Setup and maintenance for Architectural TestSuite.
  coverage      Run the tests on DUT and reference and compare signatures
  gendb         Generate Database for the Suite.
  run           Run the tests on DUT and reference and compare signatures
  setup         Initiate Setup for riscof.
  testlist      Generate the test list for the given DUT and suite.
  validateyaml  Validate the Input YAMLs using riscv-config.

If it helps, these are my normal versions:

╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/test ‹dev●› 
╰─$ python --version
Python 3.12.6
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/test ‹dev●› 
╰─$ which python    
/Users/justinzaun/local/bin/python
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/test ‹dev●› 
╰─$ pipx --version
1.5.0
╭─justinzaun@Hogsmeade ~/Development/riscv-arch-test/test ‹dev●› 
╰─$ which pipx
/Users/justinzaun/local/brew/bin/pipx

@jordancarlin
Copy link
Contributor

I think pipx installs everything in its own dedicated virtual environment, so when using pipx the newer version of riscv-isac is probably not visible to riscof and it falls back to using the older one that is published to PyPi.

There is probably a way around that, but I haven't used pipx so am not familiar with what that would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants