Skip to content

Commit 551a231

Browse files
Fix Python version info in pip installation instructions (#1498)
* Fix Python version info in pip installation instructions * Moved refs to Python 3.9 and newer * README update --------- Co-authored-by: AU <[email protected]>
1 parent e9b8b31 commit 551a231

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ mamba install -c conda-forge -c cadquery cadquery=master
8181

8282
### CadQuery Installation Via Pip
8383

84-
CadQuery has a complex set of dependencies including OCP, which is our set of bindings to the OpenCASCADE CAD kernel. OCP is distributed as binary wheels for Linux, MacOS and Windows. However, there are some limitations. Only Python 3.8 through 3.10 are currently supported, and some older Linux distributions such as Ubuntu 18.04 are not supported. If the pip installation method does not work for your system, you can try the conda installation method.
84+
CadQuery has a complex set of dependencies including OCP, which is our set of bindings to the OpenCASCADE CAD kernel. OCP is distributed as binary wheels for Linux, MacOS and Windows. However, there are some limitations. Only Python 3.9 through 3.12 are currently supported, and some older Linux distributions such as Ubuntu 18.04 are not supported. If the pip installation method does not work for your system, you can try the conda installation method.
8585

8686
It is highly recommended that a virtual environment is used when installing CadQuery, although it is not strictly required. Installing CadQuery via pip requires a up-to-date version of pip, which can be obtained with the following command line (or a slight variation thereof).
8787
```

doc/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Add the *conda-forge* channel explicitly to the install command if needed (not u
8686
Install via pip
8787
---------------
8888

89-
CadQuery has a complex set of dependencies including OCP, which is our set of bindings to the OpenCASCADE CAD kernel. OCP is distributed as binary wheels for Linux, MacOS and Windows. However, there are some limitations. Only Python 3.8 through 3.10 are currently supported, and some older Linux distributions such as Ubuntu 18.04 are not supported. If the pip installation method does not work for your system, you can try the conda installation method.
89+
CadQuery can be installed via pip on Linux, MacOS and Windows. Python versions 3.9 and newer are supported by CadQuery, however a bleeding-edge Python installation may be broken due to lagging support in CadQuery's complex set of dependencies. If the pip installation method does not work for your system, you can try the conda installation method above.
9090

9191
It is highly recommended that a virtual environment is used when installing CadQuery, although it is not strictly required. Installing CadQuery via pip requires an up-to-date version of pip, which can be obtained with the following command line (or a slight variation thereof).:
9292

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: cadquery
22
channels:
33
- conda-forge
44
dependencies:
5-
- python>=3.8,<=3.12
5+
- python>=3.9,<=3.12
66
- ipython
77
- ocp=7.7.2
88
- vtk=*=qt*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
long_description=open("README.md").read(),
4949
long_description_content_type="text/markdown",
5050
packages=find_packages(exclude=("tests",)),
51-
python_requires=">=3.8",
51+
python_requires=">=3.9",
5252
setup_requires=setup_reqs,
5353
install_requires=reqs,
5454
extras_require={

0 commit comments

Comments
 (0)