weave-python 0.50.0__tar.gz → 0.51.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. {weave_python-0.50.0 → weave_python-0.51.0}/.github/workflows/generate.yaml +31 -24
  2. weave_python-0.51.0/.github/workflows/gh-actions-lint.yaml +16 -0
  3. {weave_python-0.50.0 → weave_python-0.51.0}/.github/workflows/release.yaml +7 -5
  4. {weave_python-0.50.0 → weave_python-0.51.0}/PKG-INFO +1 -1
  5. weave_python-0.51.0/weave/weaveapi/gateway/v1/gateway_pb2.py +656 -0
  6. weave_python-0.50.0/weave/weaveapi/inference/v1/inference_pb2.pyi → weave_python-0.51.0/weave/weaveapi/gateway/v1/gateway_pb2.pyi +234 -199
  7. weave_python-0.51.0/weave/weaveapi/gateway/v1/service_pb2.py +118 -0
  8. {weave_python-0.50.0/weave/weaveapi/inference → weave_python-0.51.0/weave/weaveapi/gateway}/v1/service_pb2_grpc.py +111 -111
  9. {weave_python-0.50.0/weave/weaveapi/inference → weave_python-0.51.0/weave/weaveapi/gateway}/v1/service_pb2_grpc.pyi +84 -91
  10. weave_python-0.50.0/weave/weaveapi/inference/v1/inference_pb2.py +0 -669
  11. weave_python-0.50.0/weave/weaveapi/inference/v1/service_pb2.py +0 -120
  12. {weave_python-0.50.0 → weave_python-0.51.0}/.github/runs-on.yml +0 -0
  13. {weave_python-0.50.0 → weave_python-0.51.0}/.github/workflows/format-lint.yaml +0 -0
  14. {weave_python-0.50.0 → weave_python-0.51.0}/.gitignore +0 -0
  15. {weave_python-0.50.0 → weave_python-0.51.0}/.python-version +0 -0
  16. {weave_python-0.50.0 → weave_python-0.51.0}/LICENSE +0 -0
  17. {weave_python-0.50.0 → weave_python-0.51.0}/README.md +0 -0
  18. {weave_python-0.50.0 → weave_python-0.51.0}/Taskfile.yaml +0 -0
  19. {weave_python-0.50.0 → weave_python-0.51.0}/buf.gen.yaml +0 -0
  20. {weave_python-0.50.0 → weave_python-0.51.0}/pyproject.toml +0 -0
  21. {weave_python-0.50.0 → weave_python-0.51.0}/renovate.json +0 -0
  22. {weave_python-0.50.0 → weave_python-0.51.0}/tools/sqlcgen/README.md +0 -0
  23. {weave_python-0.50.0 → weave_python-0.51.0}/tools/sqlcgen/sqlcgen.py +0 -0
  24. {weave_python-0.50.0 → weave_python-0.51.0}/tools/sqlcgen/test_sqlcgen.py +0 -0
  25. {weave_python-0.50.0 → weave_python-0.51.0}/uv.lock +0 -0
  26. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/event_pb2.py +0 -0
  27. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/event_pb2.pyi +0 -0
  28. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/event_pb2_grpc.py +0 -0
  29. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/event_pb2_grpc.pyi +0 -0
  30. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/message_pb2.py +0 -0
  31. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/message_pb2.pyi +0 -0
  32. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/message_pb2_grpc.py +0 -0
  33. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/message_pb2_grpc.pyi +0 -0
  34. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/process_pb2.py +0 -0
  35. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/process_pb2.pyi +0 -0
  36. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/process_pb2_grpc.py +0 -0
  37. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/process_pb2_grpc.pyi +0 -0
  38. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/run_pb2.py +0 -0
  39. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/run_pb2.pyi +0 -0
  40. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/run_pb2_grpc.py +0 -0
  41. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/run_pb2_grpc.pyi +0 -0
  42. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/service_pb2.py +0 -0
  43. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/service_pb2.pyi +0 -0
  44. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/service_pb2_grpc.py +0 -0
  45. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/atc/v1/service_pb2_grpc.pyi +0 -0
  46. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/auth_pb2.py +0 -0
  47. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/auth_pb2.pyi +0 -0
  48. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/auth_pb2_grpc.py +0 -0
  49. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/auth_pb2_grpc.pyi +0 -0
  50. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/service_pb2.py +0 -0
  51. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/service_pb2.pyi +0 -0
  52. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/service_pb2_grpc.py +0 -0
  53. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/auth/v1/service_pb2_grpc.pyi +0 -0
  54. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/chat_pb2.py +0 -0
  55. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/chat_pb2.pyi +0 -0
  56. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/chat_pb2_grpc.py +0 -0
  57. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/chat_pb2_grpc.pyi +0 -0
  58. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/service_pb2.py +0 -0
  59. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/service_pb2.pyi +0 -0
  60. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/service_pb2_grpc.py +0 -0
  61. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/chat/v1/service_pb2_grpc.pyi +0 -0
  62. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/consolidation_pb2.py +0 -0
  63. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/consolidation_pb2.pyi +0 -0
  64. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/consolidation_pb2_grpc.py +0 -0
  65. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/consolidation_pb2_grpc.pyi +0 -0
  66. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/service_pb2.py +0 -0
  67. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/service_pb2.pyi +0 -0
  68. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/service_pb2_grpc.py +0 -0
  69. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/consolidation/v1/service_pb2_grpc.pyi +0 -0
  70. /weave_python-0.50.0/weave/weaveapi/inference/v1/inference_pb2_grpc.py → /weave_python-0.51.0/weave/weaveapi/gateway/v1/gateway_pb2_grpc.py +0 -0
  71. /weave_python-0.50.0/weave/weaveapi/inference/v1/inference_pb2_grpc.pyi → /weave_python-0.51.0/weave/weaveapi/gateway/v1/gateway_pb2_grpc.pyi +0 -0
  72. {weave_python-0.50.0/weave/weaveapi/inference → weave_python-0.51.0/weave/weaveapi/gateway}/v1/service_pb2.pyi +0 -0
  73. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/ingestion_pb2.py +0 -0
  74. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/ingestion_pb2.pyi +0 -0
  75. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/ingestion_pb2_grpc.py +0 -0
  76. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/ingestion_pb2_grpc.pyi +0 -0
  77. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/service_pb2.py +0 -0
  78. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/service_pb2.pyi +0 -0
  79. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/service_pb2_grpc.py +0 -0
  80. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/ingestion/v1/service_pb2_grpc.pyi +0 -0
  81. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/model_pb2.py +0 -0
  82. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/model_pb2.pyi +0 -0
  83. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/model_pb2_grpc.py +0 -0
  84. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/model_pb2_grpc.pyi +0 -0
  85. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/service_pb2.py +0 -0
  86. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/service_pb2.pyi +0 -0
  87. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/service_pb2_grpc.py +0 -0
  88. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/model/v1/service_pb2_grpc.pyi +0 -0
  89. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/organization_pb2.py +0 -0
  90. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/organization_pb2.pyi +0 -0
  91. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/organization_pb2_grpc.py +0 -0
  92. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/organization_pb2_grpc.pyi +0 -0
  93. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/service_pb2.py +0 -0
  94. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/service_pb2.pyi +0 -0
  95. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/service_pb2_grpc.py +0 -0
  96. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/organization/v1/service_pb2_grpc.pyi +0 -0
  97. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/project_pb2.py +0 -0
  98. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/project_pb2.pyi +0 -0
  99. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/project_pb2_grpc.py +0 -0
  100. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/project_pb2_grpc.pyi +0 -0
  101. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/service_pb2.py +0 -0
  102. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/service_pb2.pyi +0 -0
  103. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/service_pb2_grpc.py +0 -0
  104. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/project/v1/service_pb2_grpc.pyi +0 -0
  105. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/provider_pb2.py +0 -0
  106. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/provider_pb2.pyi +0 -0
  107. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/provider_pb2_grpc.py +0 -0
  108. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/provider_pb2_grpc.pyi +0 -0
  109. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/service_pb2.py +0 -0
  110. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/service_pb2.pyi +0 -0
  111. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/service_pb2_grpc.py +0 -0
  112. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/provider/v1/service_pb2_grpc.pyi +0 -0
  113. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/retrieval_pb2.py +0 -0
  114. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/retrieval_pb2.pyi +0 -0
  115. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/retrieval_pb2_grpc.py +0 -0
  116. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/retrieval_pb2_grpc.pyi +0 -0
  117. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/service_pb2.py +0 -0
  118. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/service_pb2.pyi +0 -0
  119. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/service_pb2_grpc.py +0 -0
  120. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/retrieval/v1/service_pb2_grpc.pyi +0 -0
  121. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/service_pb2.py +0 -0
  122. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/service_pb2.pyi +0 -0
  123. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/service_pb2_grpc.py +0 -0
  124. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/service_pb2_grpc.pyi +0 -0
  125. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/task_pb2.py +0 -0
  126. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/task_pb2.pyi +0 -0
  127. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/task_pb2_grpc.py +0 -0
  128. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weaveapi/task/v1/task_pb2_grpc.pyi +0 -0
  129. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/event.py +0 -0
  130. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/inspection.py +0 -0
  131. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/mailbox.py +0 -0
  132. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/models.py +0 -0
  133. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/run_template.py +0 -0
  134. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/snapshot.py +0 -0
  135. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/atcdb/team.py +0 -0
  136. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/auth_identity.py +0 -0
  137. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/chat.py +0 -0
  138. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/consolidation.py +0 -0
  139. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/document_security.py +0 -0
  140. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/ingestion.py +0 -0
  141. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/model_catalog.py +0 -0
  142. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/models.py +0 -0
  143. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/organization.py +0 -0
  144. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/project.py +0 -0
  145. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/provider.py +0 -0
  146. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/retrieval.py +0 -0
  147. {weave_python-0.50.0 → weave_python-0.51.0}/weave/weavesql/weavedb/task.py +0 -0
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: runs-on=${{ github.run_id }}/runner=linux-default
16
16
  steps:
