edx-ace 1.12.1__tar.gz → 1.14.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 (64) hide show
  1. {edx-ace-1.12.1 → edx_ace-1.14.0}/CHANGELOG.rst +6 -0
  2. {edx-ace-1.12.1/edx_ace.egg-info → edx_ace-1.14.0}/PKG-INFO +36 -5
  3. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/__init__.py +1 -1
  4. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/utils/test_braze_utils.py +2 -2
  5. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/utils/braze.py +1 -1
  6. {edx-ace-1.12.1 → edx_ace-1.14.0/edx_ace.egg-info}/PKG-INFO +36 -5
  7. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace.egg-info/requires.txt +4 -2
  8. {edx-ace-1.12.1 → edx_ace-1.14.0}/requirements/base.in +0 -1
  9. {edx-ace-1.12.1 → edx_ace-1.14.0}/requirements/constraints.txt +0 -2
  10. {edx-ace-1.12.1 → edx_ace-1.14.0}/setup.py +3 -2
  11. {edx-ace-1.12.1 → edx_ace-1.14.0}/LICENSE.txt +0 -0
  12. {edx-ace-1.12.1 → edx_ace-1.14.0}/MANIFEST.in +0 -0
  13. {edx-ace-1.12.1 → edx_ace-1.14.0}/README.rst +0 -0
  14. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/ace.py +0 -0
  15. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/apps.py +0 -0
  16. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/__init__.py +0 -0
  17. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/braze.py +0 -0
  18. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/braze_push_notification.py +0 -0
  19. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/django_email.py +0 -0
  20. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/file.py +0 -0
  21. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/mixins.py +0 -0
  22. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/push_notification.py +0 -0
  23. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/channel/sailthru.py +0 -0
  24. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/delivery.py +0 -0
  25. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/errors.py +0 -0
  26. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/message.py +0 -0
  27. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/monitoring.py +0 -0
  28. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/policy.py +0 -0
  29. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/presentation.py +0 -0
  30. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/push_notifications/views/__init__.py +0 -0
  31. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/recipient.py +0 -0
  32. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/recipient_resolver.py +0 -0
  33. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/renderers.py +0 -0
  34. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/serialization.py +0 -0
  35. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/signals.py +0 -0
  36. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/templatetags/acetags.py +0 -0
  37. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/test_utils/__init__.py +0 -0
  38. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_braze.py +0 -0
  39. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_braze_push_notification.py +0 -0
  40. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_channel_helpers.py +0 -0
  41. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_django_email.py +0 -0
  42. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_file_email.py +0 -0
  43. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_push_notification.py +0 -0
  44. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/channel/test_sailthru.py +0 -0
  45. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_ace.py +0 -0
  46. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_date.py +0 -0
  47. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_delivery.py +0 -0
  48. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_message.py +0 -0
  49. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_policy.py +0 -0
  50. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_presentation.py +0 -0
  51. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/body.html +0 -0
  52. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/test_templates/testapp/edx_ace/testmessage/email/head.html +0 -0
  53. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/tests/utils/test_signals.py +0 -0
  54. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/utils/__init__.py +0 -0
  55. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/utils/date.py +0 -0
  56. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/utils/once.py +0 -0
  57. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/utils/plugins.py +0 -0
  58. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace/utils/signals.py +0 -0
  59. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace.egg-info/SOURCES.txt +0 -0
  60. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace.egg-info/dependency_links.txt +0 -0
  61. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace.egg-info/entry_points.txt +0 -0
  62. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace.egg-info/not-zip-safe +0 -0
  63. {edx-ace-1.12.1 → edx_ace-1.14.0}/edx_ace.egg-info/top_level.txt +0 -0
  64. {edx-ace-1.12.1 → edx_ace-1.14.0}/setup.cfg +0 -0
@@ -14,6 +14,12 @@ Change Log
14
14
  Unreleased
15
15
  **********
16
16
 
17
+ [1.13.0] - 2025-04-25
18
+ ---------------------
19
+
20
+ * Added support for ``Django 5.2``
21
+ * Dropped support for ``Python 3.8``
22
+
17
23
  [1.8.0] - 2024-03-06
18
24
  --------------------
19
25
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: edx-ace
3
- Version: 1.12.1
3
+ Version: 1.14.0
4
4
  Summary: Framework for Messaging
5
5
  Home-page: https://github.com/openedx/edx-ace
6
6
  Author: edX
@@ -10,16 +10,41 @@ Keywords: Django edx
10
10
  Classifier: Development Status :: 3 - Alpha
