Skip to content

Commit c0e021e

Browse files
authored
Merge pull request #37 from neo4j/drop-python-3.7-3.9
Drop support for Python 3.7-3.9
2 parents 3c504f1 + 26aa3e9 commit c0e021e

File tree

6 files changed

+15
-17
lines changed

6 files changed

+15
-17
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
## Next Release
5+
* Drop support for Python 3.7, 3.8, and 3.9.
6+
7+
48
## Next Release
59
* Moved repository:
610
from https://github.com/neo4j-drivers/neo4j-python-driver-rust-ext

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Remember that many community members have become regular contributors and some a
5454
## Specifically for this project:
5555

5656
### Setting up the Development Environment
57-
* Install Python 3.8+
57+
* Install Python 3.10+
5858
* Install the requirements
5959
```bash
6060
$ python3 -m pip install -U pip

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,13 @@ authors = [
2424
dependencies = [
2525
"neo4j == 5.28.1"
2626
]
27-
requires-python = ">=3.7"
27+
requires-python = ">=3.10"
2828
keywords = ["neo4j", "graph", "database"]
2929
classifiers = [
3030
"Development Status :: 5 - Production/Stable",
3131
"Intended Audience :: Developers",
3232
"License :: OSI Approved :: Apache Software License",
3333
"Operating System :: OS Independent",
34-
"Programming Language :: Python :: 3.7",
35-
"Programming Language :: Python :: 3.8",
36-
"Programming Language :: Python :: 3.9",
3734
"Programming Language :: Python :: 3.10",
3835
"Programming Language :: Python :: 3.11",
3936
"Programming Language :: Python :: 3.12",
@@ -107,8 +104,7 @@ extend-exclude = [
107104
preview = true # to get CPY lints
108105
extend-ignore = [
109106
"RUF002", # allow ’ (RIGHT SINGLE QUOTATION MARK) to be used as an apostrophe (e.g. "it’s")
110-
"SIM117", # TODO: when Python 3.10+ is the minimum,
111-
# we can start to use multi-item `with` statements
107+
112108
# pydocstyle
113109
"D1", # disable check for undocumented items (way too noisy)
114110
"D203", # `one-blank-line-before-class`

requirements-dev.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.[numpy,pandas,pyarrow]
22

33
# for local development
4-
pre-commit>=2.21.0 # TODO: 6.0 - bump when support for Python 3.7 is dropped
5-
isort>=5.11.5 # TODO: 6.0 - bump when support for Python 3.7 is dropped
4+
pre-commit>=4.2.0
5+
isort>=6.0.1
66

77
# for unit tests
8-
tox>=4.8.0 # TODO: 6.0 - bump when support for Python 3.7 is dropped
9-
pytest>=7.4.4 # TODO: 6.0 - bump when support for Python 3.7 is dropped
10-
pytest-benchmark>=4.0.0
8+
tox>=4.25.0
9+
pytest>=8.3.5
10+
pytest-benchmark>=5.1.0
1111

1212
# for Python driver's TestKit backend
1313
freezegun>=1.5.1
1414

1515
# for packaging
16-
maturin>=1.7.8
16+
maturin>=1.8.3

testkit/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ENV PYENV_ROOT=/.pyenv
4242
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
4343

4444
# Setup python version
45-
ENV PYTHON_VERSIONS="3.13 3.12 3.11 3.10 3.9 3.8 3.7"
45+
ENV PYTHON_VERSIONS="3.13 3.12 3.11 3.10"
4646

4747
RUN for version in $PYTHON_VERSIONS; do \
4848
pyenv install $version; \

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39,310,311,312,313}-{test}
3-
# for Python 3.7 support (https://github.com/tox-dev/tox/issues/3416#issuecomment-2426989929)
4-
requires = virtualenv<20.22.0
2+
envlist = py{310,311,312,313}-{test}
53

64
[testenv]
75
deps = -r requirements-dev.txt

0 commit comments

Comments
 (0)