hatchet-sdk 0.45.1__py3-none-any.whl → 0.45.3b1__py3-none-any.whl

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.

Potentially problematic release.


This version of hatchet-sdk might be problematic. Click here for more details.

@@ -1,22 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
3
  # source: dispatcher.proto
5
- # Protobuf Python Version: 5.29.0
4
+ # Protobuf Python Version: 5.26.1
6
5
  """Generated protocol buffer code."""
7
6
  from google.protobuf import descriptor as _descriptor
8
7
  from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
8
  from google.protobuf import symbol_database as _symbol_database
11
9
  from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'dispatcher.proto'
19
- )
20
10
  # @@protoc_insertion_point(imports)
21
11
 
22
12
  _sym_db = _symbol_database.Default()
@@ -5,8 +5,10 @@ import warnings
5
5
 
6
6
  from . import dispatcher_pb2 as dispatcher__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.69.0'
8
+ GRPC_GENERATED_VERSION = '1.64.1'
9
9
  GRPC_VERSION = grpc.__version__
10
+ EXPECTED_ERROR_RELEASE = '1.65.0'
11
+ SCHEDULED_RELEASE_DATE = 'June 25, 2024'
10
12
  _version_not_supported = False
11
13
 
12
14
  try:
@@ -16,12 +18,15 @@ except ImportError:
16
18
  _version_not_supported = True
17
19
 
18
20
  if _version_not_supported:
19
- raise RuntimeError(
21
+ warnings.warn(
20
22
  f'The grpc package installed is at version {GRPC_VERSION},'
21
23
  + f' but the generated code in dispatcher_pb2_grpc.py depends on'
22
24
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
25
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
26
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
27
+ + f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
28
+ + f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
29
+ RuntimeWarning
25
30
  )
26
31
 
27
32
 
@@ -1,22 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
3
  # source: events.proto
5
- # Protobuf Python Version: 5.29.0
4
+ # Protobuf Python Version: 5.26.1
6
5
  """Generated protocol buffer code."""
7
6
  from google.protobuf import descriptor as _descriptor
8
7
  from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
8
  from google.protobuf import symbol_database as _symbol_database
11
9
  from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'events.proto'
19
- )
20
10
  # @@protoc_insertion_point(imports)
21
11
 
22
12
  _sym_db = _symbol_database.Default()
@@ -5,8 +5,10 @@ import warnings
5
5
 
6
6
  from . import events_pb2 as events__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.69.0'
8
+ GRPC_GENERATED_VERSION = '1.64.1'
9
9
  GRPC_VERSION = grpc.__version__
10
+ EXPECTED_ERROR_RELEASE = '1.65.0'
11
+ SCHEDULED_RELEASE_DATE = 'June 25, 2024'
10
12
  _version_not_supported = False
11
13
 
12
14
  try:
@@ -16,12 +18,15 @@ except ImportError:
16
18
  _version_not_supported = True
17
19
 
18
20
  if _version_not_supported:
19
- raise RuntimeError(
21
+ warnings.warn(
20
22
  f'The grpc package installed is at version {GRPC_VERSION},'
21
23
  + f' but the generated code in events_pb2_grpc.py depends on'
22
24
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
25
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
26
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
27
+ + f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
28
+ + f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
29
+ RuntimeWarning
25
30
  )
26
31
 
27
32
 
@@ -1,22 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
3
  # source: workflows.proto
5
- # Protobuf Python Version: 5.29.0
4
+ # Protobuf Python Version: 5.26.1
6
5
  """Generated protocol buffer code."""
7
6
  from google.protobuf import descriptor as _descriptor
8
7
  from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
8
  from google.protobuf import symbol_database as _symbol_database
11
9
  from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'workflows.proto'
19
- )
20
10
  # @@protoc_insertion_point(imports)
21
11
 
22
12
  _sym_db = _symbol_database.Default()
@@ -5,8 +5,10 @@ import warnings
5
5
 
6
6
  from . import workflows_pb2 as workflows__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.69.0'