11
11
  Classifier: Framework :: Django
12
12
  Classifier: Framework :: Django :: 4.2
13
+ Classifier: Framework :: Django :: 5.2
13
14
  Classifier: Intended Audience :: Developers
14
15
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
15
16
  Classifier: Natural Language :: English
16
17
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Description-Content-Type: text/x-rst
20
- Provides-Extra: sailthru
21
- Provides-Extra: push_notifications
22
20
  License-File: LICENSE.txt
21
+ Requires-Dist: Django>=2.2
22
+ Requires-Dist: attrs>=17.2.0
23
+ Requires-Dist: django-push-notifications
24
+ Requires-Dist: edx-django-utils>=5.14.2
25
+ Requires-Dist: firebase-admin
26
+ Requires-Dist: python-dateutil
27
+ Requires-Dist: sailthru-client==2.2.3
28
+ Requires-Dist: six
29
+ Requires-Dist: stevedore>=1.10.0
30
+ Provides-Extra: sailthru
31
+ Requires-Dist: sailthru-client<2.3,>2.2; extra == "sailthru"
32
+ Provides-Extra: push-notifications
33
+ Requires-Dist: django-push-notifications[FCM]; extra == "push-notifications"
34
+ Provides-Extra: braze-push
35
+ Requires-Dist: edx-braze-client==1.0.2; extra == "braze-push"
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: license-file
45
+ Dynamic: provides-extra
46
+ Dynamic: requires-dist
47
+ Dynamic: summary
23
48
 
24
49
  edX Automated Communication Engine (A.C.E.)
25
50
  ###########################################
@@ -172,6 +197,12 @@ Change Log
172
197
  Unreleased
173
198
  **********
174
199
 
200
+ [1.13.0] - 2025-04-25
201
+ ---------------------
202
+
203
+ * Added support for ``Django 5.2``
204
+ * Dropped support for ``Python 3.8``
205
+
175
206
  [1.8.0] - 2024-03-06
176
207
  --------------------
177
208
 
@@ -13,7 +13,7 @@ from .policy import Policy, PolicyResult
13
13
  from .recipient import Recipient
14
14
  from .recipient_resolver import RecipientResolver
15
15
 
16
- __version__ = '1.12.1'
16
+ __version__ = '1.14.0'
17
17
 
18
18
 
