From f0d8e2cff975c6edfdb7cfe5a9b81ef1c876bd22 Mon Sep 17 00:00:00 2001 From: Samuel Doghor <56834362+samdoghor@users.noreply.github.com> Date: Fri, 26 Jan 2024 21:44:41 +0100 Subject: [PATCH 1/3] chore: update jinja2 to latest --- .github/workflows/codesee-arch-diagram.yml | 23 ------------------- README.md | 4 ++-- .../requirements.txt | 16 +++++++++++++ .../requirements.txt | 2 +- .../template-flask-robust/requirements.txt | 2 +- .../template-flask-simple/requirements.txt | 2 +- packages/create_myte/utils/info.json | 4 ++-- 7 files changed, 23 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/codesee-arch-diagram.yml create mode 100644 packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt diff --git a/.github/workflows/codesee-arch-diagram.yml b/.github/workflows/codesee-arch-diagram.yml deleted file mode 100644 index 806d41d..0000000 --- a/.github/workflows/codesee-arch-diagram.yml +++ /dev/null @@ -1,23 +0,0 @@ -# This workflow was added by CodeSee. Learn more at https://codesee.io/ -# This is v2.0 of this workflow file -on: - push: - branches: - - main - pull_request_target: - types: [opened, synchronize, reopened] - -name: CodeSee - -permissions: read-all - -jobs: - codesee: - runs-on: ubuntu-latest - continue-on-error: true - name: Analyze the repo with CodeSee - steps: - - uses: Codesee-io/codesee-action@v2 - with: - codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} - codesee-url: https://app.codesee.io diff --git a/README.md b/README.md index fcb03ce..ad50f7a 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ create-myte ### How it looks without an activated virtual environment ```Bash Copy -$ myte start project +$ create-myte Compatible Note: Myte requires at least Python 3.8. However, the tool may still work @@ -104,7 +104,7 @@ and run the pip instructions there ### How it looks with an activated virtual environment ```Bash Copy -$ myte start project +$ create-myte Compatible Note: Myte requires at least Python 3.8. However, the tool may still work diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt b/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt new file mode 100644 index 0000000..6662d81 --- /dev/null +++ b/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt @@ -0,0 +1,16 @@ +autopep8==2.0.2 +certifi==2023.5.7 +colorama==0.4.6 +distlib==0.3.6 +filelock==3.12.0 +flake8==6.0.0 +isort==5.13.2 +Jinja2==3.1.3 +MarkupSafe==2.1.4 +mccabe==0.7.0 +pipenv==2023.6.18 +platformdirs==3.5.1 +pycodestyle==2.10.0 +pyflakes==3.0.1 +virtualenv==20.23.0 +virtualenv-clone==0.5.7 diff --git a/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt b/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt index 1ffd390..522d910 100644 --- a/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt +++ b/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt @@ -9,7 +9,7 @@ Flask-RESTful==0.3.10 Flask-SQLAlchemy==3.1.1 greenlet==3.0.1 itsdangerous==2.1.2 -Jinja2==3.1.2 +Jinja2==3.1.3 Mako==1.2.4 MarkupSafe==2.1.3 python-dotenv==1.0.0 diff --git a/packages/create_myte/templates/template-flask-robust/requirements.txt b/packages/create_myte/templates/template-flask-robust/requirements.txt index b970d39..67a0508 100644 --- a/packages/create_myte/templates/template-flask-robust/requirements.txt +++ b/packages/create_myte/templates/template-flask-robust/requirements.txt @@ -9,7 +9,7 @@ Flask-SQLAlchemy==3.1.1 Flask-WTF==1.2.1 greenlet==3.0.2 itsdangerous==2.1.2 -Jinja2==3.1.2 +Jinja2==3.1.3 Mako==1.3.0 MarkupSafe==2.1.3 psycopg2==2.9.9 diff --git a/packages/create_myte/templates/template-flask-simple/requirements.txt b/packages/create_myte/templates/template-flask-simple/requirements.txt index 4574a83..edd9e4a 100644 --- a/packages/create_myte/templates/template-flask-simple/requirements.txt +++ b/packages/create_myte/templates/template-flask-simple/requirements.txt @@ -7,7 +7,7 @@ Flask-Migrate==4.0.5 Flask-SQLAlchemy==3.1.1 greenlet==3.0.1 itsdangerous==2.1.2 -Jinja2==3.1.2 +Jinja2==3.1.3 Mako==1.2.4 MarkupSafe==2.1.3 psycopg2==2.9.9 diff --git a/packages/create_myte/utils/info.json b/packages/create_myte/utils/info.json index bd80ad8..0eae077 100644 --- a/packages/create_myte/utils/info.json +++ b/packages/create_myte/utils/info.json @@ -29,10 +29,10 @@ "install_requirements_message": "[cyan] - pip install -r requirements.txt [/cyan]", - "environment_variable": "[cyan] - Rename example.env to .env [/cyan]", + "environment_variable": "[cyan] - Rename example.envi to .env [/cyan]", "database_configuration": " - Go to config.py, decide the database you want to use, uncomment it and run the pip instructions there ", - "secret_key_configuration": "[cyan] - Rename example.envi to .env, Go to .env, replace 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' in SECRETKEY with[/cyan]" + "secret_key_configuration": "[cyan] - Go to .env, replace 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' in SECRETKEY with[/cyan]" }, "os":{ From dffb107f1dab354b0273d4e8c84ba8733ad0dec6 Mon Sep 17 00:00:00 2001 From: Samuel Doghor <56834362+samdoghor@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:12:12 +0100 Subject: [PATCH 2/3] chore & feat: Updated all templates dependencies to latest version & create index route --- .idea/inspectionProfiles/Project_Default.xml | 12 ++++++ .../inspectionProfiles/profiles_settings.xml | 6 +++ .idea/misc.xml | 4 ++ .idea/modules.xml | 8 ++++ .idea/myte.iml | 17 ++++++++ .idea/vcs.xml | 6 +++ .idea/workspace.xml | 40 +++++++++++++++++++ .../example.envi | 1 - .../requirements.txt | 30 ++++++++++++++ .../src/config.py | 6 +-- .../src/resources/index.py | 18 +++++++-- .../src/routes/__init__.py | 5 ++- .../src/routes/index.py | 18 +++++++++ .../src/routes/todo.py | 1 - .../src/routes/todo_item.py | 1 - .../src/server.py | 5 +-- .../requirements.txt | 33 +++++++++++---- .../template-flask-robust/requirements.txt | 27 +++++++++---- .../templates/template-flask-simple/config.py | 4 +- .../templates/template-flask-simple/models.py | 2 +- .../template-flask-simple/requirements.txt | 34 +++++++++++----- 21 files changed, 237 insertions(+), 41 deletions(-) create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/myte.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 packages/create_myte/templates/template-flask-restful-api-robust/src/routes/index.py diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..2c56622 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,12 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..9b15208 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d25b042 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/myte.iml b/.idea/myte.iml new file mode 100644 index 0000000..ba7c849 --- /dev/null +++ b/.idea/myte.iml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..4e65ba5 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + 1706348394018 + + + + \ No newline at end of file diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/example.envi b/packages/create_myte/templates/template-flask-restful-api-robust/example.envi index fdf986a..65e67ae 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/example.envi +++ b/packages/create_myte/templates/template-flask-restful-api-robust/example.envi @@ -14,4 +14,3 @@ APPLICATION_PORT=3303 APPLICATION_HOST='0.0.0.0' SERVICE_LOG='logs' API_APPLICATION_ROOT='/api' -SECRET_KEY='' diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt b/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt index 6662d81..e8f8c40 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt +++ b/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt @@ -1,16 +1,46 @@ +alembic==1.13.1 +aniso8601==9.0.1 +attrs==23.2.0 autopep8==2.0.2 +blinker==1.7.0 certifi==2023.5.7 +click==8.1.7 colorama==0.4.6 distlib==0.3.6 filelock==3.12.0 flake8==6.0.0 +flasgger==0.9.7.1 +Flask==3.0.1 +Flask-Cors==4.0.0 +Flask-Migrate==4.0.5 +Flask-RESTful==0.3.10 +Flask-SQLAlchemy==3.1.1 +Flask-WTF==1.2.1 +greenlet==3.0.3 isort==5.13.2 +itsdangerous==2.1.2 Jinja2==3.1.3 +jsonschema==4.21.1 +jsonschema-specifications==2023.12.1 +Mako==1.3.0 MarkupSafe==2.1.4 mccabe==0.7.0 +mistune==3.0.2 +packaging==23.2 pipenv==2023.6.18 platformdirs==3.5.1 +psycopg2==2.9.9 pycodestyle==2.10.0 pyflakes==3.0.1 +python-dotenv==1.0.1 +pytz==2023.3.post1 +PyYAML==6.0.1 +referencing==0.32.1 +rpds-py==0.17.1 +six==1.16.0 +SQLAlchemy==2.0.25 +typing_extensions==4.9.0 virtualenv==20.23.0 virtualenv-clone==0.5.7 +Werkzeug==3.0.1 +WTForms==3.1.2 diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/config.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/config.py index 3d125d6..eb7279f 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/src/config.py +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/config.py @@ -51,7 +51,7 @@ # server SECRET_KEY = os.getenv("SECRET_KEY") -ENVIRONMENT = os.getenv("ENVIRONMENT") == "DEV" -APPLICATION_ROOT = os.getenv("API_APPLICATION_ROOT", "/v1/api") +ENVIRONMENT = os.getenv("ENVIRONMENT") +APPLICATION_ROOT = os.getenv("API_APPLICATION_ROOT") HOST = os.getenv("APPLICATION_HOST") -PORT = int(os.getenv("APPLICATION_PORT", "3000")) +PORT = int(os.getenv("APPLICATION_PORT")) diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/resources/index.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/resources/index.py index ad2777b..5832ece 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/src/resources/index.py +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/resources/index.py @@ -3,13 +3,25 @@ The module defines .... """ +from flask import jsonify from flask_restful import Resource class Index(Resource): """ This class defines... """ - def get(self): - """ This function defines... """ + @staticmethod + def status_200(): + """ """ + return jsonify({ + "Message": "Welcome to Myte API", + "Status Code": 200, + }), 200 - return {'hello': 'world'} + @staticmethod + def home(): + """ """ + return jsonify({ + "Message": "Welcome to Myte API", + "Status Code": 200, + }), 200 diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/__init__.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/__init__.py index 4816a9c..1a025d3 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/__init__.py +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/__init__.py @@ -1,2 +1,3 @@ -from .todo import Todo -from .todo_item import TodoItem +from .todo import TodoBlueprint +from .todo_item import TodoItemBlueprint +from .index import IndexBlueprint diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/index.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/index.py new file mode 100644 index 0000000..4c670e2 --- /dev/null +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/index.py @@ -0,0 +1,18 @@ +# index.py +""" +The module defines .... +""" + +# imports + +from flask import Blueprint +from resources import Index + +# configuration + +IndexBlueprint = Blueprint("index", __name__) + +# routes + +IndexBlueprint.route("/index", methods=['GET'])(Index.status_200) +IndexBlueprint.route("/", methods=['GET'])(Index.home) diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo.py index ad04df9..b91e597 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo.py +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo.py @@ -6,7 +6,6 @@ # imports from flask import Blueprint - from resources import Todo # configuration diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo_item.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo_item.py index a4f2eba..7a252d5 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo_item.py +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/routes/todo_item.py @@ -6,7 +6,6 @@ # imports from flask import Blueprint - from resources import TodoItem # configuration diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/src/server.py b/packages/create_myte/templates/template-flask-restful-api-robust/src/server.py index 9149964..4fd514c 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/src/server.py +++ b/packages/create_myte/templates/template-flask-restful-api-robust/src/server.py @@ -12,13 +12,12 @@ # imports +import config +import routes from flasgger import Swagger from flask import Blueprint, Flask from flask_migrate import Migrate from flask_restful import Api - -import config -import routes from models import db # instantiation/configuration diff --git a/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt b/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt index 522d910..d901d6b 100644 --- a/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt +++ b/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt @@ -1,20 +1,37 @@ -alembic==1.12.1 +alembic==1.13.1 aniso8601==9.0.1 +autopep8==2.0.2 blinker==1.7.0 +certifi==2023.5.7 click==8.1.7 colorama==0.4.6 -Flask==3.0.0 +distlib==0.3.6 +filelock==3.12.0 +flake8==6.0.0 +Flask==3.0.1 +Flask-Cors==4.0.0 Flask-Migrate==4.0.5 Flask-RESTful==0.3.10 Flask-SQLAlchemy==3.1.1 -greenlet==3.0.1 +Flask-WTF==1.2.1 +greenlet==3.0.3 +isort==5.13.2 itsdangerous==2.1.2 Jinja2==3.1.3 -Mako==1.2.4 -MarkupSafe==2.1.3 -python-dotenv==1.0.0 +Mako==1.3.0 +MarkupSafe==2.1.4 +mccabe==0.7.0 +pipenv==2023.6.18 +platformdirs==3.5.1 +psycopg2==2.9.9 +pycodestyle==2.10.0 +pyflakes==3.0.1 +python-dotenv==1.0.1 pytz==2023.3.post1 six==1.16.0 -SQLAlchemy==2.0.23 -typing_extensions==4.8.0 +SQLAlchemy==2.0.25 +typing_extensions==4.9.0 +virtualenv==20.23.0 +virtualenv-clone==0.5.7 Werkzeug==3.0.1 +WTForms==3.1.2 diff --git a/packages/create_myte/templates/template-flask-robust/requirements.txt b/packages/create_myte/templates/template-flask-robust/requirements.txt index 67a0508..d90ee91 100644 --- a/packages/create_myte/templates/template-flask-robust/requirements.txt +++ b/packages/create_myte/templates/template-flask-robust/requirements.txt @@ -1,20 +1,33 @@ -alembic==1.13.0 +alembic==1.13.1 +autopep8==2.0.2 blinker==1.7.0 +certifi==2023.5.7 click==8.1.7 colorama==0.4.6 -Flask==3.0.0 +distlib==0.3.6 +filelock==3.12.0 +flake8==6.0.0 +Flask==3.0.1 Flask-Cors==4.0.0 Flask-Migrate==4.0.5 Flask-SQLAlchemy==3.1.1 Flask-WTF==1.2.1 -greenlet==3.0.2 +greenlet==3.0.3 +isort==5.13.2 itsdangerous==2.1.2 Jinja2==3.1.3 Mako==1.3.0 -MarkupSafe==2.1.3 +MarkupSafe==2.1.4 +mccabe==0.7.0 +pipenv==2023.6.18 +platformdirs==3.5.1 psycopg2==2.9.9 -python-dotenv==1.0.0 -SQLAlchemy==2.0.23 +pycodestyle==2.10.0 +pyflakes==3.0.1 +python-dotenv==1.0.1 +SQLAlchemy==2.0.25 typing_extensions==4.9.0 +virtualenv==20.23.0 +virtualenv-clone==0.5.7 Werkzeug==3.0.1 -WTForms==3.1.1 +WTForms==3.1.2 diff --git a/packages/create_myte/templates/template-flask-simple/config.py b/packages/create_myte/templates/template-flask-simple/config.py index b0d17f5..e8e4eb4 100644 --- a/packages/create_myte/templates/template-flask-simple/config.py +++ b/packages/create_myte/templates/template-flask-simple/config.py @@ -30,12 +30,12 @@ SQLALCHEMY_DATABASE_URI = f'postgresql://{DATABASE_USERNAME}:{DATABASE_PASSWORD}@{DATABASE_HOST}:{DATABASE_PORT}/{DATABASE_NAME}' # noqa # # mySQL (pip install mysql-connector-python) -# uncomment line 35 to use MySQL DB and comment line 30 +# uncomment line 35 to use MySQL DB and comment out line 30 # SQLALCHEMY_DATABASE_URI = f'mysql://{DATABASE_USERNAME}:{DATABASE_PASSWORD}@{DATABASE_HOST}:{DATABASE_PORT}/{DATABASE_NAME}' # noqa # # SQLite (goto https://www.sqlite.org/download.html, download and install, if you've not) # noqa -# uncomment line 40 to use SQLite DB and comment line 30 +# uncomment line 40 to use SQLite DB and comment out line 30 # SQLALCHEMY_DATABASE_URI = f'sqlite:///{DATABASE_NAME}.db' diff --git a/packages/create_myte/templates/template-flask-simple/models.py b/packages/create_myte/templates/template-flask-simple/models.py index 24372c3..70e1b11 100644 --- a/packages/create_myte/templates/template-flask-simple/models.py +++ b/packages/create_myte/templates/template-flask-simple/models.py @@ -18,7 +18,7 @@ class Parent(db.Model): - ''' Defines the model for parent details''' + ''' Defines the model for parent details ''' __tablename__ = 'parents' diff --git a/packages/create_myte/templates/template-flask-simple/requirements.txt b/packages/create_myte/templates/template-flask-simple/requirements.txt index edd9e4a..d90ee91 100644 --- a/packages/create_myte/templates/template-flask-simple/requirements.txt +++ b/packages/create_myte/templates/template-flask-simple/requirements.txt @@ -1,17 +1,33 @@ -alembic==1.12.1 -blinker==1.6.3 +alembic==1.13.1 +autopep8==2.0.2 +blinker==1.7.0 +certifi==2023.5.7 click==8.1.7 colorama==0.4.6 -Flask==3.0.0 +distlib==0.3.6 +filelock==3.12.0 +flake8==6.0.0 +Flask==3.0.1 +Flask-Cors==4.0.0 Flask-Migrate==4.0.5 Flask-SQLAlchemy==3.1.1 -greenlet==3.0.1 +Flask-WTF==1.2.1 +greenlet==3.0.3 +isort==5.13.2 itsdangerous==2.1.2 Jinja2==3.1.3 -Mako==1.2.4 -MarkupSafe==2.1.3 +Mako==1.3.0 +MarkupSafe==2.1.4 +mccabe==0.7.0 +pipenv==2023.6.18 +platformdirs==3.5.1 psycopg2==2.9.9 -python-dotenv==1.0.0 -SQLAlchemy==2.0.22 -typing_extensions==4.8.0 +pycodestyle==2.10.0 +pyflakes==3.0.1 +python-dotenv==1.0.1 +SQLAlchemy==2.0.25 +typing_extensions==4.9.0 +virtualenv==20.23.0 +virtualenv-clone==0.5.7 Werkzeug==3.0.1 +WTForms==3.1.2 From 1576a3a8dc63ab5bfab36c70521f384a6e000c60 Mon Sep 17 00:00:00 2001 From: Samuel Doghor <56834362+samdoghor@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:20:15 +0100 Subject: [PATCH 3/3] chore --- .../template-flask-restful-api-robust/requirements.txt | 2 +- .../template-flask-restful-api-simple/requirements.txt | 2 +- .../templates/template-flask-robust/requirements.txt | 2 +- .../templates/template-flask-simple/requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt b/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt index e8f8c40..24f731f 100644 --- a/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt +++ b/packages/create_myte/templates/template-flask-restful-api-robust/requirements.txt @@ -29,7 +29,7 @@ mistune==3.0.2 packaging==23.2 pipenv==2023.6.18 platformdirs==3.5.1 -psycopg2==2.9.9 +# psycopg2==2.9.9 pycodestyle==2.10.0 pyflakes==3.0.1 python-dotenv==1.0.1 diff --git a/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt b/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt index d901d6b..7d0a3d8 100644 --- a/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt +++ b/packages/create_myte/templates/template-flask-restful-api-simple/requirements.txt @@ -23,7 +23,7 @@ MarkupSafe==2.1.4 mccabe==0.7.0 pipenv==2023.6.18 platformdirs==3.5.1 -psycopg2==2.9.9 +# psycopg2==2.9.9 pycodestyle==2.10.0 pyflakes==3.0.1 python-dotenv==1.0.1 diff --git a/packages/create_myte/templates/template-flask-robust/requirements.txt b/packages/create_myte/templates/template-flask-robust/requirements.txt index d90ee91..a63049a 100644 --- a/packages/create_myte/templates/template-flask-robust/requirements.txt +++ b/packages/create_myte/templates/template-flask-robust/requirements.txt @@ -21,7 +21,7 @@ MarkupSafe==2.1.4 mccabe==0.7.0 pipenv==2023.6.18 platformdirs==3.5.1 -psycopg2==2.9.9 +# psycopg2==2.9.9 pycodestyle==2.10.0 pyflakes==3.0.1 python-dotenv==1.0.1 diff --git a/packages/create_myte/templates/template-flask-simple/requirements.txt b/packages/create_myte/templates/template-flask-simple/requirements.txt index d90ee91..a63049a 100644 --- a/packages/create_myte/templates/template-flask-simple/requirements.txt +++ b/packages/create_myte/templates/template-flask-simple/requirements.txt @@ -21,7 +21,7 @@ MarkupSafe==2.1.4 mccabe==0.7.0 pipenv==2023.6.18 platformdirs==3.5.1 -psycopg2==2.9.9 +# psycopg2==2.9.9 pycodestyle==2.10.0 pyflakes==3.0.1 python-dotenv==1.0.1