diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c3c74a4..688e606 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,7 +54,7 @@ Remember that many community members have become regular contributors and some a ## Specifically for this project: ### Setting up the Development Environment - * Install Python 3.8+ + * Install Python 3.10+ * Install the requirements ```bash $ python3 -m pip install -U pip diff --git a/pyproject.toml b/pyproject.toml index c4b57a6..5195064 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,16 +24,13 @@ authors = [ dependencies = [ "neo4j == 5.28.1" ] -requires-python = ">=3.7" +requires-python = ">=3.10" keywords = ["neo4j", "graph", "database"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -107,8 +104,7 @@ extend-exclude = [ preview = true # to get CPY lints extend-ignore = [ "RUF002", # allow ’ (RIGHT SINGLE QUOTATION MARK) to be used as an apostrophe (e.g. "it’s") - "SIM117", # TODO: when Python 3.10+ is the minimum, - # we can start to use multi-item `with` statements + # pydocstyle "D1", # disable check for undocumented items (way too noisy) "D203", # `one-blank-line-before-class` diff --git a/requirements-dev.txt b/requirements-dev.txt index c7851ec..d0667db 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,16 +1,16 @@ .[numpy,pandas,pyarrow] # for local development -pre-commit>=2.21.0 # TODO: 6.0 - bump when support for Python 3.7 is dropped -isort>=5.11.5 # TODO: 6.0 - bump when support for Python 3.7 is dropped +pre-commit>=4.2.0 +isort>=6.0.1 # for unit tests -tox>=4.8.0 # TODO: 6.0 - bump when support for Python 3.7 is dropped -pytest>=7.4.4 # TODO: 6.0 - bump when support for Python 3.7 is dropped -pytest-benchmark>=4.0.0 +tox>=4.25.0 +pytest>=8.3.5 +pytest-benchmark>=5.1.0 # for Python driver's TestKit backend freezegun>=1.5.1 # for packaging -maturin>=1.7.8 +maturin>=1.8.3 diff --git a/testkit/Dockerfile b/testkit/Dockerfile index 1c2926a..9382dca 100644 --- a/testkit/Dockerfile +++ b/testkit/Dockerfile @@ -42,7 +42,7 @@ ENV PYENV_ROOT=/.pyenv ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH" # Setup python version -ENV PYTHON_VERSIONS="3.13 3.12 3.11 3.10 3.9 3.8 3.7" +ENV PYTHON_VERSIONS="3.13 3.12 3.11 3.10" RUN for version in $PYTHON_VERSIONS; do \ pyenv install $version; \ diff --git a/tox.ini b/tox.ini index b26e076..579f325 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,5 @@ [tox] -envlist = py{37,38,39,310,311,312,313}-{test} -# for Python 3.7 support (https://github.com/tox-dev/tox/issues/3416#issuecomment-2426989929) -requires = virtualenv<20.22.0 +envlist = py{310,311,312,313}-{test} [testenv] deps = -r requirements-dev.txt