Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.4] Add Python 3.11 support #862

Merged
merged 4 commits into from
Nov 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
mock_use_standalone_module = true
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
3 changes: 2 additions & 1 deletion testkit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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 && \
Expand Down
3 changes: 2 additions & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions tox-unit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
py38
py39
py310
py311

[testenv]
deps =
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
py38
py39
py310
py311

[testenv]
passenv =
Expand Down