diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7385ed3..4325e18 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" - name: Install Poetry run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b68c253..e407bca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" - name: Install Poetry run: | diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 854a0c2..705fd95 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,7 +4,7 @@ build: os: ubuntu-20.04 tools: nodejs: "19" - python: "3.9" + python: "3.11" jobs: pre_install: - npm clean-install diff --git a/docs/build.rst b/docs/build.rst index bbc9545..2051e82 100644 --- a/docs/build.rst +++ b/docs/build.rst @@ -18,7 +18,7 @@ Build git clone https://github.com/sethfischer/sphinxcontrib-cadquery.git cd sphinxcontrib-cadquery - poetry env use python3.9 + poetry env use python3.11 poetry install poetry shell npm clean-install diff --git a/docs/requirements.txt b/docs/requirements.txt index 1f98cf1..da64e26 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,82 +1,82 @@ -alabaster==0.7.16 ; python_version >= "3.9" and python_version < "3.11" -argcomplete==3.2.2 ; python_version >= "3.9" and python_version < "3.11" -asttokens==2.4.1 ; python_version >= "3.9" and python_version < "3.11" -babel==2.14.0 ; python_version >= "3.9" and python_version < "3.11" -black==24.2.0 ; python_version >= "3.9" and python_version < "3.11" -cadquery-ocp==7.7.0 ; python_version >= "3.9" and python_version < "3.11" -cadquery==2.4.0 ; python_version >= "3.9" and python_version < "3.11" -casadi==3.6.4 ; python_version >= "3.9" and python_version < "3.11" -certifi==2024.2.2 ; python_version >= "3.9" and python_version < "3.11" -charset-normalizer==3.3.2 ; python_version >= "3.9" and python_version < "3.11" -click==8.1.7 ; python_version >= "3.9" and python_version < "3.11" -colorama==0.4.6 ; python_version >= "3.9" and python_version < "3.11" -commitizen==3.14.1 ; python_version >= "3.9" and python_version < "3.11" -decli==0.6.1 ; python_version >= "3.9" and python_version < "3.11" -decorator==5.1.1 ; python_version >= "3.9" and python_version < "3.11" -doc8==0.10.1 ; python_version >= "3.9" and python_version < "3.11" -docutils==0.18.1 ; python_version >= "3.9" and python_version < "3.11" +alabaster==0.7.16 ; python_version >= "3.9" and python_version < "3.12" +argcomplete==3.2.2 ; python_version >= "3.9" and python_version < "3.12" +asttokens==2.4.1 ; python_version >= "3.9" and python_version < "3.12" +babel==2.14.0 ; python_version >= "3.9" and python_version < "3.12" +black==24.2.0 ; python_version >= "3.9" and python_version < "3.12" +cadquery-ocp==7.7.0 ; python_version >= "3.9" and python_version < "3.12" +cadquery==2.4.0 ; python_version >= "3.9" and python_version < "3.12" +casadi==3.6.4 ; python_version >= "3.9" and python_version < "3.12" +certifi==2024.2.2 ; python_version >= "3.9" and python_version < "3.12" +charset-normalizer==3.3.2 ; python_version >= "3.9" and python_version < "3.12" +click==8.1.7 ; python_version >= "3.9" and python_version < "3.12" +colorama==0.4.6 ; python_version >= "3.9" and python_version < "3.12" +commitizen==3.14.1 ; python_version >= "3.9" and python_version < "3.12" +decli==0.6.1 ; python_version >= "3.9" and python_version < "3.12" +decorator==5.1.1 ; python_version >= "3.9" and python_version < "3.12" +doc8==0.10.1 ; python_version >= "3.9" and python_version < "3.12" +docutils==0.18.1 ; python_version >= "3.9" and python_version < "3.12" exceptiongroup==1.2.0 ; python_version >= "3.9" and python_version < "3.11" -executing==2.0.1 ; python_version >= "3.9" and python_version < "3.11" -ezdxf==1.1.4 ; python_version >= "3.9" and python_version < "3.11" -flake8==6.1.0 ; python_version >= "3.9" and python_version < "3.11" -fonttools==4.49.0 ; python_version >= "3.9" and python_version < "3.11" -idna==3.6 ; python_version >= "3.9" and python_version < "3.11" -imagesize==1.4.1 ; python_version >= "3.9" and python_version < "3.11" -importlib-metadata==7.0.1 ; python_version >= "3.9" and python_version < "3.11" -iniconfig==2.0.0 ; python_version >= "3.9" and python_version < "3.11" -ipython==8.18.0 ; python_version >= "3.9" and python_version < "3.11" -isort==5.13.2 ; python_version >= "3.9" and python_version < "3.11" -jedi==0.19.1 ; python_version >= "3.9" and python_version < "3.11" -jinja2==3.1.3 ; python_version >= "3.9" and python_version < "3.11" -markupsafe==2.1.5 ; python_version >= "3.9" and python_version < "3.11" -matplotlib-inline==0.1.6 ; python_version >= "3.9" and python_version < "3.11" -mccabe==0.7.0 ; python_version >= "3.9" and python_version < "3.11" -multimethod==1.9.1 ; python_version >= "3.9" and python_version < "3.11" -mypy-extensions==1.0.0 ; python_version >= "3.9" and python_version < "3.11" -mypy==1.8.0 ; python_version >= "3.9" and python_version < "3.11" -nlopt==2.7.1 ; python_version >= "3.9" and python_version < "3.11" -nptyping==2.0.1 ; python_version >= "3.9" and python_version < "3.11" -numpy==1.26.4 ; python_version >= "3.9" and python_version < "3.11" -packaging==23.2 ; python_version >= "3.9" and python_version < "3.11" -parso==0.8.3 ; python_version >= "3.9" and python_version < "3.11" -path==16.10.0 ; python_version >= "3.9" and python_version < "3.11" -pathspec==0.12.1 ; python_version >= "3.9" and python_version < "3.11" -pbr==6.0.0 ; python_version >= "3.9" and python_version < "3.11" -pexpect==4.9.0 ; python_version >= "3.9" and python_version < "3.11" and sys_platform != "win32" -platformdirs==4.2.0 ; python_version >= "3.9" and python_version < "3.11" -pluggy==1.4.0 ; python_version >= "3.9" and python_version < "3.11" -prompt-toolkit==3.0.36 ; python_version >= "3.9" and python_version < "3.11" -ptyprocess==0.7.0 ; python_version >= "3.9" and python_version < "3.11" and sys_platform != "win32" -pure-eval==0.2.2 ; python_version >= "3.9" and python_version < "3.11" -pycodestyle==2.11.1 ; python_version >= "3.9" and python_version < "3.11" -pyflakes==3.1.0 ; python_version >= "3.9" and python_version < "3.11" -pygments==2.17.2 ; python_version >= "3.9" and python_version < "3.11" -pyparsing==3.1.1 ; python_version >= "3.9" and python_version < "3.11" -pytest==7.4.4 ; python_version >= "3.9" and python_version < "3.11" -pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "3.11" -questionary==2.0.1 ; python_version >= "3.9" and python_version < "3.11" -requests==2.31.0 ; python_version >= "3.9" and python_version < "3.11" -restructuredtext-lint==1.4.0 ; python_version >= "3.9" and python_version < "3.11" -six==1.16.0 ; python_version >= "3.9" and python_version < "3.11" -snowballstemmer==2.2.0 ; python_version >= "3.9" and python_version < "3.11" -sphinx-rtd-theme==1.3.0 ; python_version >= "3.9" and python_version < "3.11" -sphinx==6.2.1 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-applehelp==1.0.8 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-devhelp==1.0.6 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-htmlhelp==2.0.5 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-jquery==4.1 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-qthelp==1.0.7 ; python_version >= "3.9" and python_version < "3.11" -sphinxcontrib-serializinghtml==1.1.10 ; python_version >= "3.9" and python_version < "3.11" -stack-data==0.6.3 ; python_version >= "3.9" and python_version < "3.11" -stevedore==5.1.0 ; python_version >= "3.9" and python_version < "3.11" -termcolor==2.4.0 ; python_version >= "3.9" and python_version < "3.11" +executing==2.0.1 ; python_version >= "3.9" and python_version < "3.12" +ezdxf==1.1.4 ; python_version >= "3.9" and python_version < "3.12" +flake8==6.1.0 ; python_version >= "3.9" and python_version < "3.12" +fonttools==4.49.0 ; python_version >= "3.9" and python_version < "3.12" +idna==3.6 ; python_version >= "3.9" and python_version < "3.12" +imagesize==1.4.1 ; python_version >= "3.9" and python_version < "3.12" +importlib-metadata==7.0.1 ; python_version >= "3.9" and python_version < "3.12" +iniconfig==2.0.0 ; python_version >= "3.9" and python_version < "3.12" +ipython==8.18.0 ; python_version >= "3.9" and python_version < "3.12" +isort==5.13.2 ; python_version >= "3.9" and python_version < "3.12" +jedi==0.19.1 ; python_version >= "3.9" and python_version < "3.12" +jinja2==3.1.3 ; python_version >= "3.9" and python_version < "3.12" +markupsafe==2.1.5 ; python_version >= "3.9" and python_version < "3.12" +matplotlib-inline==0.1.6 ; python_version >= "3.9" and python_version < "3.12" +mccabe==0.7.0 ; python_version >= "3.9" and python_version < "3.12" +multimethod==1.9.1 ; python_version >= "3.9" and python_version < "3.12" +mypy-extensions==1.0.0 ; python_version >= "3.9" and python_version < "3.12" +mypy==1.8.0 ; python_version >= "3.9" and python_version < "3.12" +nlopt==2.7.1 ; python_version >= "3.9" and python_version < "3.12" +nptyping==2.0.1 ; python_version >= "3.9" and python_version < "3.12" +numpy==1.26.4 ; python_version >= "3.9" and python_version < "3.12" +packaging==23.2 ; python_version >= "3.9" and python_version < "3.12" +parso==0.8.3 ; python_version >= "3.9" and python_version < "3.12" +path==16.10.0 ; python_version >= "3.9" and python_version < "3.12" +pathspec==0.12.1 ; python_version >= "3.9" and python_version < "3.12" +pbr==6.0.0 ; python_version >= "3.9" and python_version < "3.12" +pexpect==4.9.0 ; python_version >= "3.9" and python_version < "3.12" and sys_platform != "win32" +platformdirs==4.2.0 ; python_version >= "3.9" and python_version < "3.12" +pluggy==1.4.0 ; python_version >= "3.9" and python_version < "3.12" +prompt-toolkit==3.0.36 ; python_version >= "3.9" and python_version < "3.12" +ptyprocess==0.7.0 ; python_version >= "3.9" and python_version < "3.12" and sys_platform != "win32" +pure-eval==0.2.2 ; python_version >= "3.9" and python_version < "3.12" +pycodestyle==2.11.1 ; python_version >= "3.9" and python_version < "3.12" +pyflakes==3.1.0 ; python_version >= "3.9" and python_version < "3.12" +pygments==2.17.2 ; python_version >= "3.9" and python_version < "3.12" +pyparsing==3.1.1 ; python_version >= "3.9" and python_version < "3.12" +pytest==7.4.4 ; python_version >= "3.9" and python_version < "3.12" +pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "3.12" +questionary==2.0.1 ; python_version >= "3.9" and python_version < "3.12" +requests==2.31.0 ; python_version >= "3.9" and python_version < "3.12" +restructuredtext-lint==1.4.0 ; python_version >= "3.9" and python_version < "3.12" +six==1.16.0 ; python_version >= "3.9" and python_version < "3.12" +snowballstemmer==2.2.0 ; python_version >= "3.9" and python_version < "3.12" +sphinx-rtd-theme==1.3.0 ; python_version >= "3.9" and python_version < "3.12" +sphinx==6.2.1 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-applehelp==1.0.8 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-devhelp==1.0.6 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-htmlhelp==2.0.5 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-jquery==4.1 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-qthelp==1.0.7 ; python_version >= "3.9" and python_version < "3.12" +sphinxcontrib-serializinghtml==1.1.10 ; python_version >= "3.9" and python_version < "3.12" +stack-data==0.6.3 ; python_version >= "3.9" and python_version < "3.12" +stevedore==5.1.0 ; python_version >= "3.9" and python_version < "3.12" +termcolor==2.4.0 ; python_version >= "3.9" and python_version < "3.12" tomli==2.0.1 ; python_version >= "3.9" and python_version < "3.11" -tomlkit==0.12.3 ; python_version >= "3.9" and python_version < "3.11" -traitlets==5.14.1 ; python_version >= "3.9" and python_version < "3.11" -types-docutils==0.19.1.9 ; python_version >= "3.9" and python_version < "3.11" -typing-extensions==4.9.0 ; python_version >= "3.9" and python_version < "3.11" -typish==1.9.3 ; python_version >= "3.9" and python_version < "3.11" -urllib3==2.2.0 ; python_version >= "3.9" and python_version < "3.11" -wcwidth==0.2.13 ; python_version >= "3.9" and python_version < "3.11" -zipp==3.17.0 ; python_version >= "3.9" and python_version < "3.11" +tomlkit==0.12.3 ; python_version >= "3.9" and python_version < "3.12" +traitlets==5.14.1 ; python_version >= "3.9" and python_version < "3.12" +types-docutils==0.19.1.9 ; python_version >= "3.9" and python_version < "3.12" +typing-extensions==4.9.0 ; python_version >= "3.9" and python_version < "3.12" +typish==1.9.3 ; python_version >= "3.9" and python_version < "3.12" +urllib3==2.2.0 ; python_version >= "3.9" and python_version < "3.12" +wcwidth==0.2.13 ; python_version >= "3.9" and python_version < "3.12" +zipp==3.17.0 ; python_version >= "3.9" and python_version < "3.12" diff --git a/poetry.lock b/poetry.lock index 76c6012..5fd7134 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2270,7 +2270,10 @@ files = [ [package.dependencies] astroid = ">=3.0.1,<=3.1.0-dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} -dill = {version = ">=0.2", markers = "python_version < \"3.11\""} +dill = [ + {version = ">=0.2", markers = "python_version < \"3.11\""}, + {version = ">=0.3.6", markers = "python_version >= \"3.11\""}, +] isort = ">=4.2.5,<5.13.0 || >5.13.0,<6" mccabe = ">=0.6,<0.8" platformdirs = ">=2.2.0" @@ -3968,5 +3971,5 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" -python-versions = ">=3.9,<3.11" -content-hash = "2e7e8e203819bbe2ba704316e30a6b370eeecdd367360372358b77ba6f517e51" +python-versions = ">=3.9,<3.12" +content-hash = "798410e33ef9629dbfc09c32b1c6f6daf3d2a1ee10bfe219568a9e23f89474fa" diff --git a/pyproject.toml b/pyproject.toml index 645fdcc..4dbadb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.9", "Programming Language :: Python", "Programming Language :: Python", @@ -54,7 +55,7 @@ classifiers = [ "Bug Tracker" = "https://github.com/sethfischer/sphinxcontrib-cadquery/issues" [tool.poetry.dependencies] -python = ">=3.9,<3.11" +python = ">=3.9,<3.12" Sphinx = ">=5.3.0,<7.0.0" ipython = ">=7.31.1" @@ -101,7 +102,7 @@ profile = "black" multi_line_output = 3 [tool.mypi] -python_version = "3.9" +python_version = "3.11" packages = "sphinxcontrib" [build-system]