From 4ba9dae3ebffb625602c3e16f501db43c07f2a43 Mon Sep 17 00:00:00 2001 From: Kris Stern Date: Wed, 21 Apr 2021 22:39:12 +0800 Subject: [PATCH 1/6] Update README.md --- server/python/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/python/README.md b/server/python/README.md index 8847b1c2..5b119a4b 100644 --- a/server/python/README.md +++ b/server/python/README.md @@ -50,10 +50,10 @@ Run `pip install` to fetch the Python packages we use: pip install -r requirements.txt ``` -Export our Flask app and run! +Export our Flask app and run from the root! ``` -export FLASK_APP=./app.py +export FLASK_APP=server/python/app.py flask run ``` From f78d50e89a508b0801f19540affdbcdb91ec65be Mon Sep 17 00:00:00 2001 From: Kris Stern Date: Wed, 21 Apr 2021 22:42:10 +0800 Subject: [PATCH 2/6] Update app.py to prevent overwriting of function --- server/python/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/python/app.py b/server/python/app.py index 56b81656..2fa2ef66 100644 --- a/server/python/app.py +++ b/server/python/app.py @@ -133,7 +133,7 @@ def update_payment_intent(id): return jsonify(e), 403 @app.route('/payment_intents//update_currency', methods=['POST']) -def update_payment_intent(id): +def update_payment_intent2(id): data = json.loads(request.data) currency = data['currency'] paymentMethods = data['payment_methods'] From 2d8ccaad443b82c573afcc67e3a7da144e79de5a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 May 2021 14:43:26 +0000 Subject: [PATCH 3/6] Bump lodash from 4.17.19 to 4.17.21 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e172a345..f90e6741 100644 --- a/package-lock.json +++ b/package-lock.json @@ -804,9 +804,9 @@ } }, "lodash": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", - "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, "lodash.isplainobject": { From 54f95e345c2573ce82ccf39cbf60b01ee0450c9f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 May 2021 14:43:52 +0000 Subject: [PATCH 4/6] Bump jinja2 from 2.10.1 to 2.11.3 in /server/python Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.1 to 2.11.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/2.10.1...2.11.3) Signed-off-by: dependabot[bot] --- server/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/python/requirements.txt b/server/python/requirements.txt index af242b4f..f8639716 100644 --- a/server/python/requirements.txt +++ b/server/python/requirements.txt @@ -8,7 +8,7 @@ gunicorn==19.7.1 idna==2.6 idna-ssl==1.1.0 itsdangerous==0.24 -Jinja2==2.10.1 +Jinja2==2.11.3 livereload==2.5.1 MarkupSafe==1.0 more-itertools==4.1.0 From 7746a7eb985b8b53e532ab5b147edbfaae3ec69a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 May 2021 14:44:10 +0000 Subject: [PATCH 5/6] Bump py from 1.5.3 to 1.10.0 in /server/python Bumps [py](https://github.com/pytest-dev/py) from 1.5.3 to 1.10.0. - [Release notes](https://github.com/pytest-dev/py/releases) - [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/py/compare/1.5.3...1.10.0) Signed-off-by: dependabot[bot] --- server/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/python/requirements.txt b/server/python/requirements.txt index af242b4f..206f7745 100644 --- a/server/python/requirements.txt +++ b/server/python/requirements.txt @@ -14,7 +14,7 @@ MarkupSafe==1.0 more-itertools==4.1.0 multidict==4.1.0 pluggy==0.6.0 -py==1.5.3 +py==1.10.0 pytest==3.5.0 python-dotenv==0.8.2 requests==2.20 From 347e3bb16674b7890c54bb945f197e6e2ca52b8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Jun 2021 04:41:54 +0000 Subject: [PATCH 6/6] Bump urllib3 from 1.24.2 to 1.26.5 in /server/python Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.2 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.24.2...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- server/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/python/requirements.txt b/server/python/requirements.txt index 01ac52ee..e731a794 100644 --- a/server/python/requirements.txt +++ b/server/python/requirements.txt @@ -21,6 +21,6 @@ requests==2.20 six==1.11.0 stripe==2.12.0 tornado==5.0.2 -urllib3==1.24.2 +urllib3==1.26.5 Werkzeug==0.16.0 yarl==1.1.1