8
+ GRPC_GENERATED_VERSION = '1.64.1'
9
9
  GRPC_VERSION = grpc.__version__
10
+ EXPECTED_ERROR_RELEASE = '1.65.0'
11
+ SCHEDULED_RELEASE_DATE = 'June 25, 2024'
10
12
  _version_not_supported = False
11
13
 
12
14
  try:
@@ -16,12 +18,15 @@ except ImportError:
16
18
  _version_not_supported = True
17
19
 
18
20
  if _version_not_supported:
19
- raise RuntimeError(
21
+ warnings.warn(
20
22
  f'The grpc package installed is at version {GRPC_VERSION},'
21
23
  + f' but the generated code in workflows_pb2_grpc.py depends on'
22
24
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
25
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
26
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
27
+ + f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
28
+ + f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
29
+ RuntimeWarning
25
30
  )
26
31
 
27
32
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hatchet-sdk
3
- Version: 0.45.1
3
+ Version: 0.45.3b1
4
4
  Summary:
5
5
  Author: Alexander Belanger
6
6
  Author-email: alexander@hatchet.run
@@ -20,10 +20,10 @@ Requires-Dist: grpcio-tools (>=1.69.0) ; python_version >= "3.13"
20
20
  Requires-Dist: loguru (>=0.7.2,<0.8.0)
21
21
  Requires-Dist: nest-asyncio (>=1.6.0,<2.0.0)
22
22
  Requires-Dist: opentelemetry-api (>=1.28.0,<2.0.0)
23
- Requires-Dist: opentelemetry-distro (>=0.49b0)
23
+ Requires-Dist: opentelemetry-distro (>=0.43b0)
24
24
  Requires-Dist: opentelemetry-exporter-otlp (>=1.28.0,<2.0.0)
25
25
  Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.28.0,<2.0.0)
26
- Requires-Dist: opentelemetry-instrumentation (>=0.49b0)
26
+ Requires-Dist: opentelemetry-instrumentation (>=0.43b0)
27
27
  Requires-Dist: opentelemetry-sdk (>=1.28.0,<2.0.0)
28
28
  Requires-Dist: prometheus-client (>=0.21.1,<0.22.0)
29
29
  Requires-Dist: protobuf (>=5.29.1,<6.0.0)
@@ -193,15 +193,15 @@ hatchet_sdk/connection.py,sha256=593aUGAj7Ouf00lcVwx_pmhdQ9NOC5ANT1Jrf8nwkHs,216
193
193
  hatchet_sdk/context/__init__.py,sha256=Pl_seJ_SJpW34BBZp4KixuZ8GiRK9sJFfegf9u3m7zk,29
194
194
  hatchet_sdk/context/context.py,sha256=sRAih-dBqxkmQUxgo_IpQP2YIJJinzJ2C09RP-EM94o,13910
195
195
  hatchet_sdk/context/worker_context.py,sha256=OVcEWvdT_Kpd0nlg61VAPUgIPSFzSLs0aSrXWj-1GX4,974
196
- hatchet_sdk/contracts/dispatcher_pb2.py,sha256=F3A0bg3bioUZQnW_BfjU4BXtpOfO1b3ShPHfz4zh3Ms,14651
196
+ hatchet_sdk/contracts/dispatcher_pb2.py,sha256=B35F3XQQkk05UA84nuZOIFtiydgPbB8gA5FhvNvSqb0,14414
197
197
  hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=JLtc615N9vNDRtQoUVynclPBbgIsRhbikcrT8b7Z-TM,18336
198
- hatchet_sdk/contracts/dispatcher_pb2_grpc.py,sha256=AXR6cR9UCg7escI3ZHqpqcEl0y8y1ir6KW1tzfXoKJs,24459
199
- hatchet_sdk/contracts/events_pb2.py,sha256=5I9pM650UAWZGsEYxWfJvDWvs2ku8S2A1Zc34y9lGlQ,4308
198
+ hatchet_sdk/contracts/dispatcher_pb2_grpc.py,sha256=OILBsc9YSSXKDQSTslILHLgJPJwf3BnsE1Wxv3eohG4,24695
199
+ hatchet_sdk/contracts/events_pb2.py,sha256=L5Cs1gPLn2ZqMu8bvdBwqxgx-JjhwNuOEw12D_lELSo,4075
200
200
  hatchet_sdk/contracts/events_pb2.pyi,sha256=eoHvNI5gY98ZfFleiynbtIz3SiW_X49ggMBOlOgAP74,4014
