Skip to content

Commit

Permalink
Troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp committed Nov 4, 2024
1 parent 7bfc93c commit 4afefa2
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ runs:
if: startsWith(${{matrix.os}}, 'macos')
shell: bash
run: |
pip install numpy swig
# pip install numpy swig
pip install swig
- name: install cadquery-ocp on MacOS (Python 3.10)
if: ${{ startsWith(matrix.os, 'macos') && (matrix.os != 'macos-13') && (matrix.python-version == '3.10') }}
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions partcad/src/partcad/part_factory_build123d.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ async def instantiate(self, part):

await self.runtime.ensure("ocp-tessellate")
await self.runtime.ensure("cadquery")
# await self.runtime.ensure("numpy==1.24.1")
# await self.runtime.ensure("numpy-quaternion==2023.0.4")
# await self.runtime.ensure("nptyping==1.4.4")
# await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("numpy==1.24.1")
await self.runtime.ensure("numpy-quaternion==2023.0.4")
await self.runtime.ensure("nptyping==1.4.4")
await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("build123d>=0.7.0")
cwd = self.project.config_dir
if self.cwd is not None:
Expand Down
8 changes: 4 additions & 4 deletions partcad/src/partcad/part_factory_cadquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ async def instantiate(self, part):

await self.runtime.ensure("ocp-tessellate")
await self.runtime.ensure("cadquery")
# await self.runtime.ensure("numpy==1.24.1")
# await self.runtime.ensure("numpy-quaternion==2023.0.4")
# await self.runtime.ensure("nptyping==1.4.4")
# await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("numpy==1.24.1")
await self.runtime.ensure("numpy-quaternion==2023.0.4")
await self.runtime.ensure("nptyping==1.4.4")
await self.runtime.ensure("typing_extensions>=4.6.0,<5")
cwd = self.project.config_dir
if self.cwd is not None:
cwd = os.path.join(self.project.config_dir, self.cwd)
Expand Down
8 changes: 4 additions & 4 deletions partcad/src/partcad/provider_factory_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ async def query_script(self, provider, script_name, request):
request_serialized = base64.b64encode(picklestring).decode()

await self.runtime.ensure("ocp-tessellate")
# await self.runtime.ensure("numpy==1.24.1")
# await self.runtime.ensure("numpy-quaternion==2023.0.4")
# await self.runtime.ensure("nptyping==1.4.4")
# await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("numpy==1.24.1")
await self.runtime.ensure("numpy-quaternion==2023.0.4")
await self.runtime.ensure("nptyping==1.4.4")
await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("cadquery")
cwd = self.project.config_dir
if self.cwd is not None:
Expand Down
8 changes: 4 additions & 4 deletions partcad/src/partcad/sketch_factory_build123d.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ async def instantiate(self, sketch):

await self.runtime.ensure("ocp-tessellate")
await self.runtime.ensure("cadquery")
# await self.runtime.ensure("numpy==1.24.1")
# await self.runtime.ensure("numpy-quaternion==2023.0.4")
# await self.runtime.ensure("nptyping==1.4.4")
# await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("numpy==1.24.1")
await self.runtime.ensure("numpy-quaternion==2023.0.4")
await self.runtime.ensure("nptyping==1.4.4")
await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("build123d>=0.7.0")
cwd = self.project.config_dir
if self.cwd is not None:
Expand Down
8 changes: 4 additions & 4 deletions partcad/src/partcad/sketch_factory_cadquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ async def instantiate(self, sketch):

await self.runtime.ensure("ocp-tessellate")
await self.runtime.ensure("cadquery")
# await self.runtime.ensure("numpy==1.24.1")
# await self.runtime.ensure("numpy-quaternion==2023.0.4")
# await self.runtime.ensure("nptyping==1.4.4")
# await self.runtime.ensure("typing_extensions>=4.6.0,<5")
await self.runtime.ensure("numpy==1.24.1")
await self.runtime.ensure("numpy-quaternion==2023.0.4")
await self.runtime.ensure("nptyping==1.4.4")
await self.runtime.ensure("typing_extensions>=4.6.0,<5")
cwd = self.project.config_dir
if self.cwd is not None:
cwd = os.path.join(self.project.config_dir, self.cwd)
Expand Down

0 comments on commit 4afefa2

Please sign in to comment.