port-ocean 0.21.2__py3-none-any.whl → 0.21.4__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 port-ocean might be problematic. Click here for more details.

@@ -6,7 +6,7 @@ FROM ${BASE_BUILDER_PYTHON_IMAGE} AS base
6
6
  ARG BUILD_CONTEXT
7
7
  ARG BUILDPLATFORM
8
8
 
9
- ENV LIBRDKAFKA_VERSION=1.9.2 \
9
+ ENV LIBRDKAFKA_VERSION=2.8.2 \
10
10
  PYTHONUNBUFFERED=1 \
11
11
  POETRY_VIRTUALENVS_IN_PROJECT=1 \
12
12
  PIP_ROOT_USER_ACTION=ignore
@@ -22,7 +22,7 @@ FROM ${BASE_RUNNER_PYTHON_IMAGE} AS prod
22
22
  ARG INTEGRATION_VERSION
23
23
  ARG BUILD_CONTEXT
24
24
 
25
- ENV LIBRDKAFKA_VERSION=1.9.2
25
+ ENV LIBRDKAFKA_VERSION=2.8.2
26
26
 
27
27
  RUN apt-get update \
28
28
  && apt-get install -y \
@@ -5,7 +5,7 @@ FROM ${BASE_PYTHON_IMAGE} AS base
5
5
  ARG BUILD_CONTEXT
6
6
  ARG BUILDPLATFORM
7
7
 
8
- ENV LIBRDKAFKA_VERSION=1.9.2 \
8
+ ENV LIBRDKAFKA_VERSION=2.8.2 \
9
9
  PYTHONUNBUFFERED=1 \
10
10
  PIP_DISABLE_PIP_VERSION_CHECK=on \
11
11
  POETRY_NO_INTERACTION=1 \
@@ -66,7 +66,7 @@ FROM ${BASE_PYTHON_IMAGE} AS prod
66
66
  ARG INTEGRATION_VERSION
67
67
  ARG BUILD_CONTEXT
68
68
 
69
- ENV LIBRDKAFKA_VERSION=1.9.2
69
+ ENV LIBRDKAFKA_VERSION=2.8.2
70
70
 
71
71
  LABEL INTEGRATION_VERSION=${INTEGRATION_VERSION}
72
72
  # Used to ensure that new integrations will be public, see https://docs.github.com/en/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility
@@ -4,7 +4,7 @@ FROM ${BASE_PYTHON_IMAGE}
4
4
 
5
5
  LABEL org.opencontainers.image.source=https://github.com/port-labs/ocean
6
6
 
7
- ENV LIBRDKAFKA_VERSION=1.9.2 \
7
+ ENV LIBRDKAFKA_VERSION=2.8.2 \
8
8
  PYTHONUNBUFFERED=1 \
9
9
  POETRY_VIRTUALENVS_IN_PROJECT=1 \
10
10
  PIP_ROOT_USER_ACTION=ignore
@@ -4,7 +4,7 @@ FROM ${BASE_PYTHON_IMAGE}
4
4
 
5
5
  LABEL org.opencontainers.image.source=https://github.com/port-labs/ocean
6
6
 
7
- ENV LIBRDKAFKA_VERSION=1.9.2
7
+ ENV LIBRDKAFKA_VERSION=2.8.2
8
8
 
9
9
  ENV PIP_ROOT_USER_ACTION=ignore
10
10
 
@@ -167,6 +167,10 @@ class SyncRawMixin(HandlerMixin, EventsMixin):
167
167
  if entities[0].is_using_search_identifier or entities[0].is_using_search_relation:
168
168
  return entities
169
169
 
170
+ MIN_ENTITIES_TO_MAP = 10
171
+ if len(entities) <= MIN_ENTITIES_TO_MAP:
172
+ return entities
173
+
170
174
  BATCH_SIZE = 50
171
175
  entities_at_port_with_properties = []
172
176
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.21.2
3
+ Version: 0.21.4
4
4
  Summary: Port Ocean is a CLI tool for managing your Port projects.
5
5
  Home-page: https://app.getport.io
6
6
  Keywords: ocean,port-ocean,port
@@ -24,7 +24,7 @@ Classifier: Topic :: Utilities
24
24
  Provides-Extra: cli
25
25
  Requires-Dist: aiostream (>=0.5.2,<0.7.0)
26
26
  Requires-Dist: click (>=8.1.3,<9.0.0) ; extra == "cli"
27
- Requires-Dist: confluent-kafka (>=2.1.1,<3.0.0)
27
+ Requires-Dist: confluent-kafka (>=2.8.2,<3.0.0)
28
28
  Requires-Dist: cookiecutter (>=2.1.1,<3.0.0) ; extra == "cli"
29
29
  Requires-Dist: fastapi (>=0.115.3,<0.116.0)
30
30
  Requires-Dist: httpx (>=0.24.1,<0.28.0)
