openlineage-python 1.11.2__tar.gz → 1.12.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 (43) hide show
  1. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/PKG-INFO +2 -1
  2. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/constants.py +1 -1
  3. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/kafka.py +3 -3
  4. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/pyproject.toml +2 -1
  5. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/.gitignore +0 -0
  6. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/README.md +0 -0
  7. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/__init__.py +0 -0
  8. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/client.py +0 -0
  9. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/facet.py +0 -0
  10. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/filter.py +0 -0
  11. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/py.typed +0 -0
  12. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/run.py +0 -0
  13. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/serde.py +0 -0
  14. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/__init__.py +0 -0
  15. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/console.py +0 -0
  16. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/factory.py +0 -0
  17. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/file.py +0 -0
  18. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/http.py +0 -0
  19. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/msk_iam.py +0 -0
  20. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/noop.py +0 -0
  21. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/transport/transport.py +0 -0
  22. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/openlineage/client/utils.py +0 -0
  23. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/__init__.py +0 -0
  24. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/config/config.yml +0 -0
  25. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/config/exact_filter.yml +0 -0
  26. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/config/http.yml +0 -0
  27. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/config/openlineage.yml +0 -0
  28. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/config/regex_filter.yml +0 -0
  29. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/conftest.py +0 -0
  30. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/nominal_time_without_end.json +0 -0
  31. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/serde_example_dataset_event.json +0 -0
  32. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/serde_example_job_event.json +0 -0
  33. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/serde_example_run_event.json +0 -0
  34. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_client.py +0 -0
  35. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_events.py +0 -0
  36. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_facet.py +0 -0
  37. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_factory.py +0 -0
  38. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_file.py +0 -0
  39. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_http.py +0 -0
  40. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_kafka.py +0 -0
  41. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/test_msk_iam.py +0 -0
  42. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tests/transport.py +0 -0
  43. {openlineage_python-1.11.2 → openlineage_python-1.12.0}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: openlineage-python
3
- Version: 1.11.2
3
+ Version: 1.12.0
4
4
  Summary: OpenLineage Python Client
5
5
  Author-email: OpenLineage <info@openlineage.io>
6
6
  Keywords: openlineage
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Requires-Python: >=3.8
16
16
  Requires-Dist: attrs>=20.0
17
+ Requires-Dist: packaging>=21.0
17
18
  Requires-Dist: python-dateutil>=2.8.2
18
19
  Requires-Dist: pyyaml>=5.4
19
20
  Requires-Dist: requests>=2.20.0
@@ -2,7 +2,7 @@
2
2
  # SPDX-License-Identifier: Apache-2.0
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "1.11.2"
5
+ __version__ = "1.12.0"
6
6
 
7
7
  DEFAULT_TIMEOUT_MS = 5000
8
8
  DEFAULT_NAMESPACE_NAME = "default"
@@ -9,7 +9,7 @@ import attr
9
9
  from openlineage.client.serde import Serde
10
10
  from openlineage.client.transport.transport import Config, Transport
11
11
  from openlineage.client.utils import get_only_specified_fields
12
- from pkg_resources import parse_version
12
+ from packaging.version import Version
13
13
 
14
14
  if TYPE_CHECKING:
15
15
  from confluent_kafka import KafkaError, Message
@@ -103,8 +103,8 @@ def _check_if_airflow_sqlalchemy_context() -> bool:
103
103
  try:
104
104
  from airflow.version import version # type: ignore[import]
105
105
 
106
- parsed_version = parse_version(version)
107
- if parse_version("2.3.0") <= parsed_version < parse_version("2.6.0"):
106
+ parsed_version = Version(version)
107
+ if Version("2.3.0") <= parsed_version < Version("2.6.0"):
108
108
  return True
109
109
  except ImportError:
110
110
  pass # we want to leave it to false if airflow import fails
@@ -6,7 +6,7 @@ requires = [
6
6
 
7
7
  [project]
8
8
  name = "openlineage-python"
9
- version = "1.11.2"
9
+ version = "1.12.0"
10
10
  description = "OpenLineage Python Client"
11
11
  readme = "README.md"
12
12
  keywords = [
@@ -29,6 +29,7 @@ dependencies = [
29
29
  "python-dateutil>=2.8.2",
30
30
  "pyyaml>=5.4",
31
31
  "requests>=2.20.0",
32
+ "packaging>=21.0",
32
33
  ]
33
34
  optional-dependencies.kafka = [
34
35
  "confluent-kafka>=2.1.1",