From cf28490bf41b311b663d933e59750b17cb5c8dbc Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Sun, 15 Sep 2024 02:10:05 +0200 Subject: [PATCH 1/2] Bump dependencies --- .pre-commit-config.yaml | 12 ++-- Makefile | 4 +- dev-requirements.txt | 129 ++++++++++++++++++++-------------------- requirements.txt | 71 +++++++++++----------- 4 files changed, 111 insertions(+), 105 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 21733d2..aa7fe7f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,24 +2,24 @@ default_language_version: python: python3.8 repos: - repo: https://github.com/psf/black - rev: '21.6b0' + rev: '24.8.0' hooks: - id: black - repo: https://github.com/Pierre-Sassoulas/black-disable-checker - rev: '1.0.1' + rev: 'v1.1.3' hooks: - id: black-disable-checker - repo: https://github.com/PyCQA/flake8 - rev: '3.9.2' + rev: '7.1.1' hooks: - id: flake8 - repo: https://github.com/PyCQA/isort - rev: '5.9.1' + rev: '5.13.2' hooks: - id: isort - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.6.0 hooks: # all files should end with an empty line (for one, it minimizes the diffs) - id: end-of-file-fixer @@ -51,7 +51,7 @@ repos: - id: check-merge-conflict - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-check-blanket-noqa - id: python-check-blanket-type-ignore diff --git a/Makefile b/Makefile index d8b4a5e..1f14543 100644 --- a/Makefile +++ b/Makefile @@ -45,13 +45,13 @@ syncenv: ensurevenv: ; bumpdeps: ensurevenv - echo.- Upgrading requirement files + @echo "- Upgrading requirement files" ./.venv/bin/pip-compile --quiet --upgrade ./.venv/bin/pip-compile --quiet --upgrade dev-requirements.in $(MAKE) aftercompiledeps compiledeps: ensurevenv - echo.- Compiling requirement files + @echo "- Compiling requirement files" ./.venv/bin/pip-compile --quiet ./.venv/bin/pip-compile --quiet dev-requirements.in $(MAKE) aftercompiledeps diff --git a/dev-requirements.txt b/dev-requirements.txt index cc0da40..4ab81a7 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -4,129 +4,126 @@ # # pip-compile dev-requirements.in # -alabaster==0.7.12 +alabaster==0.7.13 # via # -c requirements.txt # sphinx -appdirs==1.4.4 - # via - # black - # virtualenv -babel==2.9.1 +babel==2.16.0 # via # -c requirements.txt # sphinx -black==21.6b0 +black==24.8.0 # via -r dev-requirements.in -certifi==2021.5.30 +build==1.2.2 + # via pip-tools +certifi==2024.8.30 # via # -c requirements.txt # requests -cfgv==3.3.0 +cfgv==3.4.0 # via pre-commit -chardet==4.0.0 +charset-normalizer==3.3.2 # via # -c requirements.txt # requests -click==8.0.1 +click==8.1.7 # via # black # pip-tools -colorama==0.4.4 - # via - # -c requirements.txt - # click - # sphinx - # sphinx-autobuild -distlib==0.3.2 +colorama==0.4.6 + # via sphinx-autobuild +distlib==0.3.8 # via virtualenv -docutils==0.17.1 +docutils==0.20.1 # via # -c requirements.txt # sphinx -filelock==3.0.12 +filelock==3.16.0 # via virtualenv -flake8==3.9.2 +flake8==7.1.1 # via -r dev-requirements.in -identify==2.2.10 +identify==2.6.1 # via pre-commit -idna==2.10 +idna==3.9 # via # -c requirements.txt # requests -imagesize==1.2.0 +imagesize==1.4.1 + # via + # -c requirements.txt + # sphinx +importlib-metadata==8.5.0 # via # -c requirements.txt + # build # sphinx -isort==5.9.1 +isort==5.13.2 # via -r dev-requirements.in -jinja2==3.0.1 +jinja2==3.1.4 # via # -c requirements.txt # sphinx -livereload==2.6.3 +livereload==2.7.0 # via sphinx-autobuild -markupsafe==2.0.1 +markupsafe==2.1.5 # via # -c requirements.txt # jinja2 -mccabe==0.6.1 +mccabe==0.7.0 # via flake8 -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 # via black -nodeenv==1.6.0 +nodeenv==1.9.1 # via pre-commit -packaging==21.0 +packaging==24.1 # via # -c requirements.txt + # black + # build # sphinx -pathspec==0.8.1 +pathspec==0.12.1 # via black -pep517==0.10.0 - # via pip-tools -pip-tools==6.2.0 +pip-tools==7.4.1 # via -r dev-requirements.in -pre-commit==2.13.0 +platformdirs==4.3.3 + # via + # black + # virtualenv +pre-commit==3.5.0 # via -r dev-requirements.in -pycodestyle==2.7.0 +pycodestyle==2.12.1 # via flake8 -pyflakes==2.3.1 +pyflakes==3.2.0 # via flake8 -pygments==2.9.0 +pygments==2.18.0 # via # -c requirements.txt # sphinx -pyparsing==2.4.7 +pyproject-hooks==1.1.0 # via - # -c requirements.txt - # packaging -pytz==2021.1 + # build + # pip-tools +pytz==2024.2 # via # -c requirements.txt # babel -pyyaml==5.4.1 +pyyaml==6.0.2 # via pre-commit -regex==2021.7.6 - # via black -requests==2.25.1 +requests==2.32.3 # via # -c requirements.txt # sphinx -six==1.16.0 - # via - # livereload - # virtualenv -snowballstemmer==2.1.0 +snowballstemmer==2.2.0 # via # -c requirements.txt # sphinx -sphinx==4.0.3 +sphinx==7.1.2 # via # -c requirements.txt # sphinx-autobuild sphinx-autobuild==2021.3.14 # via -r dev-requirements.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==1.0.4 # via # -c requirements.txt # sphinx @@ -134,7 +131,7 @@ sphinxcontrib-devhelp==1.0.2 # via # -c requirements.txt # sphinx -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 # via # -c requirements.txt # sphinx @@ -150,21 +147,27 @@ sphinxcontrib-serializinghtml==1.1.5 # via # -c requirements.txt # sphinx -toml==0.10.2 +tomli==2.0.1 # via # black - # pep517 - # pre-commit -tornado==6.1 + # build + # pip-tools +tornado==6.4.1 # via livereload -urllib3==1.26.6 +typing-extensions==4.12.2 + # via black +urllib3==2.2.3 # via # -c requirements.txt # requests -virtualenv==20.4.7 +virtualenv==20.26.4 # via pre-commit -wheel==0.36.2 +wheel==0.44.0 # via pip-tools +zipp==3.20.2 + # via + # -c requirements.txt + # importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements.txt b/requirements.txt index 60ca12f..9419023 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,67 +4,71 @@ # # pip-compile # -alabaster==0.7.12 +alabaster==0.7.13 # via sphinx -babel==2.9.1 +babel==2.16.0 # via sphinx -beautifulsoup4==4.9.3 +beautifulsoup4==4.12.3 # via furo -certifi==2021.5.30 +certifi==2024.8.30 # via requests -chardet==4.0.0 +charset-normalizer==3.3.2 # via requests -colorama==0.4.4 - # via sphinx -docutils==0.17.1 - # via sphinx -furo==2021.7.5b38 +docutils==0.20.1 + # via + # sphinx + # sphinx-prompt +furo==2024.8.6 # via -r requirements.in -idna==2.10 +idna==3.9 # via requests -imagesize==1.2.0 +imagesize==1.4.1 + # via sphinx +importlib-metadata==8.5.0 # via sphinx -jinja2==3.0.1 +jinja2==3.1.4 # via sphinx -markupsafe==2.0.1 +markupsafe==2.1.5 # via jinja2 -packaging==21.0 +packaging==24.1 # via sphinx -pyenchant==3.2.1 +pyenchant==3.2.2 # via sphinxcontrib-spelling -pygments==2.9.0 +pygments==2.18.0 # via + # furo # sphinx # sphinx-prompt -pyparsing==2.4.7 - # via packaging -pytz==2021.1 +pytz==2024.2 # via babel -requests==2.25.1 +requests==2.32.3 # via sphinx -snowballstemmer==2.1.0 +snowballstemmer==2.2.0 # via sphinx -soupsieve==2.2.1 +soupsieve==2.6 # via beautifulsoup4 -sphinx==4.0.3 +sphinx==7.1.2 # via # -r requirements.in # furo + # sphinx-basic-ng # sphinx-copybutton # sphinx-inline-tabs # sphinx-prompt # sphinxcontrib-spelling -sphinx-copybutton==0.4.0 +sphinx-basic-ng==1.0.0b2 + # via furo +sphinx-copybutton==0.5.2 # via -r requirements.in -sphinx-inline-tabs==2021.4.11b9 +sphinx-inline-tabs==2023.4.21 # via -r requirements.in -sphinx-prompt==1.4.0 +sphinx-prompt==1.7.0 # via -r requirements.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==1.0.4 # via sphinx sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx @@ -72,10 +76,9 @@ sphinxcontrib-qthelp==1.0.3 # via sphinx sphinxcontrib-serializinghtml==1.1.5 # via sphinx -sphinxcontrib-spelling==7.2.1 +sphinxcontrib-spelling==8.0.0 # via -r requirements.in -urllib3==1.26.6 +urllib3==2.2.3 # via requests - -# The following packages are considered to be unsafe in a requirements file: -# setuptools +zipp==3.20.2 + # via importlib-metadata From 1940634836141d05cfb25ebf29220643e841cb94 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Sun, 15 Sep 2024 02:16:34 +0200 Subject: [PATCH 2/2] Update RTD configuration --- .readthedocs.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index cec6ac0..c6a441b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,10 +1,11 @@ version: 2 build: - image: latest + os: ubuntu-22.04 + tools: + python: "3.8" python: - version: 3.8 install: - requirements: requirements.txt