17
17
  - name: Configure RunsOn features
18
- uses: runs-on/action@v2
18
+ uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2
19
19
 
20
20
  - id: stitch_auth
21
21
  uses: weave-labs/ci/.github/actions/stitch-auth@main
@@ -23,7 +23,7 @@ jobs:
23
23
  client-id: ${{ vars.STITCH_CLIENT_ID }}
24
24
  private-key: ${{ secrets.STITCH_PRIVATE_KEY }}
25
25
 
26
- - uses: actions/checkout@v6
26
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
27
27
  with:
28
28
  persist-credentials: 'false'
29
29
 
@@ -31,12 +31,16 @@ jobs:
31
31
  id: mode
32
32
  run: |
33
33
  if [[ "${{ github.event.action }}" == "schema-branch-update" ]]; then
34
- echo "is_branch=true" >> "$GITHUB_OUTPUT"
35
- echo "branch=${{ github.event.client_payload.branch }}" >> "$GITHUB_OUTPUT"
36
- echo "ref=${{ github.event.client_payload.ref }}" >> "$GITHUB_OUTPUT"
34
+ {
35
+ echo "is_branch=true"
36
+ echo "branch=${{ github.event.client_payload.branch }}"
37
+ echo "ref=${{ github.event.client_payload.ref }}"
38
+ } >> "$GITHUB_OUTPUT"
37
39
  else