201
- hatchet_sdk/contracts/events_pb2_grpc.py,sha256=2ajmSPbydJe0fafX5SS-V0UrFORnd4NRjCBitMNox00,9980
202
- hatchet_sdk/contracts/workflows_pb2.py,sha256=iATZDnhFKbSJlA69ZFIUAXsqZCEzRAXztTx7kzhxz3o,11975
201
+ hatchet_sdk/contracts/events_pb2_grpc.py,sha256=10uCmWakLof4OGABM7ik6GFHvswvcU-j2QMNYam5gVo,10216
202
+ hatchet_sdk/contracts/workflows_pb2.py,sha256=9j6-YMrtgp2yxX-BePwyaqxuFhrI6OftoZSR53JPDWw,11739
203
203
  hatchet_sdk/contracts/workflows_pb2.pyi,sha256=2r5d4DWaR0kwY8jKSzcffTAMMlWrusRXCziE_03SFYc,15434
204
- hatchet_sdk/contracts/workflows_pb2_grpc.py,sha256=1cjXwOgecVJT3rWXwPKp92mjNux1O-0fxU5nXXcHwD8,10522
204
+ hatchet_sdk/contracts/workflows_pb2_grpc.py,sha256=-QFOoC_yl-eezjZ6k42tT1MALW6Z-_LRWqx_Pzz0eIg,10758
205
205
  hatchet_sdk/features/cron.py,sha256=4lKMH0MqiN8cHJk2jhF0Ueqs6z5ozwJzlOeSeaWqvO0,10217
206
206
  hatchet_sdk/features/scheduled.py,sha256=YhEbNWl8dWOH61rXVjAyu8iG1BZqpSkD4kgaxkKIHgY,9504
207
207
  hatchet_sdk/hatchet.py,sha256=L6O9cTeZtGqFUxO5H8knXKdiej0iAequ1Wl7vSNO9FY,10027
@@ -231,7 +231,7 @@ hatchet_sdk/worker/runner/utils/error_with_traceback.py,sha256=Iih_s8JNqrinXETFJ
231
231
  hatchet_sdk/worker/worker.py,sha256=7UPm3qTzNYSSm9QTNX6zBBMJqVA6nKFeCbAdqLLjUBs,13007
232
232
  hatchet_sdk/workflow.py,sha256=XRj5jcCQSvPQMXxBipf-ZlARua2E8Z9igRzGcQ5alkI,9375
233
233
  hatchet_sdk/workflow_run.py,sha256=BwK5cefvXXvyQ1Ednj_7LeejMwQJqWnvUC_FTBmJNxk,1805
234
- hatchet_sdk-0.45.1.dist-info/METADATA,sha256=Vj7sfnNCWiYV-qJGSqPwwrXBOX0rffAOp8SqUlU324g,1736
235
- hatchet_sdk-0.45.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
236
- hatchet_sdk-0.45.1.dist-info/entry_points.txt,sha256=LTtQRABmSGYOxRI68cUVEz5dp9Qb57eqXGic9lU8RMo,1023
237
- hatchet_sdk-0.45.1.dist-info/RECORD,,
234
+ hatchet_sdk-0.45.3b1.dist-info/METADATA,sha256=COTXG4f-yi2LhGRB-kpXaCxN_3LTCsGGqPT9_LtnaQk,1738
235
+ hatchet_sdk-0.45.3b1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
236
+ hatchet_sdk-0.45.3b1.dist-info/entry_points.txt,sha256=LTtQRABmSGYOxRI68cUVEz5dp9Qb57eqXGic9lU8RMo,1023
237
+ hatchet_sdk-0.45.3b1.dist-info/RECORD,,