omnata-plugin-runtime 0.9.7a221__tar.gz → 0.10.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.
@@ -1,14 +1,15 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.9.7a221
3
+ Version: 0.10.0
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
7
- Requires-Python: >=3.8,<3.11
7
+ Requires-Python: >=3.8,<=3.11
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.8
10
10
  Classifier: Programming Language :: Python :: 3.9
11
11
  Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
12
13
  Requires-Dist: annotated-types (<=0.6.0)
13
14
  Requires-Dist: certifi (<=2024.8.30)
14
15
  Requires-Dist: cffi (<=1.16.0)
@@ -18,10 +19,10 @@ Requires-Dist: filelock (<=3.13.1)
18
19
  Requires-Dist: idna (<=3.7)
19
20
  Requires-Dist: jinja2 (>=3.1.2,<=3.1.4)
20
21
  Requires-Dist: markupsafe (<=2.1.3)
21
- Requires-Dist: numpy (<1.27.0)
22
+ Requires-Dist: numpy (<=2.1.3)
22
23
  Requires-Dist: opentelemetry-api (<=1.23.0)
23
24
  Requires-Dist: packaging (<=24.1)
24
- Requires-Dist: pandas (<=2.2.2)
25
+ Requires-Dist: pandas (<=2.2.3)
25
26
  Requires-Dist: platformdirs (<=3.10.0)
26
27
  Requires-Dist: protobuf (<=4.25.3)
27
28
  Requires-Dist: pyarrow (<=16.1.0)
@@ -1,13 +1,13 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.9.7-a221"
3
+ version = "0.10.0"
4
4
  description = "Classes and common runtime components for building and running Omnata Plugins"
5
5
  authors = ["James Weakley <james.weakley@omnata.com>"]
6
6
  readme = "README.md"
7
7
  packages = [{include = "omnata_plugin_runtime", from = "src"}]
8
8
 
9
9
  [tool.poetry.dependencies]
10
- python = ">=3.8, <3.11"
10
+ python = ">=3.8, <=3.11"
11
11
  snowflake-snowpark-python = ">=1.20.0,<=1.24.0" # latest version available on Snowflake Anaconda, but allow pinning to 1.20.0 for to_pandas_batches workaround
12
12
  snowflake-connector-python = "^3, <=3.12.0" # latest version available on Snowflake Anaconda
13
13
  cryptography = "<=43.0.0"
@@ -21,9 +21,9 @@ charset-normalizer = "<=3.3.2" # latest version available on Snowflake Anaconda
21
21
  idna = "<=3.7" # latest version available on Snowflake Anaconda
22
22
  jinja2 = ">=3.1.2,<=3.1.4" # 3.1.4 was latest version available on Snowflake Anaconda
23
23
  markupsafe = "<=2.1.3" # latest version available on Snowflake Anaconda
24
- numpy = "<1.27.0" # To match compatibility with snowflake-connector-python
24
+ numpy = "<=2.1.3" # latest version available on Snowflake Anaconda
25
25
  packaging = "<=24.1" # latest version available on Snowflake Anaconda
26
- pandas = "<=2.2.2" # latest version available on Snowflake Anaconda
26
+ pandas = "<=2.2.3" # latest version available on Snowflake Anaconda
27
27
  platformdirs = "<=3.10.0" # latest version available on Snowflake Anaconda
28
28
  pydantic = "^2, <=2.8.2" # latest version available on Snowflake Anaconda
29
29
  pyjwt = "<=2.8.0" # latest version available on Snowflake Anaconda
@@ -1315,9 +1315,10 @@ class InboundSyncRequest(SyncRequest):
1315
1315
  for datetime_property in datetime_properties:
1316
1316
  try:
1317
1317
  if datetime_property in data and data[datetime_property] is not None:
1318
+ contains_forward_slash = "/" in data[datetime_property]
1318
1319
  data[datetime_property] = parse(
1319
1320
  data[datetime_property],
1320
- dayfirst=True # no self respecting API should be using US date formats
1321
+ dayfirst=contains_forward_slash # no self respecting API should be using US date formats
1321
1322
  ).isoformat()
1322
1323
  except Exception as exception2:
1323
1324
  logger.debug(