38
- echo "is_branch=false" >> "$GITHUB_OUTPUT"
39
- echo "ref=${{ github.event.client_payload.ref }}" >> "$GITHUB_OUTPUT"
40
+ {
41
+ echo "is_branch=false"
42
+ echo "ref=${{ github.event.client_payload.ref }}"
43
+ } >> "$GITHUB_OUTPUT"
40
44
  fi
41
45
 
42
46
  - name: Setup feature branch
@@ -46,7 +50,7 @@ jobs:
46
50
  git checkout -B "${{ steps.mode.outputs.branch }}"
47
51
 
48
52
  - name: Checkout schema
49
- uses: actions/checkout@v6
53
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
50
54
  with:
51
55
  path: schema
52
56
  persist-credentials: 'false'
@@ -55,20 +59,20 @@ jobs:
55
59
  token: ${{ steps.stitch_auth.outputs.token }}
56
60
 
57
61
  - name: Setup sqlc
58
- uses: sqlc-dev/setup-sqlc@v5
62
+ uses: sqlc-dev/setup-sqlc@bac53b7fb28c039a6c7f5736fd1e89744021bdd6 # v5
59
63
  with:
60
64
  sqlc-version: '1.30.0'
61
65
 
62
66
  - name: Checkout sqlc-gen-python fork branch
63
- uses: actions/checkout@v6
67
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
64
68
  with:
65
69
  path: sqlc-gen-python
66
70
  persist-credentials: 'false'
67
71
  repository: kellen-miller/sqlc-gen-python
68
- ref: fix/copyfrom-and-empty-generated-classes
72
+ ref: 48bee471ed5ed804772808885fff46ebd86eaeee
69
73
 
70
74
  - name: Setup Go
71
- uses: actions/setup-go@v6
75
+ uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
72
76
  with:
73
77
  go-version: "stable"
74
78
  cache: true
@@ -76,7 +80,7 @@ jobs:
76
80
 
77
81
  - name: Cache sqlc-gen-python wasm
78
82
  id: cache_sqlc_py_wasm
79
- uses: actions/cache@v5
83
+ uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
80
84
  with:
81
85
  path: sqlc-gen-python/bin/sqlc-gen-python.wasm
82
86
  key: sqlc-gen-python-kellen-${{ hashFiles('sqlc-gen-python/go.sum', 'sqlc-gen-python/**/*.go') }}
@@ -87,17 +91,17 @@ jobs:
87
91
  working-directory: sqlc-gen-python
88
92
 
89
93
  - name: Setup buf
