Skip to content

Commit

Permalink
Use Hatch to manage environments (DataDog#1651)
Browse files Browse the repository at this point in the history
* Use Hatch to manage environments

* Update hatch.toml

* oop
  • Loading branch information
ofek authored Dec 10, 2022
1 parent d655292 commit e52b324
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 30 deletions.
18 changes: 18 additions & 0 deletions neo4j/hatch.toml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions neo4j/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ include = [
"/datadog_checks",
"/tests",
"/manifest.json",
"/requirements-dev.txt",
"/tox.ini",
]

[tool.hatch.build.targets.wheel]
Expand Down
1 change: 0 additions & 1 deletion neo4j/requirements-dev.txt

This file was deleted.

27 changes: 0 additions & 27 deletions neo4j/tox.ini

This file was deleted.

0 comments on commit e52b324

Please sign in to comment.