diff --git a/CHANGELOG.md b/CHANGELOG.md index 28c3b6063..8ce935ad1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Neo4j Driver Change Log +## Version 4.4.10 + +- Python 3.11 support added + + ## Version 4.4.9 - Python 3.10 support added diff --git a/docs/source/index.rst b/docs/source/index.rst index 42cf1105b..de09c7a75 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -12,6 +12,7 @@ Neo4j versions supported: Python versions supported: +* Python 3.11 (added in driver version 4.4.10) * Python 3.10 (added in driver version 4.4.9) * Python 3.9 * Python 3.8 diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 000000000..86d57a404 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +mock_use_standalone_module = true diff --git a/setup.py b/setup.py index e0915b421..fdc908402 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ] entry_points = { "console_scripts": [ diff --git a/testkit/Dockerfile b/testkit/Dockerfile index 34d781a05..33cddad35 100644 --- a/testkit/Dockerfile +++ b/testkit/Dockerfile @@ -40,7 +40,7 @@ ENV PYENV_ROOT /.pyenv ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH # Setup python version -ENV PYTHON_VERSIONS 3.6 3.7 3.8 3.9 3.10 +ENV PYTHON_VERSIONS 3.6 3.7 3.8 3.9 3.10 3.11 RUN for version in $PYTHON_VERSIONS; do \ pyenv install $version:latest; \ @@ -50,6 +50,7 @@ RUN pyenv global $(pyenv versions --bare --skip-aliases) # Install Latest pip and setuptools for each environment # + tox and tools for starting the tests +# https://pip.pypa.io/en/stable/news/ RUN for version in $PYTHON_VERSIONS; do \ python$version -m pip install -U pip && \ python$version -m pip install -U setuptools && \ diff --git a/tests/requirements.txt b/tests/requirements.txt index 4f9b30c22..51ad26a66 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -3,6 +3,7 @@ coverage pytest pytest-benchmark pytest-cov -pytest-mock~=3.6.1 +pytest-mock~=3.6 +mock~=4.0 teamcity-messages pandas>=1.0.0 diff --git a/tox-unit.ini b/tox-unit.ini index d4d7664e6..cc9f021a0 100644 --- a/tox-unit.ini +++ b/tox-unit.ini @@ -5,6 +5,7 @@ envlist = py38 py39 py310 + py311 [testenv] deps = diff --git a/tox.ini b/tox.ini index 15413083f..c62cef60a 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py38 py39 py310 + py311 [testenv] passenv =