Skip to content

Commit caf95de

Browse files
authored
Merge pull request #568 from adamnsch/py12
Support Python 3.12
2 parents ed42fed + 858331c commit caf95de

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

graphdatascience/tests/pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ markers =
88
only_on_aura: mark a test to be run only when targeting an AuraDS instance
99
ogb: mark a test as requiring the ogb dependency
1010
cloud_architecture: mark a test to require a cloud setup like environment
11+
filterwarnings =
12+
error
13+
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
2929
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
3031
"Topic :: Database",
3132
"Topic :: Scientific/Engineering",
3233
"Topic :: Software Development",

tox.ini

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ envlist =
55
py310-pandas1-pyarrow{10,11,12,13,14}-main-{standard,encrypted},
66
py311-pandas1-pyarrow{10,11,12,13,14}-main-{standard,encrypted},
77
py{38,39,310,311}-pandas2-pyarrow{12,13,14}-main-{standard,encrypted},
8+
py312-pandas2-pyarrow14-main-{standard,encrypted},
89

910
py{38,39}-neo4j{4,5}-pullrequest-{standard,encrypted},
10-
py{310,311}-pullrequest-{standard,encrypted},
11+
py{310,311,312}-pullrequest-{standard,encrypted},
1112

1213
py311-main-aura,
1314

1415
py38-neo4j{5}-pyarrow{14}-main-{cloud-architecture}
1516
py38-pullrequest-{cloud-architecture}
1617

1718
# Vary networkx versions only for relevant tests
18-
py310-neo4j{4,5}-pandas1-pyarrow7-networkx{2,3}-main-nx
19-
py310-neo4j{4,5}-pandas2-pyarrow14-networkx{2,3}-main-nx
19+
py311-neo4j{4,5}-pandas1-pyarrow7-networkx{2,3}-main-nx
20+
py311-neo4j{4,5}-pandas2-pyarrow14-networkx{2,3}-main-nx
2021
py311-networkx3-pullrequest-nx
2122

2223
jupyter-notebook-ci
@@ -47,12 +48,12 @@ deps =
4748
networkx2: networkx >= 2.0, < 3.0
4849
networkx3: networkx >= 3.0, < 4.0
4950
commands =
50-
standard: bash -ec 'pytest graphdatascience/tests --include-enterprise --include-model-store-location -Werror && ruby ./doc/tests/test_docs.rb python3 -n test_enterprise && pytest ./doc/tests/test_client_only_endpoints.py -Werror'
51-
encrypted: pytest graphdatascience/tests --encrypted-only -Werror
52-
aura: pytest graphdatascience/tests --include-enterprise --target-aura -Werror
53-
ogb: pytest graphdatascience/tests --include-enterprise --include-ogb -Werror
54-
nx: bash -ec 'pytest graphdatascience/tests/*/test_nx_loader.py --include-enterprise -Werror && ruby ./doc/tests/test_docs.rb python3 -n test_networkx'
55-
cloud-architecture: pytest graphdatascience/tests --include-cloud-architecture -Werror
51+
standard: bash -ec 'pytest graphdatascience/tests --include-enterprise --include-model-store-location && ruby ./doc/tests/test_docs.rb python3 -n test_enterprise && pytest ./doc/tests/test_client_only_endpoints.py'
52+
encrypted: pytest graphdatascience/tests --encrypted-only
53+
aura: pytest graphdatascience/tests --include-enterprise --target-aura
54+
ogb: pytest graphdatascience/tests --include-enterprise --include-ogb
55+
nx: bash -ec 'pytest graphdatascience/tests/*/test_nx_loader.py --include-enterprise && ruby ./doc/tests/test_docs.rb python3 -n test_networkx'
56+
cloud-architecture: pytest graphdatascience/tests --include-cloud-architecture
5657
rm -rf {envdir}/lib
5758

5859
[testenv:jupyter-notebook-ci]

0 commit comments

Comments
 (0)