From 2b2334476cc3b121f549189a26bcdeb48bf89b35 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Tue, 14 May 2024 20:23:38 -0400 Subject: [PATCH 1/2] chore: Updating Python Requirements --- requirements/base.txt | 20 ++++++++++---------- requirements/dev.txt | 36 ++++++++++++++++++------------------ requirements/doc.txt | 36 ++++++++++++++++++------------------ requirements/production.txt | 20 ++++++++++---------- requirements/quality.txt | 26 +++++++++++++------------- requirements/test.txt | 32 ++++++++++++++++---------------- requirements/validation.txt | 34 +++++++++++++++++----------------- 7 files changed, 102 insertions(+), 102 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 252f48e4..b8bfb808 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -32,9 +32,9 @@ backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9" # kombu billiard==4.2.0 # via celery -boto3==1.34.95 +boto3==1.34.105 # via django-ses -botocore==1.34.95 +botocore==1.34.105 # via # boto3 # s3transfer @@ -67,7 +67,7 @@ click-repl==0.3.0 # via celery code-annotations==1.8.0 # via edx-toggles -cryptography==42.0.5 +cryptography==42.0.7 # via # pyjwt # social-auth-core @@ -121,7 +121,7 @@ django-filter==24.2 # via -r requirements/base.in django-log-request-id==2.1.0 # via -r requirements/base.in -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/base.in # edx-celeryutils @@ -152,13 +152,13 @@ dnspython==2.6.1 # via pymongo drf-jwt==1.19.2 # via edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via -r requirements/base.in drf-spectacular==0.27.2 # via -r requirements/base.in edx-auth-backends==4.3.0 # via -r requirements/base.in -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.in edx-celeryutils==1.3.0 # via -r requirements/base.in @@ -188,7 +188,7 @@ importlib-resources==6.4.0 # jsonschema-specifications inflection==0.5.1 # via drf-spectacular -jinja2==3.1.3 +jinja2==3.1.4 # via code-annotations jmespath==1.0.1 # via @@ -208,7 +208,7 @@ monotonic==1.6 # via analytics-python mysqlclient==2.2.4 # via -r requirements/base.in -newrelic==9.9.0 +newrelic==9.9.1 # via edx-django-utils oauthlib==3.2.2 # via @@ -256,7 +256,7 @@ pyyaml==6.0.1 # drf-spectacular redis==5.0.4 # via -r requirements/base.in -referencing==0.35.0 +referencing==0.35.1 # via # jsonschema # jsonschema-specifications @@ -270,7 +270,7 @@ requests==2.31.0 # social-auth-core requests-oauthlib==2.0.0 # via social-auth-core -rpds-py==0.18.0 +rpds-py==0.18.1 # via # jsonschema # referencing diff --git a/requirements/dev.txt b/requirements/dev.txt index 4222b21f..dc427084 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -16,7 +16,7 @@ asgiref==3.8.1 # django # django-cors-headers # django-simple-history -astroid==3.1.0 +astroid==3.2.0 # via # -r requirements/validation.txt # pylint @@ -46,11 +46,11 @@ billiard==4.2.0 # via # -r requirements/validation.txt # celery -boto3==1.34.95 +boto3==1.34.105 # via # -r requirements/validation.txt # django-ses -botocore==1.34.95 +botocore==1.34.105 # via # -r requirements/validation.txt # boto3 @@ -111,11 +111,11 @@ code-annotations==1.8.0 # -r requirements/validation.txt # edx-lint # edx-toggles -coverage[toml]==7.5.0 +coverage[toml]==7.5.1 # via # -r requirements/validation.txt # pytest-cov -cryptography==42.0.5 +cryptography==42.0.7 # via # -r requirements/validation.txt # pyjwt @@ -192,7 +192,7 @@ django-filter==24.2 # via -r requirements/validation.txt django-log-request-id==2.1.0 # via -r requirements/validation.txt -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/validation.txt # edx-celeryutils @@ -227,13 +227,13 @@ drf-jwt==1.19.2 # via # -r requirements/validation.txt # edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via -r requirements/validation.txt drf-spectacular==0.27.2 # via -r requirements/validation.txt edx-auth-backends==4.3.0 # via -r requirements/validation.txt -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/validation.txt edx-celeryutils==1.3.0 # via -r requirements/validation.txt @@ -267,11 +267,11 @@ exceptiongroup==1.2.1 # pytest factory-boy==3.3.0 # via -r requirements/validation.txt -faker==25.0.0 +faker==25.2.0 # via # -r requirements/validation.txt # factory-boy -freezegun==1.5.0 +freezegun==1.5.1 # via -r requirements/validation.txt gunicorn==22.0.0 # via -r requirements/dev.in @@ -306,7 +306,7 @@ isort==5.13.2 # via # -r requirements/validation.txt # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/validation.txt # code-annotations @@ -335,7 +335,7 @@ kombu==5.3.7 # via # -r requirements/validation.txt # celery -lxml[html-clean]==5.2.1 +lxml[html-clean]==5.2.2 # via # -r requirements/validation.txt # edx-i18n-tools @@ -360,7 +360,7 @@ more-itertools==10.2.0 # via inflect mysqlclient==2.2.4 # via -r requirements/validation.txt -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/validation.txt # edx-django-utils @@ -425,7 +425,7 @@ pycparser==2.22 # cffi pydocstyle==6.3.0 # via -r requirements/validation.txt -pygments==2.17.2 +pygments==2.18.0 # via diff-cover pyjwt[crypto]==2.8.0 # via @@ -435,7 +435,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.1.0 +pylint==3.2.0 # via # -r requirements/validation.txt # edx-lint @@ -507,7 +507,7 @@ pyyaml==6.0.1 # edx-i18n-tools redis==5.0.4 # via -r requirements/validation.txt -referencing==0.35.0 +referencing==0.35.1 # via # -r requirements/validation.txt # jsonschema @@ -525,7 +525,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/validation.txt # social-auth-core -rpds-py==0.18.0 +rpds-py==0.18.1 # via # -r requirements/validation.txt # jsonschema @@ -592,7 +592,7 @@ tomli==2.0.1 # pip-tools # pylint # pytest -tomlkit==0.12.4 +tomlkit==0.12.5 # via # -r requirements/validation.txt # pylint diff --git a/requirements/doc.txt b/requirements/doc.txt index c09d9acc..9162fa56 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -20,7 +20,7 @@ asgiref==3.8.1 # django # django-cors-headers # django-simple-history -astroid==3.1.0 +astroid==3.2.0 # via # -r requirements/test.txt # pylint @@ -34,7 +34,7 @@ attrs==23.2.0 # -r requirements/test.txt # jsonschema # referencing -babel==2.14.0 +babel==2.15.0 # via # pydata-sphinx-theme # sphinx @@ -56,11 +56,11 @@ billiard==4.2.0 # via # -r requirements/test.txt # celery -boto3==1.34.95 +boto3==1.34.105 # via # -r requirements/test.txt # django-ses -botocore==1.34.95 +botocore==1.34.105 # via # -r requirements/test.txt # boto3 @@ -115,11 +115,11 @@ code-annotations==1.8.0 # -r requirements/test.txt # edx-lint # edx-toggles -coverage[toml]==7.5.0 +coverage[toml]==7.5.1 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.5 +cryptography==42.0.7 # via # -r requirements/test.txt # pyjwt @@ -184,7 +184,7 @@ django-filter==24.2 # via -r requirements/test.txt django-log-request-id==2.1.0 # via -r requirements/test.txt -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/test.txt # edx-celeryutils @@ -228,13 +228,13 @@ drf-jwt==1.19.2 # via # -r requirements/test.txt # edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via -r requirements/test.txt drf-spectacular==0.27.2 # via -r requirements/test.txt edx-auth-backends==4.3.0 # via -r requirements/test.txt -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/test.txt edx-celeryutils==1.3.0 # via -r requirements/test.txt @@ -266,11 +266,11 @@ exceptiongroup==1.2.1 # pytest factory-boy==3.3.0 # via -r requirements/test.txt -faker==25.0.0 +faker==25.2.0 # via # -r requirements/test.txt # factory-boy -freezegun==1.5.0 +freezegun==1.5.1 # via -r requirements/test.txt idna==3.7 # via @@ -299,7 +299,7 @@ isort==5.13.2 # via # -r requirements/test.txt # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/test.txt # code-annotations @@ -339,7 +339,7 @@ monotonic==1.6 # analytics-python mysqlclient==2.2.4 # via -r requirements/test.txt -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/test.txt # edx-django-utils @@ -390,7 +390,7 @@ pycparser==2.22 # cffi pydata-sphinx-theme==0.14.4 # via sphinx-book-theme -pygments==2.17.2 +pygments==2.18.0 # via # accessible-pygments # doc8 @@ -405,7 +405,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.1.0 +pylint==3.2.0 # via # -r requirements/test.txt # edx-lint @@ -472,7 +472,7 @@ readme-renderer==43.0 # via -r requirements/doc.in redis==5.0.4 # via -r requirements/test.txt -referencing==0.35.0 +referencing==0.35.1 # via # -r requirements/test.txt # jsonschema @@ -493,7 +493,7 @@ requests-oauthlib==2.0.0 # social-auth-core restructuredtext-lint==1.4.0 # via doc8 -rpds-py==0.18.0 +rpds-py==0.18.1 # via # -r requirements/test.txt # jsonschema @@ -576,7 +576,7 @@ tomli==2.0.1 # doc8 # pylint # pytest -tomlkit==0.12.4 +tomlkit==0.12.5 # via # -r requirements/test.txt # pylint diff --git a/requirements/production.txt b/requirements/production.txt index 82a7383f..0c8378ac 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -41,11 +41,11 @@ billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.95 +boto3==1.34.105 # via # -r requirements/base.txt # django-ses -botocore==1.34.95 +botocore==1.34.105 # via # -r requirements/base.txt # boto3 @@ -93,7 +93,7 @@ code-annotations==1.8.0 # via # -r requirements/base.txt # edx-toggles -cryptography==42.0.5 +cryptography==42.0.7 # via # -r requirements/base.txt # pyjwt @@ -150,7 +150,7 @@ django-filter==24.2 # via -r requirements/base.txt django-log-request-id==2.1.0 # via -r requirements/base.txt -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/base.txt # edx-celeryutils @@ -185,13 +185,13 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via -r requirements/base.txt drf-spectacular==0.27.2 # via -r requirements/base.txt edx-auth-backends==4.3.0 # via -r requirements/base.txt -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.txt edx-celeryutils==1.3.0 # via -r requirements/base.txt @@ -234,7 +234,7 @@ inflection==0.5.1 # via # -r requirements/base.txt # drf-spectacular -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/base.txt # code-annotations @@ -269,7 +269,7 @@ monotonic==1.6 # analytics-python mysqlclient==2.2.4 # via -r requirements/base.txt -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/base.txt # edx-django-utils @@ -350,7 +350,7 @@ pyyaml==6.0.1 # drf-spectacular redis==5.0.4 # via -r requirements/base.txt -referencing==0.35.0 +referencing==0.35.1 # via # -r requirements/base.txt # jsonschema @@ -368,7 +368,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -rpds-py==0.18.0 +rpds-py==0.18.1 # via # -r requirements/base.txt # jsonschema diff --git a/requirements/quality.txt b/requirements/quality.txt index 0f50eb3e..892fc47a 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -16,7 +16,7 @@ asgiref==3.8.1 # django # django-cors-headers # django-simple-history -astroid==3.1.0 +astroid==3.2.0 # via # pylint # pylint-celery @@ -45,11 +45,11 @@ billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.95 +boto3==1.34.105 # via # -r requirements/base.txt # django-ses -botocore==1.34.95 +botocore==1.34.105 # via # -r requirements/base.txt # boto3 @@ -102,7 +102,7 @@ code-annotations==1.8.0 # -r requirements/base.txt # edx-lint # edx-toggles -cryptography==42.0.5 +cryptography==42.0.7 # via # -r requirements/base.txt # pyjwt @@ -161,7 +161,7 @@ django-filter==24.2 # via -r requirements/base.txt django-log-request-id==2.1.0 # via -r requirements/base.txt -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/base.txt # edx-celeryutils @@ -196,13 +196,13 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via -r requirements/base.txt drf-spectacular==0.27.2 # via -r requirements/base.txt edx-auth-backends==4.3.0 # via -r requirements/base.txt -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.txt edx-celeryutils==1.3.0 # via -r requirements/base.txt @@ -245,7 +245,7 @@ isort==5.13.2 # via # -r requirements/quality.in # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/base.txt # code-annotations @@ -282,7 +282,7 @@ monotonic==1.6 # analytics-python mysqlclient==2.2.4 # via -r requirements/base.txt -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/base.txt # edx-django-utils @@ -329,7 +329,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.1.0 +pylint==3.2.0 # via # edx-lint # pylint-celery @@ -376,7 +376,7 @@ pyyaml==6.0.1 # drf-spectacular redis==5.0.4 # via -r requirements/base.txt -referencing==0.35.0 +referencing==0.35.1 # via # -r requirements/base.txt # jsonschema @@ -394,7 +394,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -rpds-py==0.18.0 +rpds-py==0.18.1 # via # -r requirements/base.txt # jsonschema @@ -450,7 +450,7 @@ text-unidecode==1.3 # python-slugify tomli==2.0.1 # via pylint -tomlkit==0.12.4 +tomlkit==0.12.5 # via pylint typing-extensions==4.11.0 # via diff --git a/requirements/test.txt b/requirements/test.txt index d30d5b53..1a27050d 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -16,7 +16,7 @@ asgiref==3.8.1 # django # django-cors-headers # django-simple-history -astroid==3.1.0 +astroid==3.2.0 # via # pylint # pylint-celery @@ -45,11 +45,11 @@ billiard==4.2.0 # via # -r requirements/base.txt # celery -boto3==1.34.95 +boto3==1.34.105 # via # -r requirements/base.txt # django-ses -botocore==1.34.95 +botocore==1.34.105 # via # -r requirements/base.txt # boto3 @@ -103,11 +103,11 @@ code-annotations==1.8.0 # -r requirements/test.in # edx-lint # edx-toggles -coverage[toml]==7.5.0 +coverage[toml]==7.5.1 # via # -r requirements/test.in # pytest-cov -cryptography==42.0.5 +cryptography==42.0.7 # via # -r requirements/base.txt # pyjwt @@ -170,7 +170,7 @@ django-filter==24.2 # via -r requirements/base.txt django-log-request-id==2.1.0 # via -r requirements/base.txt -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/base.txt # edx-celeryutils @@ -205,13 +205,13 @@ drf-jwt==1.19.2 # via # -r requirements/base.txt # edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via -r requirements/base.txt drf-spectacular==0.27.2 # via -r requirements/base.txt edx-auth-backends==4.3.0 # via -r requirements/base.txt -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via -r requirements/base.txt edx-celeryutils==1.3.0 # via -r requirements/base.txt @@ -241,9 +241,9 @@ exceptiongroup==1.2.1 # via pytest factory-boy==3.3.0 # via -r requirements/test.in -faker==25.0.0 +faker==25.2.0 # via factory-boy -freezegun==1.5.0 +freezegun==1.5.1 # via -r requirements/test.in idna==3.7 # via @@ -262,7 +262,7 @@ iniconfig==2.0.0 # via pytest isort==5.13.2 # via pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/base.txt # code-annotations @@ -299,7 +299,7 @@ monotonic==1.6 # analytics-python mysqlclient==2.2.4 # via -r requirements/base.txt -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/base.txt # edx-django-utils @@ -346,7 +346,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.1.0 +pylint==3.2.0 # via # edx-lint # pylint-celery @@ -403,7 +403,7 @@ pyyaml==6.0.1 # drf-spectacular redis==5.0.4 # via -r requirements/base.txt -referencing==0.35.0 +referencing==0.35.1 # via # -r requirements/base.txt # jsonschema @@ -421,7 +421,7 @@ requests-oauthlib==2.0.0 # via # -r requirements/base.txt # social-auth-core -rpds-py==0.18.0 +rpds-py==0.18.1 # via # -r requirements/base.txt # jsonschema @@ -478,7 +478,7 @@ tomli==2.0.1 # coverage # pylint # pytest -tomlkit==0.12.4 +tomlkit==0.12.5 # via pylint typing-extensions==4.11.0 # via diff --git a/requirements/validation.txt b/requirements/validation.txt index d8fcf3b1..8f196d82 100644 --- a/requirements/validation.txt +++ b/requirements/validation.txt @@ -20,7 +20,7 @@ asgiref==3.8.1 # django # django-cors-headers # django-simple-history -astroid==3.1.0 +astroid==3.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -56,12 +56,12 @@ billiard==4.2.0 # -r requirements/quality.txt # -r requirements/test.txt # celery -boto3==1.34.95 +boto3==1.34.105 # via # -r requirements/quality.txt # -r requirements/test.txt # django-ses -botocore==1.34.95 +botocore==1.34.105 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -127,11 +127,11 @@ code-annotations==1.8.0 # -r requirements/test.txt # edx-lint # edx-toggles -coverage[toml]==7.5.0 +coverage[toml]==7.5.1 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.5 +cryptography==42.0.7 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -216,7 +216,7 @@ django-log-request-id==2.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt -django-model-utils==4.5.0 +django-model-utils==4.5.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -264,7 +264,7 @@ drf-jwt==1.19.2 # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions -drf-nested-routers==0.93.5 +drf-nested-routers==0.94.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -276,7 +276,7 @@ edx-auth-backends==4.3.0 # via # -r requirements/quality.txt # -r requirements/test.txt -edx-braze-client==0.2.3 +edx-braze-client==0.2.5 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -325,11 +325,11 @@ exceptiongroup==1.2.1 # pytest factory-boy==3.3.0 # via -r requirements/test.txt -faker==25.0.0 +faker==25.2.0 # via # -r requirements/test.txt # factory-boy -freezegun==1.5.0 +freezegun==1.5.1 # via -r requirements/test.txt idna==3.7 # via @@ -356,7 +356,7 @@ isort==5.13.2 # -r requirements/quality.txt # -r requirements/test.txt # pylint -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -387,7 +387,7 @@ kombu==5.3.7 # -r requirements/quality.txt # -r requirements/test.txt # celery -lxml[html-clean,html_clean]==5.2.1 +lxml[html-clean,html_clean]==5.2.2 # via # edx-i18n-tools # lxml-html-clean @@ -412,7 +412,7 @@ mysqlclient==2.2.4 # via # -r requirements/quality.txt # -r requirements/test.txt -newrelic==9.9.0 +newrelic==9.9.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -485,7 +485,7 @@ pyjwt[crypto]==2.8.0 # edx-drf-extensions # edx-rest-api-client # social-auth-core -pylint==3.1.0 +pylint==3.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -563,7 +563,7 @@ redis==5.0.4 # via # -r requirements/quality.txt # -r requirements/test.txt -referencing==0.35.0 +referencing==0.35.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -584,7 +584,7 @@ requests-oauthlib==2.0.0 # -r requirements/quality.txt # -r requirements/test.txt # social-auth-core -rpds-py==0.18.0 +rpds-py==0.18.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -662,7 +662,7 @@ tomli==2.0.1 # coverage # pylint # pytest -tomlkit==0.12.4 +tomlkit==0.12.5 # via # -r requirements/quality.txt # -r requirements/test.txt From 8009cadcd9424a0d5ec4f13632631c7b3619079c Mon Sep 17 00:00:00 2001 From: Hamzah Ullah Date: Mon, 20 May 2024 16:21:03 +0000 Subject: [PATCH 2/2] chore: sane default --- license_manager/apps/subscriptions/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/license_manager/apps/subscriptions/api.py b/license_manager/apps/subscriptions/api.py index c894fa11..c2737b20 100644 --- a/license_manager/apps/subscriptions/api.py +++ b/license_manager/apps/subscriptions/api.py @@ -187,6 +187,7 @@ def _original_licenses_to_copy(original_plan, license_types_to_copy): if license_types_to_copy == LicenseTypesToRenew.NOTHING: return [] + license_status_kwargs = {} if license_types_to_copy == LicenseTypesToRenew.ASSIGNED_AND_ACTIVATED: license_status_kwargs = {'status__in': (ASSIGNED, ACTIVATED)} elif license_types_to_copy == LicenseTypesToRenew.ACTIVATED: