From 787544648d2e8016f067ff3b52198082afe63bc9 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:51:01 +0200 Subject: [PATCH 1/2] DX: exclude `.constraints` dir from VS Code search --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5f43d09..e6b1ef9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -38,5 +38,8 @@ "python.terminal.activateEnvironment": false, "redhat.telemetry.enabled": false, "rewrap.wrappingColumn": 88, + "search.exclude": { + "**/.constraints/py*.txt": true + }, "telemetry.telemetryLevel": "off" } From f2197de31aada6bfe13791243d0197251f313e98 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:52:15 +0200 Subject: [PATCH 2/2] MAINT: drop support for Python 3.8 --- .constraints/py3.8.txt | 191 ---------------------------------------- .pre-commit-config.yaml | 2 +- pyproject.toml | 3 +- 3 files changed, 2 insertions(+), 194 deletions(-) delete mode 100644 .constraints/py3.8.txt diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt deleted file mode 100644 index 4f3ee1f..0000000 --- a/.constraints/py3.8.txt +++ /dev/null @@ -1,191 +0,0 @@ -# This file was autogenerated by uv via the following command: -# uv pip compile pyproject.toml -o .constraints/py3.8.txt --all-extras --no-annotate --python-version=3.8 --no-emit-package setuptools -accessible-pygments==0.0.4 -alabaster==0.7.13 -anyio==4.4.0 -argon2-cffi==23.1.0 -argon2-cffi-bindings==21.2.0 -arrow==1.3.0 -asttokens==2.4.1 -async-lru==2.0.4 -attrs==24.2.0 -babel==2.15.0 -backcall==0.2.0 -beautifulsoup4==4.12.3 -black==24.8.0 -bleach==6.1.0 -cachetools==5.4.0 -cattrs==23.2.3 -certifi==2024.7.4 -cffi==1.17.0 -cfgv==3.4.0 -chardet==5.2.0 -charset-normalizer==3.3.2 -click==8.1.7 -colorama==0.4.6 -comm==0.2.2 -contourpy==1.1.1 -cycler==0.12.1 -debugpy==1.8.5 -decorator==5.1.1 -defusedxml==0.7.1 -distlib==0.3.8 -docstring-to-markdown==0.15 -docutils==0.19 -exceptiongroup==1.2.2 -executing==2.0.1 -fastjsonschema==2.20.0 -filelock==3.15.4 -flake8==5.0.4 -fonttools==4.53.1 -fqdn==1.5.1 -gitdb==4.0.11 -gitpython==3.1.43 -greenlet==3.0.3 -h11==0.14.0 -httpcore==1.0.5 -httpx==0.27.0 -identify==2.6.0 -idna==3.7 -imagesize==1.4.1 -importlib-metadata==8.2.0 -importlib-resources==6.4.0 -iniconfig==2.0.0 -ipykernel==6.29.5 -ipympl==0.9.3 -ipython==8.12.3 -ipython-genutils==0.2.0 -ipywidgets==8.1.3 -isoduration==20.11.0 -isort==5.13.2 -jedi==0.18.2 -jinja2==3.1.4 -json5==0.9.25 -jsonpointer==3.0.0 -jsonschema==4.23.0 -jsonschema-specifications==2023.12.1 -jupyter-cache==0.6.1 -jupyter-client==8.6.2 -jupyter-core==5.7.2 -jupyter-events==0.10.0 -jupyter-lsp==2.2.5 -jupyter-server==2.14.2 -jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.3 -jupyterlab==4.2.4 -jupyterlab-code-formatter==3.0.1 -jupyterlab-git==0.50.1 -jupyterlab-lsp==5.1.0 -jupyterlab-myst==2.4.2 -jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.3 -jupyterlab-widgets==3.0.11 -kiwisolver==1.4.5 -livereload==2.7.0 -lsprotocol==2023.0.1 -markdown-it-py==2.2.0 -markupsafe==2.1.5 -matplotlib==3.7.5 -matplotlib-inline==0.1.7 -mccabe==0.7.0 -mdit-py-plugins==0.3.5 -mdurl==0.1.2 -mistune==3.0.2 -mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 -nbclient==0.6.8 -nbconvert==7.16.4 -nbdime==4.0.1 -nbformat==5.10.4 -nbmake==1.5.4 -nest-asyncio==1.6.0 -nodeenv==1.9.1 -notebook-shim==0.2.4 -numpy==1.24.4 -overrides==7.7.0 -packaging==24.1 -pandocfilters==1.5.1 -parso==0.8.4 -pathspec==0.12.1 -pexpect==4.9.0 -pickleshare==0.7.5 -pillow==10.4.0 -pkgutil-resolve-name==1.3.10 -platformdirs==4.2.2 -pluggy==1.5.0 -pre-commit==3.5.0 -prometheus-client==0.20.0 -prompt-toolkit==3.0.47 -psutil==6.0.0 -ptyprocess==0.7.0 -pure-eval==0.2.3 -pycodestyle==2.9.1 -pycparser==2.22 -pydata-sphinx-theme==0.14.4 -pyflakes==2.5.0 -pygments==2.18.0 -pyparsing==3.1.2 -pyproject-api==1.7.1 -pytest==8.3.2 -python-dateutil==2.9.0.post0 -python-json-logger==2.0.7 -python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.2.2 -python-lsp-server==1.7.4 -pytoolconfig==1.3.1 -pytz==2024.1 -pyyaml==6.0.2 -pyzmq==26.1.0 -referencing==0.35.1 -requests==2.32.3 -rfc3339-validator==0.1.4 -rfc3986-validator==0.1.1 -rope==1.13.0 -rpds-py==0.20.0 -ruff==0.5.6 -send2trash==1.8.3 -six==1.16.0 -smmap==5.0.1 -sniffio==1.3.1 -snowballstemmer==2.2.0 -soupsieve==2.5 -sphinx==5.3.0 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 -sphinx-comments==0.0.3 -sphinx-copybutton==0.5.2 -sphinx-design==0.5.0 -sphinx-exercise==0.4.1 -sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 -sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.32 -stack-data==0.6.3 -tabulate==0.9.0 -terminado==0.18.1 -tinycss2==1.3.0 -tomli==2.0.1 -tornado==6.4.1 -tox==4.17.0 -traitlets==5.14.3 -types-python-dateutil==2.9.0.20240316 -typing-extensions==4.12.2 -ujson==5.10.0 -uri-template==1.3.0 -urllib3==2.2.2 -virtualenv==20.26.3 -wcwidth==0.2.13 -webcolors==24.6.0 -webencodings==0.5.1 -websocket-client==1.8.0 -wheel==0.44.0 -widgetsnbextension==4.0.11 -zipp==3.19.2 - -# The following packages were excluded from the output: -# setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 750fb5d..06a4471 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: - id: nbqa-flake8 - id: nbqa-isort - id: nbqa-pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 diff --git a/pyproject.toml b/pyproject.toml index 97d7ac4..ab04d5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Physics", @@ -28,7 +27,7 @@ classifiers = [ description = "Jupyter notebooks for the STRONG2020 school in Salamanca, 2023" dynamic = ["version"] name = "strong2020-salamanca" -requires-python = ">=3.8" +requires-python = ">=3.9" [project.optional-dependencies] dev = [