Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelchcki committed May 13, 2024
1 parent 1ed9a3d commit 817b493
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 6 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
pkgs = nixpkgs.legacyPackages.${system};
nix2container = nix2containerPkg.packages.${system}.nix2container;

python = pkgs.python310;
pythonPkgs = pkgs.python310Packages;
python = pkgs.python312;
pythonPkgs = pkgs.python312Packages;

packageAttrs = project.renderers.buildPythonPackage {inherit python;};
packageDeps = project.renderers.withPackages {inherit python;};
Expand All @@ -41,7 +41,7 @@
finalApp = python.pkgs.buildPythonApplication packageAttrs;
devEnv = pkgs.buildEnv {
name = "root";
paths = [pkgs.bashInteractive pkgs.coreutils pkgs.skopeo pkgs.crane treefmt.config.build.wrapper pythonDevEnv];
paths = [pkgs.bashInteractive pkgs.coreutils treefmt.config.build.wrapper pythonDevEnv];
pathsToLink = ["/bin"];
};
in {
Expand Down
File renamed without changes.
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
[project]
name = "ddapm-test-agent"
license="BSD 3"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"aiohttp",
"ddsketch[serialization]",
"msgpack",
"requests",
"typing_extensions",
"yarl",
]
version = "0.0.1"

[project.scripts]
ddapm-test-agent = "ddapm_test_agent.agent:main"
ddapm-test-agent-fmt = "ddapm_test_agent.fmt:main"
ddapm-test-agent-session-start = "ddapm_test_agent.cmd:main_session_start"
ddapm-test-agent-snapshot = "ddapm_test_agent.cmd:main_snapshot"

[project.optional-dependencies]
testing = ["ddtrace==2.6.0", "pytest", "riot==0.13.0"]
linting = ["black >= 22"]

[build-system]
requires = ["setuptools >= 40.6.0", "cython"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
[tool.setuptools.packages.find]


[tool.isort]
force_single_line = true
lines_after_imports = 2
Expand Down
3 changes: 0 additions & 3 deletions test_deps.txt

This file was deleted.

0 comments on commit 817b493

Please sign in to comment.