port-ocean 0.12.4__py3-none-any.whl → 0.12.6__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.

@@ -43,9 +43,13 @@ def get_integration_ocean_app(
43
43
 
44
44
 
45
45
  def get_integation_resource_configs(integration_path: str) -> List[ResourceConfig]:
46
- with open(
47
- f"{integration_path}/.port/resources/port-app-config.yml"
48
- ) as port_app_config_file:
46
+ config_file_path = f"{integration_path}/.port/resources/port-app-config."
47
+ if not Path(f"{config_file_path}yml").exists():
48
+ config_file_path = f"{config_file_path}yaml"
49
+ else:
50
+ config_file_path = f"{config_file_path}yml"
51
+
52
+ with open(config_file_path) as port_app_config_file:
49
53
  resource_configs = safe_load(port_app_config_file)
50
54
 
51
55
  return [ResourceConfig(**item) for item in resource_configs["resources"]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.12.4
3
+ Version: 0.12.6
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
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
19
20
  Classifier: Topic :: Software Development :: Libraries
20
21
  Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
21
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -62,13 +63,13 @@ empowering engineers to effortlessly prioritize key features and streamline the
62
63
  In order to install the Ocean Framework, run the following command:
63
64
 
64
65
  ```bash
65
- pip install port-ocean[cli]
66
+ pip install "port-ocean[cli]"
66
67
  ```
67
68
 
68
69
  Or
69
70
 
70
71
  ```bash
71
- poetry add port-ocean[cli]
72
+ poetry add "port-ocean[cli]"
72
73
  ```
73
74
 
74
75
  ## Run Integration
@@ -126,7 +126,7 @@ port_ocean/tests/core/handlers/entity_processor/test_jq_entity_processor.py,sha2
126
126
  port_ocean/tests/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
127
  port_ocean/tests/helpers/fixtures.py,sha256=IQEplbHhRgjrAsZlnXrgSYA5YQEn25I9HgO3_Fjibxg,1481
128
128
  port_ocean/tests/helpers/integration.py,sha256=_RxS-RHpu11lrbhUXYPZp862HLWx8AoD7iZM6iXN8rs,1104
129
- port_ocean/tests/helpers/ocean_app.py,sha256=NYDno5RKBcjSVJUmnmHZVmRDcGmFRoyoBxKt2ls699w,1858
129
+ port_ocean/tests/helpers/ocean_app.py,sha256=CiVADdvUM_PpxQAfvB0ysn2e5lGKGDPNJiNyyLdKjTs,2049
130
130
  port_ocean/tests/helpers/port_client.py,sha256=5d6GNr8vNNSOkrz1AdOhxBUKuusr_-UPDP7AVpHasQw,599
131
131
  port_ocean/tests/helpers/smoke_test.py,sha256=_9aJJFRfuGJEg2D2YQJVJRmpreS6gEPHHQq8Q01x4aQ,2697
132
132
  port_ocean/tests/test_smoke.py,sha256=uix2uIg_yOm8BHDgHw2hTFPy1fiIyxBGW3ENU_KoFlo,2557
@@ -141,8 +141,8 @@ port_ocean/utils/repeat.py,sha256=0EFWM9d8lLXAhZmAyczY20LAnijw6UbIECf5lpGbOas,32
141
141
  port_ocean/utils/signal.py,sha256=K-6kKFQTltcmKDhtyZAcn0IMa3sUpOHGOAUdWKgx0_E,1369
142
142
  port_ocean/utils/time.py,sha256=pufAOH5ZQI7gXvOvJoQXZXZJV-Dqktoj9Qp9eiRwmJ4,1939
143
143
  port_ocean/version.py,sha256=UsuJdvdQlazzKGD3Hd5-U7N69STh8Dq9ggJzQFnu9fU,177
144
- port_ocean-0.12.4.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
145
- port_ocean-0.12.4.dist-info/METADATA,sha256=sguRwwu52e3UgwQimCYFM3jiqEscIToBDFefaIdiWgs,6614
146
- port_ocean-0.12.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
147
- port_ocean-0.12.4.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
148
- port_ocean-0.12.4.dist-info/RECORD,,
144
+ port_ocean-0.12.6.dist-info/LICENSE.md,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
145
+ port_ocean-0.12.6.dist-info/METADATA,sha256=mZ7QU_53BDjJdqE587s5RNedv8KNmNk9Goy34WKdi6w,6669
146
+ port_ocean-0.12.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
147
+ port_ocean-0.12.6.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
148
+ port_ocean-0.12.6.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any