-
Notifications
You must be signed in to change notification settings - Fork 7
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
Examples do not work out of the box (automatic test against pip required for check if new release of dependency is required) #23
Comments
Hi Philip, as you mentioned, this is confusing, everything is tested and it works in every commit on travis-ci as well on several other places. Let me check the status of pip packages. The installation from repositories should work (small team is using it every day on multiple servers, including me right now) pip3 install -r docs/requirements.hwt.txt
python3 setup.py install However if there is something wrong in some package which you thing it is causing the issue, please feel free to notify me. Now when I am thinking about it. python3 -m hwtLib.structManipulators.structReader instead of python3 hwtLib/structManipulators/structReader.py (just saying) |
Hi Nic, I usually copy paste from the examples and then modify it slightly to see what happens. This is why I dont run it in-place. One thing which I also noticed is that Is there a place where I can ask general questions? I.e. like gitter or so? regards |
I created a gitter room 6883d73 There were some api updates, that explain why it does not work with pip version you mentioned. However that does not explain why git version does not work. I guess that is because you have everything already installed and nothing actually changes on install. Try using https://stackoverflow.com/questions/19548957/can-i-force-pip-to-reinstall-the-current-version or uninstall mentioned packages first. (Note that I understand that I should release new packages in order to match a new API currently used in git) |
Will be activated on new release 9e929ba |
Hi,
a lot of the more elaborate examples do not work. This seems mostly because of API changes that were made in the past.
A baseline
pip install hwtlib hwt
as well as the latest git master clone will give the same issues.For the StructReader, I see this error:
For other examples there are other errors. But all i have traced back is linked to changed APIs (imports or function names).
This makes is really hard to understand some advanced concepts because there is not much documentation except the examples. I strongly recommed to add the examples to a regression suite so it does not break.
regards
Philip
The text was updated successfully, but these errors were encountered: