Skip to content

Commit 245b6f3

Browse files
OCP 7.7.2 (#1440)
* Try with OCP 7.7.2 * Use latest ubuntu * Try with 3.12 * Use packaged stubs * Add pip install back * Back to py311 * Use conda-forge for ocp * And back to py3.12 * Use 3.12 * Remove click * Add click without pin * Update black version and remove click again * Require qt build of vtk * Update meta.yaml for ocp 7.7.2 * Fix syntax warning * use forked black * Remove black * Install black via environment.yml * Black already handled via env yml * Mention black version in the readme
1 parent 79e64e5 commit 245b6f3

File tree

6 files changed

+17
-13
lines changed

6 files changed

+17
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ If you are going to contribute code, make sure to follow this steps:
210210
- Consider adding an example to the documentation showing your cool new
211211
feature!
212212
- Make sure nothing is broken (run the complete test suite with `pytest`)
213-
- Run `black` to autoformat your code and make sure your code style complies
213+
- Run `black` from [our fork](https://github.com/CadQuery/black) to autoformat your code and make sure your code style complies
214214
with CadQuery's
215215
- Push the changes to your fork and open a pull-request upstream
216216
- Keep an eye on the automated feedback you will receive from the CI pipelines;

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77
matrix:
88
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
99
MINICONDA_DIRNAME: C:\Miniforge
10-
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
10+
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
1111
OS: Linux
1212
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
1313
OS: MacOSX

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ parameters:
1818
- name: minor
1919
type: object
2020
default:
21-
- 11
21+
- 12
2222

2323
jobs:
2424
- ${{ each minor in parameters.minor }}:

cadquery/assembly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def save(
467467
:param mode: STEP only - See :meth:`~cadquery.occ_impl.exporters.assembly.exportAssembly`.
468468
:param tolerance: the deflection tolerance, in model units. Only used for glTF, VRML. Default 0.1.
469469
:param angularTolerance: the angular tolerance, in radians. Only used for glTF, VRML. Default 0.1.
470-
:param \**kwargs: Additional keyword arguments. Only used for STEP, glTF and STL.
470+
:param \\**kwargs: Additional keyword arguments. Only used for STEP, glTF and STL.
471471
See :meth:`~cadquery.occ_impl.exporters.assembly.exportAssembly`.
472472
:param ascii: STL only - Sets whether or not STL export should be text or binary
473473
:type ascii: bool

conda/meta.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ build:
1212

1313
requirements:
1414
build:
15-
- python >=3.8
15+
- python >=3.9
1616
- setuptools
1717
run:
18-
- python >=3.8
19-
- ocp 7.7.1
20-
- occt 7.7.1
18+
- python >=3.9
19+
- ocp 7.7.2
20+
- vtk=*=qt*
2121
- pyparsing >=2.1.9
2222
- ezdxf
2323
- ipython

environment.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ name: cadquery
22
channels:
33
- conda-forge
44
dependencies:
5-
- python>=3.8
5+
- python=3.12
66
- ipython
7-
- ocp=7.7.1
7+
- ocp=7.7.2
8+
- vtk=*=qt*
89
- pyparsing>=2.1.9
910
- sphinx=5.0.1
1011
- sphinx_rtd_theme
11-
- black=19.10b0
12-
- click=8.0.4
1312
- mypy
1413
- codecov
1514
- pytest
@@ -21,7 +20,12 @@ dependencies:
2120
- path
2221
- casadi
2322
- multimethod ==1.9.1
23+
- typed-ast
24+
- regex
25+
- pathspec
26+
- click
27+
- appdirs
2428
- pip
2529
- pip:
2630
- --editable=.
27-
- git+https://github.com/CadQuery/OCP-stubs.git
31+
- git+https://github.com/cadquery/black.git@cq

0 commit comments

Comments
 (0)