Skip to content

Commit

Permalink
Merge pull request #102 from Wakoma/for-cadorchestrator-v0.1.0
Browse files Browse the repository at this point in the history
Updating for breaking changes in CadOrchechestrator v0.1.0, tweak requirements
  • Loading branch information
jmwright authored Dec 19, 2024
2 parents c334972 + c5a59ac commit b6f26fb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Generate example docs
uses: coactions/setup-xvfb@v1
with:
run: cadorchestrator --headless generate "[\"NUC10i5FNH\", \"Raspberry_Pi_4B\", \"Raspberry_Pi_4B\"]"
run: 'cadorchestrator --headless generate "{\"device-ids\": [\"NUC10i5FNH\", \"Raspberry_Pi_4B\", \"Raspberry_Pi_4B\"]}"'

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
3 changes: 2 additions & 1 deletion nimble_build_system/orchestration/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
from nimble_build_system.cad.shelf import create_shelf_for
from nimble_build_system.orchestration.paths import REL_MECH_DIR

def create_assembly(selected_device_ids):
def create_assembly(config_dict):
selected_device_ids = config_dict['device-ids']
config = NimbleConfiguration(selected_device_ids)
return config.main_assembly

Expand Down
2 changes: 2 additions & 0 deletions nimble_build_system/utils/gen_nimble_conf_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def main():

conf_dict = {
"options": [{
"response-key": "device-ids",
"option-type": "list",
"item-name": "Shelf",
"add-options": [
{
"display-name": "Access Point",
Expand Down
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
python_requires='>=3.10',
install_requires=[
'numpy~=1.26',
# 'cadquery>=2',
'cadquery @ git+https://github.com/CadQuery/cadquery.git',
'cadquery-png-plugin @ git+https://github.com/jmwright/cadquery-png-plugin.git',
'cadquery==2.4.0',
'cadquery_png_plugin',
'cadscript>=0.5.2',
'exsource-tools',
'cq-cli @ git+https://github.com/CadQuery/cq-cli.git',
'gitbuilding==0.15.0a4',
'cq-annotate @ git+https://github.com/jmwright/cq-annotate.git',
'cadquery-cli==2.3.0',
'cq_annotate',
'cq_warehouse @ git+https://github.com/gumyr/cq_warehouse.git',
'cadorchestrator>=0.0.3'
'cadorchestrator>=0.1.0'
],
extras_require={
'dev': [
Expand Down
29 changes: 0 additions & 29 deletions tests/test_orchestration.py

This file was deleted.

0 comments on commit b6f26fb

Please sign in to comment.