-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for Python 3.12 * Use pyproject.toml to make setuptools pick up the driver version * Add python 3.12 tag to package metadata * Comment why wait_for shim not needed in Python 3.12 * Silence deprecation warnings for Python 3.12 for now --------- Signed-off-by: Rouven Bauer <rouven.bauer@neo4j.com> Signed-off-by: Grant Lodge <6323995+thelonelyvulpes@users.noreply.github.com> Co-authored-by: Grant Lodge <6323995+thelonelyvulpes@users.noreply.github.com>
- Loading branch information
1 parent
fd7206a
commit 41620cd
Showing
16 changed files
with
66 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
[tox] | ||
envlist = py{37,38,39,310,311}-{unit,integration,performance} | ||
envlist = py{37,38,39,310,311,312}-{unit,integration,performance} | ||
|
||
[testenv] | ||
passenv = TEST_NEO4J_* | ||
deps = -r requirements-dev.txt | ||
setenv = COVERAGE_FILE={envdir}/.coverage | ||
usedevelop = true | ||
# Ignore warnings for Python 3.12 for now | ||
# https://github.com/dateutil/dateutil/issues/1284 needs to be released | ||
# and propagate through our dependency graph | ||
warnargs = | ||
py{37,38,39,310,311}: -W error | ||
py312: | ||
commands = | ||
coverage erase | ||
unit: coverage run -m pytest -W error -v {posargs} tests/unit | ||
unit: coverage run -m pytest -v --doctest-modules {posargs} src | ||
integration: coverage run -m pytest -W error -v {posargs} tests/integration | ||
unit: coverage run -m pytest {[testenv]warnargs} -v {posargs} tests/unit | ||
integration: coverage run -m pytest {[testenv]warnargs} -v {posargs} tests/integration | ||
performance: python -m pytest --benchmark-autosave -v {posargs} tests/performance | ||
unit,integration: coverage report |