edx-enterprise-subsidy-client 0.4.4__tar.gz → 1.0.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 (19) hide show
  1. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/CHANGELOG.rst +14 -0
  2. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/PKG-INFO +28 -4
  3. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client/__init__.py +1 -1
  4. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client/client.py +3 -2
  5. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client.egg-info/PKG-INFO +28 -4
  6. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/requirements/constraints.txt +0 -1
  7. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/setup.py +2 -2
  8. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/LICENSE +0 -0
  9. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/LICENSE.txt +0 -0
  10. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/MANIFEST.in +0 -0
  11. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/README.rst +0 -0
  12. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client.egg-info/SOURCES.txt +0 -0
  13. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client.egg-info/dependency_links.txt +0 -0
  14. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client.egg-info/not-zip-safe +0 -0
  15. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client.egg-info/requires.txt +0 -0
  16. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/edx_enterprise_subsidy_client.egg-info/top_level.txt +0 -0
  17. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/requirements/base.in +0 -0
  18. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/setup.cfg +0 -0
  19. {edx_enterprise_subsidy_client-0.4.4 → edx_enterprise_subsidy_client-1.0.0}/tests/test_client.py +0 -0
@@ -14,6 +14,20 @@ Change Log
14
14
  Unreleased
15
15
  **********
16
16
 
17
+ [1.0.0]
18
+ *******
19
+ * fix: Remove Python 3.8 Support
20
+ * chore: Update Python Requirements
21
+ * chore: Update pylintrc
22
+
23
+ [0.4.6]
24
+ *******
25
+ * fix: Update the name of reviewers team in github flow
26
+
27
+ [0.4.5]
28
+ *******
29
+ * fix: create_subsidy_deposit - metadata is optional (ENT-9133)
30
+
17
31
  [0.4.4]
18
32
  *******
19
33
  * feat: add support for deposit creation (ENT-9133)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: edx-enterprise-subsidy-client
3
- Version: 0.4.4
3
+ Version: 1.0.0
4
4
  Summary: Client for interacting with the enterprise-subsidy service.
5
5
  Home-page: https://github.com/openedx/edx-enterprise-subsidy-client
6
6
  Author: edX
@@ -12,11 +12,21 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Requires-Python: >=3.8
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Requires-Python: >=3.12
17
17
  License-File: LICENSE
18
18
  License-File: LICENSE.txt
19
19
  Requires-Dist: edx-rest-api-client
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: home-page
25
+ Dynamic: keywords
26
+ Dynamic: license
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
20
30
 
21
31
  edx-enterprise-subsidy-client
22
32
  #############################
@@ -225,6 +235,20 @@ Change Log
225
235
  Unreleased
226
236
  **********
227
237
 
238
+ [1.0.0]
239
+ *******
240
+ * fix: Remove Python 3.8 Support
241
+ * chore: Update Python Requirements
242
+ * chore: Update pylintrc
243
+
244
+ [0.4.6]
245
+ *******
246
+ * fix: Update the name of reviewers team in github flow
247
+
248
+ [0.4.5]
249
+ *******
250
+ * fix: create_subsidy_deposit - metadata is optional (ENT-9133)
251
+
228
252
  [0.4.4]
229
253
  *******
230
254
  * feat: add support for deposit creation (ENT-9133)
@@ -2,6 +2,6 @@
2
2
  Client for interacting with the enterprise-subsidy service..
3
3
  """
4
4
 
5
- __version__ = '0.4.4'
5
+ __version__ = '1.0.0'
6
6
 
7
7
  from .client import EnterpriseSubsidyAPIClient, EnterpriseSubsidyAPIClientV2, get_enterprise_subsidy_api_client
@@ -378,7 +378,7 @@ class EnterpriseSubsidyAPIClientV2(EnterpriseSubsidyAPIClient): # pylint: disab
378
378
  desired_deposit_quantity,
379
379
  sales_contract_reference_id,
380
380
  sales_contract_reference_provider,
381
- metadata,
381
+ metadata=None,
382
382
  idempotency_key=None,
383
383
  ):
384
384
  """
@@ -400,8 +400,9 @@ class EnterpriseSubsidyAPIClientV2(EnterpriseSubsidyAPIClient): # pylint: disab
400
400
  'desired_deposit_quantity': desired_deposit_quantity,
401
401
  'sales_contract_reference_id': sales_contract_reference_id,
402
402
  'sales_contract_reference_provider': sales_contract_reference_provider,
403
- 'metadata': metadata,
404
403
  }
404
+ if metadata is not None:
405
+ request_payload['metadata'] = metadata
405
406
  if idempotency_key is not None:
406
407
  request_payload['idempotency_key'] = idempotency_key
407
408
  response = self.client.post(
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: edx-enterprise-subsidy-client
3
- Version: 0.4.4
3
+ Version: 1.0.0
4
4
  Summary: Client for interacting with the enterprise-subsidy service.
5
5
  Home-page: https://github.com/openedx/edx-enterprise-subsidy-client
6
6
  Author: edX
@@ -12,11 +12,21 @@ Classifier: Intended Audience :: Developers
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
13
13
  Classifier: Natural Language :: English
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Requires-Python: >=3.8
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Requires-Python: >=3.12
17
17
  License-File: LICENSE
18
18
  License-File: LICENSE.txt
19
19
  Requires-Dist: edx-rest-api-client
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: home-page
25
+ Dynamic: keywords
26
+ Dynamic: license
27
+ Dynamic: requires-dist
28
+ Dynamic: requires-python
29
+ Dynamic: summary
20
30
 
21
31
  edx-enterprise-subsidy-client
22
32
  #############################
@@ -225,6 +235,20 @@ Change Log
225
235
  Unreleased
226
236
  **********
227
237
 
238
+ [1.0.0]
239
+ *******
240
+ * fix: Remove Python 3.8 Support
241
+ * chore: Update Python Requirements
242
+ * chore: Update pylintrc
243
+
244
+ [0.4.6]
245
+ *******
246
+ * fix: Update the name of reviewers team in github flow
247
+
248
+ [0.4.5]
249
+ *******
250
+ * fix: create_subsidy_deposit - metadata is optional (ENT-9133)
251
+
228
252
  [0.4.4]
229
253
  *******
230
254
  * feat: add support for deposit creation (ENT-9133)
@@ -10,4 +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
- backports.zoneinfo;python_version<"3.9"
@@ -115,7 +115,7 @@ setup(
115
115
 
116
116
  include_package_data=True,
117
117
  install_requires=load_requirements('requirements/base.in'),
118
- python_requires=">=3.8",
118
+ python_requires=">=3.12",
119
119
  license="AGPL 3.0",
120
120
  zip_safe=False,
121
121
  keywords='Python edx',
@@ -125,6 +125,6 @@ setup(
125
125
  'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
126
126
  'Natural Language :: English',
127
127
  'Programming Language :: Python :: 3',
128
- 'Programming Language :: Python :: 3.8',
128
+ 'Programming Language :: Python :: 3.12',
129
129
  ],
130
130
  )