diff --git a/neo4j/hatch.toml b/neo4j/hatch.toml new file mode 100644 index 0000000000..caf3c8357d --- /dev/null +++ b/neo4j/hatch.toml @@ -0,0 +1,18 @@ +[env.collectors.datadog-checks] + +[[envs.default.matrix]] +python = ["3.8"] +version = ["3.5", "4.0", "4.1", "4.2", "4.3", "4.4"] + +[envs.default.overrides] +matrix.version.env-vars = [ + { key = "NEO4J_VERSION", value = "3.5.30", if = ["3.5"] }, + { key = "NEO4J_VERSION", value = "4.0.0", if = ["4.0"] }, + { key = "NEO4J_VERSION", value = "4.1.11", if = ["4.1"] }, + { key = "NEO4J_VERSION", value = "4.2.14", if = ["4.2"] }, + { key = "NEO4J_VERSION", value = "4.3.10", if = ["4.3"] }, + { key = "NEO4J_VERSION", value = "4.4.3", if = ["4.4"] }, +] + +[envs.default] +e2e-env = false diff --git a/neo4j/pyproject.toml b/neo4j/pyproject.toml index 5e3adcf26e..c0e823b96c 100644 --- a/neo4j/pyproject.toml +++ b/neo4j/pyproject.toml @@ -50,8 +50,6 @@ include = [ "/datadog_checks", "/tests", "/manifest.json", - "/requirements-dev.txt", - "/tox.ini", ] [tool.hatch.build.targets.wheel] diff --git a/neo4j/requirements-dev.txt b/neo4j/requirements-dev.txt deleted file mode 100644 index 958b51d329..0000000000 --- a/neo4j/requirements-dev.txt +++ /dev/null @@ -1 +0,0 @@ -datadog-checks-dev diff --git a/neo4j/tox.ini b/neo4j/tox.ini deleted file mode 100644 index da2e9fe527..0000000000 --- a/neo4j/tox.ini +++ /dev/null @@ -1,27 +0,0 @@ -[tox] -minversion = 2.0 -skip_missing_interpreters = true -basepython = py38 -envlist = - py{38}-{3.5,4.0,4.1,4.2,4.3,4.4} - -[testenv] -dd_check_style = true -usedevelop = true -platform = linux|darwin|win32 -extras = deps -deps = - datadog-checks-base[deps]>=6.6.0 - -rrequirements-dev.txt -setenv = - 3.5: NEO4J_VERSION=3.5.30 - 4.0: NEO4J_VERSION=4.0.0 - 4.1: NEO4J_VERSION=4.1.11 - 4.2: NEO4J_VERSION=4.2.14 - 4.3: NEO4J_VERSION=4.3.10 - 4.4: NEO4J_VERSION=4.4.3 -passenv = - DOCKER* - COMPOSE* -commands = - pytest -v {posargs}