airflow-priority 0.2.0__tar.gz → 0.2.2__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 (23) hide show
  1. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/PKG-INFO +1 -1
  2. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/__init__.py +1 -1
  3. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/aws.py +1 -1
  4. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/datadog.py +2 -2
  5. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/discord.py +1 -1
  6. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/newrelic.py +1 -1
  7. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/slack.py +1 -1
  8. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/symphony.py +1 -1
  9. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/pyproject.toml +2 -2
  10. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/.gitignore +0 -0
  11. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/LICENSE +0 -0
  12. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/README.md +0 -0
  13. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/common.py +0 -0
  14. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/plugins/__init__.py +0 -0
  15. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/airflow.cfg.jinja +0 -0
  16. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/conftest.py +0 -0
  17. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_airflow_config.py +0 -0
  18. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_common.py +0 -0
  19. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_datadog.py +0 -0
  20. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_discord.py +0 -0
  21. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_newrelic.py +0 -0
  22. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_slack.py +0 -0
  23. {airflow_priority-0.2.0 → airflow_priority-0.2.2}/airflow_priority/tests/test_symphony.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: airflow-priority
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Priority Tags for Airflow Dags
5
5
  Project-URL: Repository, https://github.com/airflow-laminar/airflow-priority
6
6
  Project-URL: Homepage, https://github.com/airflow-laminar/airflow-priority
@@ -1,3 +1,3 @@
1
- __version__ = "0.2.0"
1
+ __version__ = "0.2.2"
2
2
 
3
3
  from .common import *
@@ -81,4 +81,4 @@ try:
81
81
  get_config_option("aws", "region")
82
82
  AWSCloudWatchPriorityPlugin.listeners.append(sys.modules[__name__])
83
83
  except (ImportError, AirflowPriorityConfigurationOptionNotFound):
84
- _log.exception("Plugin could not be enabled")
84
+ _log.warning("aws cloudwatch plugin could not be enabled!")
@@ -91,7 +91,7 @@ def on_dag_run_failed(dag_run: DagRun, msg: str):
91
91
 
92
92
  class DatadogPriorityPlugin(AirflowPlugin):
93
93
  name = "DatadogPriorityPlugin"
94
- listeners = [sys.modules[__name__]]
94
+ listeners = []
95
95
 
96
96
 
97
97
  try:
@@ -101,4 +101,4 @@ try:
101
101
  get_config_option("datadog", "api_key")
102
102
  DatadogPriorityPlugin.listeners.append(sys.modules[__name__])
103
103
  except (ImportError, AirflowPriorityConfigurationOptionNotFound):
104
- _log.exception("Plugin could not be enabled")
104
+ _log.warning("datadog plugin could not be enabled! Ensure `datadog-api-client` is installed and all configuration options are set.")
@@ -82,4 +82,4 @@ try:
82
82
 
83
83
  DiscordPriorityPlugin.listeners.append(sys.modules[__name__])
84
84
  except (ImportError, AirflowPriorityConfigurationOptionNotFound):
85
- _log.exception("Plugin could not be enabled")
85
+ _log.warning("discord plugin could not be enabled! Ensure `discord.py` is installed and all configuration options are set.")
@@ -70,4 +70,4 @@ try:
70
70
  get_config_option("newrelic", "api_key")
71
71
  NewRelicPriorityPlugin.listeners.append(sys.modules[__name__])
72
72
  except (ImportError, AirflowPriorityConfigurationOptionNotFound):
73
- _log.exception("Plugin could not be enabled")
73
+ _log.warning("newrelic plugin could not be enabled! Ensure `newrelic-telemetry-sdk` is installed and all configuration options are set.")
@@ -72,4 +72,4 @@ try:
72
72
  get_config_option("slack", "channel")
73
73
  SlackPriorityPlugin.listeners.append(sys.modules[__name__])
74
74
  except (ImportError, AirflowPriorityConfigurationOptionNotFound):
75
- _log.exception("Plugin could not be enabled")
75
+ _log.warning("slack plugin could not be enabled! Ensure `slack-sdk` is installed and all configuration options are set.")
@@ -115,4 +115,4 @@ try:
115
115
  get_config_options()
116
116
  SymphonyPriorityPlugin.listeners.append(sys.modules[__name__])
117
117
  except (ImportError, AirflowPriorityConfigurationOptionNotFound):
118
- _log.exception("Plugin could not be enabled")
118
+ _log.warning("symphony plugin could not be enabled! Ensure `httpx` is installed and all configuration options are set.")
@@ -8,7 +8,7 @@ authors = [{name = "the airflow-priority authors", email = "3105306+timkpaine@us
8
8
  description="Priority Tags for Airflow Dags"
9
9
  readme = "README.md"
10
10
  license = { text = "Apache-2.0" }
11
- version = "0.2.0"
11
+ version = "0.2.2"
12
12
  requires-python = ">=3.9"
13
13
  keywords = []
14
14
 
@@ -88,7 +88,7 @@ airflow_priority_slack = "airflow_priority.plugins.slack:SlackPriorityPlugin"
88
88
  airflow_priority_symphony = "airflow_priority.plugins.symphony:SymphonyPriorityPlugin"
89
89
 
90
90
  [tool.bumpversion]
91
- current_version = "0.2.0"
91
+ current_version = "0.2.2"
92
92
  commit = true
93
93
  tag = false
94
94