CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

Python 3.13 support

Open gtozzi opened this issue 5 months ago • 1 comments

Hello there,

the pip package does not install because it requires python <3.13. May you provide an updated package for python 3.13?

gtozzi avatar Jun 15 '25 13:06 gtozzi

Last time I tried a few months ago, some of CQ-editor's dependencies did not support 3.13. I can try again before the next release.

jmwright avatar Jun 16 '25 11:06 jmwright

So, I've checked out current (e720033) git master and installed cq-editor via setup.py.

I've installed the requirements via pip install logbook path pyqtgraph qtconsole requests spyder multimethod pyparsing typish ezdxf nptyping casadi nlopt cadquery cadquery-ocp.

Then spent some time on trial and error downgrading some packages for which cq-editor is requiring old versions.

Finally I've got PyQt GUI for CadQuery. Version: 0.6.dev0. to run on Python 3.13.3.

Here is the final list of installed packages:

$ pip list
Package                       Version
----------------------------- --------------
aiohappyeyeballs              2.6.1
aiohttp                       3.12.13
aiosignal                     1.3.2
alabaster                     1.0.0
arrow                         1.3.0
astroid                       3.3.10
asttokens                     3.0.0
asyncssh                      2.21.0
atomicwrites                  1.4.1
attrs                         25.3.0
autopep8                      2.0.4
babel                         2.17.0
bcrypt                        4.3.0
beautifulsoup4                4.13.4
binaryornot                   0.4.4
black                         25.1.0
bleach                        6.2.0
cadquery                      2.3.0
cadquery-ocp                  7.8.1.1.post1
cadquery_vtk                  9.3.1
casadi                        3.7.0
certifi                       2025.6.15
cffi                          1.17.1
chardet                       5.2.0
charset-normalizer            3.4.2
click                         8.2.1
cloudpickle                   3.1.1
comm                          0.2.2
cookiecutter                  2.6.0
CQ-editor                     0.6.dev0
cryptography                  45.0.4
debugpy                       1.8.14
decorator                     5.2.1
defusedxml                    0.7.1
Deprecated                    1.2.18
diff-match-patch              20241021
dill                          0.4.0
docstring-to-markdown         0.17
docutils                      0.21.2
executing                     2.2.0
ezdxf                         1.4.2
fastjsonschema                2.21.1
flake8                        7.1.2
fonttools                     4.58.4
frozenlist                    1.7.0
idna                          3.10
imagesize                     1.4.1
importlib_metadata            8.7.0
inflection                    0.5.1
intervaltree                  3.1.0
ipykernel                     6.29.5
ipython                       8.37.0
isort                         6.0.1
jaraco.classes                3.4.0
jaraco.context                6.0.1
jaraco.functools              4.2.1
jedi                          0.19.2
jeepney                       0.9.0
jellyfish                     1.2.0
Jinja2                        3.1.6
jsonschema                    4.24.0
jsonschema-specifications     2025.4.1
jupyter_client                8.6.3
jupyter_core                  5.8.1
jupyterlab_pygments           0.3.0
keyring                       25.6.0
Logbook                       1.8.2
markdown-it-py                3.0.0
MarkupSafe                    3.0.2
matplotlib-inline             0.1.7
mccabe                        0.7.0
mdurl                         0.1.2
mistune                       3.1.3
more-itertools                10.7.0
multidict                     6.6.1
multimethod                   2.0
mypy_extensions               1.1.0
nbclient                      0.10.2
nbconvert                     7.16.6
nbformat                      5.10.4
nest-asyncio                  1.6.0
nlopt                         2.9.1
nptyping                      2.3.1
numpy                         1.26.4
numpydoc                      1.9.0
packaging                     25.0
pandocfilters                 1.5.1
parso                         0.8.4
path                          17.1.0
pathspec                      0.12.1
pexpect                       4.9.0
pickleshare                   0.7.5
pip                           25.0
platformdirs                  4.3.8
pluggy                        1.6.0
prompt_toolkit                3.0.51
propcache                     0.3.2
psutil                        7.0.0
ptyprocess                    0.7.0
pure_eval                     0.2.3
pycodestyle                   2.12.1
pycparser                     2.22
pydocstyle                    6.3.0
pyflakes                      3.2.0
PyGithub                      2.6.1
Pygments                      2.19.2
PyJWT                         2.10.1
pylint                        3.3.7
pylint-venv                   3.0.4
pyls-spyder                   0.4.0
PyNaCl                        1.5.0
pyparsing                     3.2.3
PyQt5                         5.15.11
PyQt5-Qt5                     5.15.17
PyQt5_sip                     12.17.0
pyqtgraph                     0.13.7
PyQtWebEngine                 5.15.7
PyQtWebEngine-Qt5             5.15.17
python-dateutil               2.9.0.post0
python-lsp-black              2.0.0
python-lsp-jsonrpc            1.1.2
python-lsp-server             1.12.2
python-slugify                8.0.4
pytoolconfig                  1.3.1
pyuca                         1.2
pyxdg                         0.28
PyYAML                        6.0.2
pyzmq                         27.0.0
QDarkStyle                    3.2.3
qstylizer                     0.2.4
QtAwesome                     1.3.1
qtconsole                     5.5.2
QtPy                          2.4.3
referencing                   0.36.2
requests                      2.32.4
rich                          14.0.0
roman-numerals-py             3.1.0
rope                          1.13.0
rpds-py                       0.25.1
rtree                         1.4.0
SecretStorage                 3.3.3
setuptools                    80.9.0
six                           1.17.0
snowballstemmer               3.0.1
sortedcontainers              2.4.0
soupsieve                     2.7
Sphinx                        8.2.3
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         2.0.0
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0
spyder                        5.5.6
spyder-kernels                2.5.2
stack-data                    0.6.3
superqt                       0.7.5
text-unidecode                1.3
textdistance                  4.6.3
three-merge                   0.1.1
tinycss2                      1.4.0
tomlkit                       0.13.3
tornado                       6.5.1
traitlets                     5.14.3
types-python-dateutil         2.9.0.20250516
typing_extensions             4.14.0
typish                        1.9.3
ujson                         5.10.0
urllib3                       2.5.0
watchdog                      6.0.0
wcwidth                       0.2.13
webencodings                  0.5.1
whatthepatch                  1.0.7
wrapt                         1.17.2
wurlitzer                     3.1.1
yapf                          0.43.0
yarl                          1.20.1
zipp                          3.23.0

Hope this helps for the next release. Thank you!

gtozzi avatar Jun 28 '25 11:06 gtozzi

+1 CQ-Editor is working fine on Ubuntu 24.04 but not 25.04 due to Python 3.13

bereldhuin avatar Nov 28 '25 20:11 bereldhuin