19
19
  __all__ = [
@@ -28,7 +28,7 @@ class TestBrazeClient(TestCase):
28
28
  self.assertEqual(result, None)
29
29
  mock_braze_client.assert_not_called()
30
30
 
31
- @override_settings(ACE_CHANNEL_BRAZE_API_KEY=API_KEY)
31
+ @override_settings(ACE_CHANNEL_BRAZE_PUSH_API_KEY=API_KEY)
32
32
  @patch('edx_ace.utils.braze.BrazeClient')
33
33
  def test_braze_url_not_configured(self, mock_braze_client):
34
34
  """
@@ -48,7 +48,7 @@ class TestBrazeClient(TestCase):
48
48
  self.assertEqual(result, None)
49
49
  mock_braze_client.assert_not_called()
50
50
 
51
- @override_settings(ACE_CHANNEL_BRAZE_REST_ENDPOINT=API_KEY, ACE_CHANNEL_BRAZE_API_KEY=API_KEY)
51
+ @override_settings(ACE_CHANNEL_BRAZE_REST_ENDPOINT=API_KEY, ACE_CHANNEL_BRAZE_PUSH_API_KEY=API_KEY)
52
52
  @patch('edx_ace.utils.braze.BrazeClient', return_value=True)
53
53
  def test_success(self, mock_braze_client):
54
54
  """
@@ -14,7 +14,7 @@ def get_braze_client():
14
14
  if not BrazeClient:
15
15
  return None
16
16
 
17
- braze_api_key = getattr(settings, 'ACE_CHANNEL_BRAZE_API_KEY', None)
17
+ braze_api_key = getattr(settings, 'ACE_CHANNEL_BRAZE_PUSH_API_KEY', None)
18
18
  braze_api_url = getattr(settings, 'ACE_CHANNEL_BRAZE_REST_ENDPOINT', None)
19
19
 
20
20
  if not braze_api_key or not braze_api_url:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: edx-ace
3
- Version: 1.12.1
3
+ Version: 1.14.0
4
4
  Summary: Framework for Messaging
5
5
  Home-page: https://github.com/openedx/edx-ace
6
6
  Author: edX
@@ -10,16 +10,41 @@ Keywords: Django edx
10
10
  Classifier: Development Status :: 3 - Alpha
11
11
  Classifier: Framework :: Django
12
12
  Classifier: Framework :: Django :: 4.2
13
+ Classifier: Framework :: Django :: 5.2
13
14
  Classifier: Intended Audience :: Developers
14
15
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
15
16
  Classifier: Natural Language :: English
16
17
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Description-Content-Type: text/x-rst
20
- Provides-Extra: sailthru
21
- Provides-Extra: push_notifications
22
20
  License-File: LICENSE.txt
21
+ Requires-Dist: Django>=2.2
22
+ Requires-Dist: attrs>=17.2.0
23
+ Requires-Dist: django-push-notifications
24
+ Requires-Dist: edx-django-utils>=5.14.2
25
+ Requires-Dist: firebase-admin
26
+ Requires-Dist: python-dateutil
27
+ Requires-Dist: sailthru-client==2.2.3
28
+ Requires-Dist: six
29
+ Requires-Dist: stevedore>=1.10.0
30
+ Provides-Extra: sailthru
31
+ Requires-Dist: sailthru-client<2.3,>2.2; extra == "sailthru"
32
+ Provides-Extra: push-notifications
33
+ Requires-Dist: django-push-notifications[FCM]; extra == "push-notifications"
34
+ Provides-Extra: braze-push
35
+ Requires-Dist: edx-braze-client==1.0.2; extra == "braze-push"
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: license-file
45
+ Dynamic: provides-extra
46
+ Dynamic: requires-dist
47
+ Dynamic: summary
23
48
 
24
49
  edX Automated Communication Engine (A.C.E.)
25
50
  ###########################################
@@ -172,6 +197,12 @@ Change Log
172
197
  Unreleased
173
198
  **********
174
199
 
200
+ [1.13.0] - 2025-04-25
201
+ ---------------------
202
+
203
+ * Added support for ``Django 5.2``
204
+ * Dropped support for ``Python 3.8``
205
+
175
206
  [1.8.0] - 2024-03-06
176
207
  --------------------
177
208
 
@@ -1,7 +1,6 @@
1
1
  Django>=2.2
2
2
  attrs>=17.2.0
3
3
  django-push-notifications
4
- edx-braze-client==1.0.2
5
4
  edx-django-utils>=5.14.2
6
5
  firebase-admin
7
6
  python-dateutil
@@ -9,8 +8,11 @@ sailthru-client==2.2.3
9
8
  six
10
9
  stevedore>=1.10.0
11
10
 
11
+ [braze_push]
12
+ edx-braze-client==1.0.2
13
+
12
14
  [push_notifications]
13
- django-push-notifications[fcm]
15
+ django-push-notifications[FCM]
14
16
 
15
17
  [sailthru]
16
18
  sailthru-client<2.3,>2.2
@@ -5,7 +5,6 @@ Django>=2.2 # Web application framework
5
5
  python-dateutil # Python Date Utilities
6
6
  attrs>=17.2.0 # Attributes without boilerplate
7
7
  sailthru-client==2.2.3
8
- edx-braze-client==1.0.2
9
8
  six
10
9
  stevedore>=1.10.0
11
10
  edx-django-utils>=5.14.2
@@ -10,5 +10,3 @@
10
10
 
11
11
  # Common constraints for edx repos
12
12
  -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
13
-
14
- backports.zoneinfo==0.2.1; python_version<'3.9'
@@ -142,7 +142,8 @@ setup(
142
142
  install_requires=load_requirements('requirements/base.in'),
143
143
  extras_require={
144
144
  'sailthru': ["sailthru-client>2.2,<2.3"],
145
- 'push_notifications': ["django-push-notifications[FCM]"]
145
+ 'push_notifications': ["django-push-notifications[FCM]"],
146
+ 'braze_push': ['edx-braze-client==1.0.2']
146
147
  },
147
148
  license="AGPL 3.0",
148
149
  zip_safe=False,
@@ -151,11 +152,11 @@ setup(
151
152
  'Development Status :: 3 - Alpha',
152
153
  'Framework :: Django',
153
154
  'Framework :: Django :: 4.2',
155
+ 'Framework :: Django :: 5.2',
154
156
  'Intended Audience :: Developers',
155
157
  'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
156
158
  'Natural Language :: English',
157
159
  'Programming Language :: Python :: 3',
158
- 'Programming Language :: Python :: 3.8',
159
160
  'Programming Language :: Python :: 3.12',
160
161
  ],
161
162
  entry_points={
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes