-
Notifications
You must be signed in to change notification settings - Fork 16
Add pycddp Python bindings and CMake install packaging #160
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
17 commits
Select commit
Hold shift + click to select a range
c91e518
Add Python bindings and make Matplot integration optional
astomodynamics 277d523
Fix Docker configure failure from exported Matplot link
astomodynamics 0fa9842
Fix package exports and Python binding ownership
astomodynamics 69c15b2
Fix Python solver validation and callback errors
astomodynamics d2bc543
Fix Python constraint trampolines and line search fallback
astomodynamics a941218
Fix Python diagnostics and clean dead Matplot tests
astomodynamics 098ece1
Fix GTest installation during test builds
astomodynamics d3b220b
Fix Python wrapper cleanup and forward pass diagnostics
astomodynamics d4bcf75
Fix Python solver error message regression test
astomodynamics af1ccfd
Remove extra blank line in bind_solver.cpp
astomodynamics 9b9b7e9
Fix constraint base destructor and import error test
astomodynamics 2eb8399
Fix Python build dependencies and install paths
astomodynamics 2bad33b
Fix Python binding validation and solver alias handling
astomodynamics 198032e
Fix installed include path export
astomodynamics e76b2a0
Clean up repository boilerplate text
astomodynamics 18d7017
Add Python dependency guard workflow
astomodynamics 7a14bf8
Fix missing uv.lock handling in dependency guard
astomodynamics 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,14 @@ | ||
| ## Summary | ||
| <!-- Provide 2-3 bullet points summarizing the key changes and their purpose --> | ||
| - | ||
| - | ||
| <!-- Summarize the change and why it is needed. --> | ||
| - | ||
|
|
||
| ## Changes | ||
| <!-- List the specific changes made, grouped by component or functionality --> | ||
| - **Component/Feature**: Description of changes | ||
| - **Another Component**: Description of changes | ||
| <!-- List the concrete code, API, or documentation changes. --> | ||
| - | ||
|
|
||
| ## Test Plan | ||
| <!-- Checklist of tests to validate the changes --> | ||
| - [ ] Test item 1 | ||
| - [ ] Test item 2 | ||
| - [ ] Test item 3 | ||
| <!-- List the commands run or explain why testing was not performed. --> | ||
| - [ ] | ||
|
|
||
| ## Additional Notes | ||
| <!-- Any additional context, design decisions, or concerns for reviewers --> | ||
| ## Notes | ||
| <!-- Add reviewer context only when it is needed. --> |
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,41 @@ | ||
| name: Python Dependency Guard | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ master ] | ||
| paths: | ||
| - "pyproject.toml" | ||
| - "uv.lock" | ||
| - "security/python-direct-deps-allowlist.txt" | ||
| - "tools/check_python_dependency_policy.py" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| policy: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| - name: Enforce dependency policy | ||
| run: python tools/check_python_dependency_policy.py --base-ref "origin/${{ github.base_ref }}" | ||
|
|
||
| dependency-review: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - name: Check dependency review | ||
| uses: actions/dependency-review-action@v4 | ||
| with: | ||
| fail-on-severity: high |
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 |
|---|---|---|
|
|
@@ -21,3 +21,11 @@ pdf_images/ | |
|
|
||
| # Solver output | ||
| solver_snopt.out | ||
|
|
||
| # Python / uv | ||
| .venv/ | ||
| uv.lock | ||
| *.egg-info/ | ||
| __pycache__/ | ||
| *.so | ||
| *.pyd | ||
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 @@ | ||
| 3.13 |
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.