Unverified Commit 9828ab93 authored by Bruno BELANYI's avatar Bruno BELANYI Committed by GitHub
Browse files

semgrep: 1.145.0 -> 1.152.0 (#492489)

parents 442fa7f7 69fb0ee8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4457,6 +4457,12 @@
    githubId = 495429;
    name = "Claas Augner";
  };
  caverav = {
    email = "camilo@fvv.cl";
    github = "caverav";
    githubId = 66751764;
    name = "Camilo Vera Vidales";
  };
  cawilliamson = {
    email = "home@chrisaw.com";
    github = "cawilliamson";
+37 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  hatchling,
  opentelemetry-api,
  opentelemetry-instrumentation,
  opentelemetry-test-utils,
  pytestCheckHook,
  wrapt,
}:

buildPythonPackage {
  inherit (opentelemetry-instrumentation) version src;
  pname = "opentelemetry-instrumentation-threading";
  pyproject = true;

  sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-threading";

  build-system = [ hatchling ];

  dependencies = [
    opentelemetry-api
    opentelemetry-instrumentation
    wrapt
  ];

  nativeCheckInputs = [
    opentelemetry-test-utils
    pytestCheckHook
  ];

  pythonImportsCheck = [ "opentelemetry.instrumentation.threading" ];

  meta = opentelemetry-instrumentation.meta // {
    description = "Thread context propagation support for OpenTelemetry";
    homepage = "https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-threading";
  };
}
+9 −8
Original line number Diff line number Diff line
{ lib }:

rec {
  version = "1.145.0";
  version = "1.152.0";

  srcHash = "sha256-yeTToWfCchGHGsSx/Ly3FQmj7K8iW66qItYs0MVtJvo=";
  srcHash = "sha256-CwF9URo3nUfkIWP277y03Bq9P6FUC4CQLjuiYwCPR6M=";

  # submodule dependencies
  # these are fetched so we:
@@ -13,8 +13,8 @@ rec {
    "cli/src/semgrep/semgrep_interfaces" = {
      owner = "semgrep";
      repo = "semgrep-interfaces";
      rev = "e5da9678488bc24e0d5c27a4de71ad67d375cc58";
      hash = "sha256-9ilDZQmKYD2JN+CQ8VVyNyrjKYXttF+3KspRPHhuPF8=";
      rev = "76ce6450aba3422c297b35a16e38b9fd740fc860";
      hash = "sha256-hU76aICQEI7n4tWwZX2fRjgiVw811E4UDkfqQqxX8c0=";
    };
  };

@@ -25,19 +25,19 @@ rec {
  core = {
    x86_64-linux = {
      platform = "musllinux_1_0_x86_64.manylinux2014_x86_64";
      hash = "sha256-W6qWqGiuqOJcBAvTIbTCj4aMLMiAhabJ22lldu3cAR4=";
      hash = "sha256-XFZfCxvfCSAs2NxCCbmIU2uN0StNwEPSGaTmaHpYMPo=";
    };
    aarch64-linux = {
      platform = "musllinux_1_0_aarch64.manylinux2014_aarch64";
      hash = "sha256-WM2aq4PpYSNqB8PONJAqrYAzQNhIoK1MQvqoJri4S/Q=";
      hash = "sha256-XdmzHKizsxrls1Ry7pW40f4BRjA6HEayhDUXuxDHoWk=";
    };
    x86_64-darwin = {
      platform = "macosx_10_14_x86_64";
      hash = "sha256-cpE+GBOZnWsNKRTFzpAQCl+JaqPl0bgLvW4GFdwnMQc=";
      hash = "sha256-4ZVFhsN5VyDE/VTnzfellv2dHQIT2nCTKd/54UBRPw0=";
    };
    aarch64-darwin = {
      platform = "macosx_11_0_arm64";
      hash = "sha256-FAjHtlrGLOGxE7c0/Qd+SpX6NTIh09zDbVAbxQHCDKc=";
      hash = "sha256-rEK6kAEKdwIOcmdMhyjTn5MIXbEwLPqrZV3pg3cQINk=";
    };
  };

@@ -57,6 +57,7 @@ rec {
    maintainers = with lib.maintainers; [
      jk
      ambroisie
      caverav
    ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
  opentelemetry-api,
  opentelemetry-exporter-otlp-proto-http,
  opentelemetry-instrumentation-requests,
  opentelemetry-instrumentation-threading,
  opentelemetry-sdk,
  mcp,
  packaging,
@@ -32,6 +33,7 @@
  requests,
  rich,
  ruamel-yaml,
  semantic-version,
  tomli,
  tqdm,
  types-freezegun,
@@ -94,6 +96,7 @@ buildPythonPackage rec {
    requests
    rich
    ruamel-yaml
    semantic-version
    tqdm
    packaging
    jsonschema
@@ -109,6 +112,7 @@ buildPythonPackage rec {
    opentelemetry-sdk
    opentelemetry-exporter-otlp-proto-http
    opentelemetry-instrumentation-requests
    opentelemetry-instrumentation-threading
  ];

  doCheck = true;
+4 −0
Original line number Diff line number Diff line
@@ -11658,6 +11658,10 @@ self: super: with self; {
    callPackage ../development/python-modules/opentelemetry-instrumentation-sqlalchemy
      { };
  opentelemetry-instrumentation-threading =
    callPackage ../development/python-modules/opentelemetry-instrumentation-threading
      { };
  opentelemetry-instrumentation-urllib3 =
    callPackage ../development/python-modules/opentelemetry-instrumentation-urllib3
      { };