90
- uses: bufbuild/buf-action@v1
94
+ uses: bufbuild/buf-action@fd21066df7214747548607aaa45548ba2b9bc1ff # v1
91
95
  with:
92
96
  setup_only: 'true'
93
97
 
94
98
  - name: Setup protoc
95
- uses: arduino/setup-protoc@v3
99
+ uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
96
100
  with:
97
101
  repo-token: ${{ secrets.GITHUB_TOKEN }}
98
102
 
99
103
  - name: Setup uv
100
- uses: astral-sh/setup-uv@v8.1.0
104
+ uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
101
105
  with:
102
106
  cache-dependency-glob: "uv.lock"
103
107
  enable-cache: true
@@ -105,10 +109,13 @@ jobs:
105
109
  - name: Create uv venv
106
110
  run: uv venv
107
111
 
108
- - name: Install mypy-protobuf plugins (main)
112
+ - name: Install mypy-protobuf plugins
113
+ env:
114
+ # renovate: datasource=github-tags depName=nipunn1313/mypy-protobuf versioning=semver
115
+ MYPY_PROTOBUF_VERSION: v5.1.0
109
116
  run: |
110
- uv pip install git+https://github.com/nipunn1313/mypy-protobuf.git@main
111
- echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
117
+ uv pip install "git+https://github.com/nipunn1313/mypy-protobuf.git@${MYPY_PROTOBUF_VERSION}"
118
+ echo "${{ github.workspace }}/.venv/bin" >> "$GITHUB_PATH"
112
119
 
113
120
  - name: Clear out gen previous api gen files
114
121
  uses: weave-labs/ci/.github/actions/clean-generated-output-dir@main
@@ -134,7 +141,7 @@ jobs:
134
141
  - name: Run uv sync
135
142
  run: uv sync
136
143
 
137
- - uses: astral-sh/ruff-action@v4.0.0
144
+ - uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0
138
145
  with:
139
146
  args: "--version"
140
147
  - run: ruff check --fix
@@ -143,18 +150,18 @@ jobs:
143
150
  - name: Check for changes
144
151
  id: check_changes
145
152
  run: |
146
- if [[ -z $(git status --porcelain) ]]; then
153
+ if [[ -z "$(git status --porcelain)" ]]; then
147
154
  echo "No changes detected"
148
- echo "has_changes=false" >> $GITHUB_OUTPUT
155
+ echo "has_changes=false" >> "$GITHUB_OUTPUT"
149
156
  else
150
157
  echo "Changes detected"
151
158
  git status
152
- echo "has_changes=true" >> $GITHUB_OUTPUT
159
+ echo "has_changes=true" >> "$GITHUB_OUTPUT"
153
160
  fi
154
161
 
155
162
  - name: Create Pull Request
156
163
  if: steps.mode.outputs.is_branch == 'false' && steps.check_changes.outputs.has_changes == 'true'
157
- uses: peter-evans/create-pull-request@v8
164
+ uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
158
165
  with:
159
166
  base: 'main'
160
167
  delete-branch: 'true'
@@ -0,0 +1,16 @@
1
+ name: GitHub Actions lint
2
+
3
+ on:
4
+ pull_request:
5
+ paths:
6
+ - ".github/**"
7
+ workflow_dispatch:
8
+
9
+ permissions:
10
+ contents: read
11
+ checks: write
12
+ pull-requests: read
13
+
14
+ jobs:
15
+ gh-actions-lint:
16
+ uses: weave-labs/ci/.github/workflows/gh-actions-lint.yaml@main
@@ -10,8 +10,7 @@ on:
10
10
  - .python-version
11
11
 
12
12
  permissions:
13
- contents: write
14
- id-token: write
13
+ contents: read
15
14
  actions: read
16
15
 
17
16
  jobs:
@@ -34,16 +33,19 @@ jobs:
34
33
  environment:
35
34
  name: pypi
36
35
  url: https://pypi.org/p/weave-python
36
+ permissions:
37
+ contents: read
38
+ id-token: write
37
39
  steps:
38
40
  - name: Configure RunsOn features
39
- uses: runs-on/action@v2
41
+ uses: runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2
40
42
 
41
- - uses: actions/download-artifact@v8
43
+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
42
44
  with:
43
45
  name: dist
44
46
  path: dist/
45
47
 
46
48
  - name: Publish package distributions to PyPI
47
- uses: pypa/gh-action-pypi-publish@release/v1
49
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
48
50
  with:
49
51
  attestations: 'true'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: weave-python
3
- Version: 0.50.0
3
+ Version: 0.51.0
4
4
  Author: Weave Labs
5
5
  License: FCL-1.0-ALv2
6
6
  License-File: LICENSE