From ad7bb04711fea1284203bfa122b95cf8ba573aea Mon Sep 17 00:00:00 2001 From: Billy Irwin Date: Fri, 31 Mar 2023 10:21:58 -0700 Subject: [PATCH] Relaxes cryptography requirement and fixes bug for adding build to testflight groups --- appstoreconnect/api.py | 3 +-- setup.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/appstoreconnect/api.py b/appstoreconnect/api.py index 36085ca..b7192d9 100644 --- a/appstoreconnect/api.py +++ b/appstoreconnect/api.py @@ -452,8 +452,7 @@ def read_beta_group_information(self, beta_group_ip): def add_build_to_beta_group(self, beta_group_id, build_id): post_data = {'data': [{ 'id': build_id, 'type': 'builds'}]} - payload = self._api_call(BASE_API + "/v1/betaGroups/" + beta_group_id + "/relationships/builds", HttpMethod.POST, post_data) - return BetaGroup(payload.get('data'), {}) + self._api_call(BASE_API + "/v1/betaGroups/" + beta_group_id + "/relationships/builds", HttpMethod.POST, post_data) # App Resources def read_app_information(self, app_ip): diff --git a/setup.py b/setup.py index 6d1ea0f..23f2c88 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ REQUIRED = [ 'requests>=2.20.1,==2.*', 'PyJWT>=1.6.4,==1.*', - 'cryptography>=2.6.1,==2.*', + 'cryptography>=2.6.1', ] EXTRAS = {