-
Notifications
You must be signed in to change notification settings - Fork 6
Updated python and sphinx-needs #77
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
5a25f7b
chore(deps): update sphinx-needs to version 6.3 in pyproject.toml
danwos 1ea60df
chore: bump bootstrap to 1.19.0
PhilipPartsch 367b61c
chore: update test report publishing actions for Windows and Linux
PhilipPartsch d5e0929
chore: remove clang_lib_file entry from Linux configuration
PhilipPartsch 0c609a9
chore: add permissions for publishing test report as PR check
PhilipPartsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| # Output directory of tests | ||
| /out | ||
|
|
||
| # Apple | ||
| .DS_Store | ||
|
|
||
| # Any log directory | ||
| **/[Ll][Oo][Gg]/* | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,109 @@ | ||
| # Linux Quickstart Guide | ||
|
|
||
| This guide helps you get started with **hammocking** on Linux. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| ### Required | ||
| - Python 3.10 or higher (3.13 recommended) | ||
| - Git | ||
|
|
||
| ### Optional (for integration tests) | ||
| - clang/llvm | ||
| - ninja-build | ||
|
|
||
| ### Installing Prerequisites on Ubuntu/Debian | ||
|
|
||
| ```bash | ||
| # Install Python 3.13 | ||
| sudo apt update | ||
| sudo apt install python3.13 python3.13-venv python3-pip | ||
|
|
||
| # Optional: Install build tools for integration tests | ||
| sudo apt install clang ninja-build llvm | ||
| ``` | ||
|
|
||
| ## Installation | ||
|
|
||
| ### Using the build script | ||
|
|
||
| ```bash | ||
| # Clone the repository | ||
| git clone https://github.com/avengineers/hammocking | ||
| cd hammocking | ||
|
|
||
| # Install dependencies | ||
| ./build.sh --install | ||
|
|
||
| # Run full build (includes lint, test, docs) | ||
| ./build.sh | ||
| ``` | ||
|
|
||
| ## Common Tasks | ||
|
|
||
| The common tasks are separated as functions within `./build.sh`. | ||
|
|
||
| ## Setup Development Environment | ||
|
|
||
| ```bash | ||
| # Complete setup with pre-commit hooks | ||
| ./build.sh --setup | ||
|
|
||
| # Or manually | ||
| poetry install | ||
| poetry run pre-commit install | ||
| ``` | ||
|
|
||
| ## build.sh Targets Reference | ||
|
|
||
| Run `./build.sh --help` to see all available targets. | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### Poetry Not Found | ||
| If `poetry` command is not found after installation: | ||
| ```bash | ||
| export PATH="$HOME/.local/bin:$PATH" | ||
| ``` | ||
|
|
||
| Add this to your `~/.bashrc` or `~/.zshrc` to make it permanent. | ||
|
|
||
| ### Python Version Issues | ||
| Check your Python version: | ||
| ```bash | ||
| python3 --version | ||
| ``` | ||
|
|
||
| If you need to use a specific Python version with poetry: | ||
| ```bash | ||
| poetry env use python3.13 | ||
| ``` | ||
|
|
||
| ### Integration Test Failures | ||
| If integration tests fail due to missing clang: | ||
| ```bash | ||
| # Skip integration tests | ||
| poetry run pytest -v -m "not integration" | ||
|
|
||
| # Or install clang | ||
| sudo apt install clang | ||
| ``` | ||
|
|
||
| ### Lock File Issues | ||
| If you see "poetry.lock changed" errors: | ||
| ```bash | ||
| poetry lock | ||
| poetry install | ||
| ``` | ||
|
|
||
| ## Getting Help | ||
|
|
||
| - Documentation: Built docs at `out/docs/html/index.html` after running `./build.sh` | ||
| - Issues: https://github.com/avengineers/hammocking/issues | ||
| - Main command help: `poetry run python -m hammocking --help` | ||
|
|
||
| ## Next Steps | ||
|
|
||
| 1. Read the full documentation: `./build.sh && firefox out/docs/html/index.html` | ||
| 2. Explore the examples in `docs/usage/examples/` | ||
| 3. Check out the test files in `tests/` to see how to use the API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.