@@ -1,7 +1,7 @@
1
- integrations/_infra/Dockerfile.Deb,sha256=iEyen_5YTa0syesJWS7NKuE-Oo4rM34Wwgjq9JzEjdA,1519
2
- integrations/_infra/Dockerfile.alpine,sha256=iauglyEzz5uEPBxsN-9SLFr6qca3Tf4b0DPXKFFeKq4,3482
3
- integrations/_infra/Dockerfile.base.builder,sha256=LwKLfJvQfKksMqacAT_aDQxFMC2Ty5fFKIa0Eu4QcCc,619
4
- integrations/_infra/Dockerfile.base.runner,sha256=dsjTWgLQFm4x5gcm-IPhwkDv-M6VRKwdf-qct457h2c,357
1
+ integrations/_infra/Dockerfile.Deb,sha256=ruQRZwWN5qrJCecgA-rZklX1zXO8OAS78SjAqMv6dLg,1519
2
+ integrations/_infra/Dockerfile.alpine,sha256=7E4Sb-8supsCcseerHwTkuzjHZoYcaHIyxiBZ-wewo0,3482
3
+ integrations/_infra/Dockerfile.base.builder,sha256=Ogp_fodUE-lD-HgcfcFJd7pr520LPoEU9GCNk6HQBxk,619
4
+ integrations/_infra/Dockerfile.base.runner,sha256=T7Tis9EjmcOl2jUXPMSENbRXMqwoHnnFPhgRmfEMO5Y,357
5
5
  integrations/_infra/Dockerfile.dockerignore,sha256=CM1Fxt3I2AvSvObuUZRmy5BNLSGC7ylnbpWzFgD4cso,1163
6
6
  integrations/_infra/Makefile,sha256=NWX1QLd429KyCzvwNwpkWtSm5QTVarnh5SYO822-ea4,2360
7
7
  integrations/_infra/grpcio.sh,sha256=m924poYznoRZ6Tt7Ct8Cs5AV_cmmOx598yIZ3z4DvZE,616
@@ -113,7 +113,7 @@ port_ocean/core/integrations/mixins/events.py,sha256=2L7P3Jhp8XBqddh2_o9Cn4N261n
113
113
  port_ocean/core/integrations/mixins/handler.py,sha256=mZ7-0UlG3LcrwJttFbMe-R4xcOU2H_g33tZar7PwTv8,3771
114
114
  port_ocean/core/integrations/mixins/live_events.py,sha256=8HklZmlyffYY_LeDe8xbt3Tb08rlLkqVhFF-2NQeJP4,4126
115
115
  port_ocean/core/integrations/mixins/sync.py,sha256=GHiFbnw0XrBfl7aCTH_w67f_N7EZbcUgssc-0fPujNU,4047
116
- port_ocean/core/integrations/mixins/sync_raw.py,sha256=RzIQ7fawAeRR8g-ocZ_ChAE6PhZjcTHCq4iMd0T0y3Q,25316
116
+ port_ocean/core/integrations/mixins/sync_raw.py,sha256=jKbdDEypGJ86uc579anrPLBa_dETQlphi3gvpu9917U,25427
117
117
  port_ocean/core/integrations/mixins/utils.py,sha256=oN4Okz6xlaefpid1_Pud8HPSw9BwwjRohyNsknq-Myg,2309
118
118
  port_ocean/core/models.py,sha256=FvTp-BlpbvLbMbngE0wsiimsCfmIhUR1PvsE__Z--1I,2206
119
119
  port_ocean/core/ocean_types.py,sha256=onwYMsvdd2_9QmZ7qU6h-t2uF_PTIivpEro0ahevhdw,1354
@@ -184,8 +184,8 @@ port_ocean/utils/repeat.py,sha256=U2OeCkHPWXmRTVoPV-VcJRlQhcYqPWI5NfmPlb1JIbc,32
184
184
  port_ocean/utils/signal.py,sha256=mMVq-1Ab5YpNiqN4PkiyTGlV_G0wkUDMMjTZp5z3pb0,1514
185
185
  port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
186
186
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
187
- port_ocean-0.21.2.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
188
- port_ocean-0.21.2.dist-info/METADATA,sha256=6FB0sKA5xEJ07ZXUdHqDcU4Ml5mtjxDuUU1jQZwcWlQ,6669
189
- port_ocean-0.21.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
190
- port_ocean-0.21.2.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
191
- port_ocean-0.21.2.dist-info/RECORD,,
187
+ port_ocean-0.21.4.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
188
+ port_ocean-0.21.4.dist-info/METADATA,sha256=GIaVuVYZJcRtSp9yt6GXfEHrRdluXyIwTpaIbnPgKyM,6669
189
+ port_ocean-0.21.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
190
+ port_ocean-0.21.4.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
191
+ port_ocean-0.21.4.dist-info/RECORD,,