From ad0ec1814729efa47c403d1fad2bf17105a27458 Mon Sep 17 00:00:00 2001 From: Federico-PizarroBejarano Date: Thu, 23 May 2024 09:25:59 -0700 Subject: [PATCH] Fixing mysql vulnerability and upgrading some code --- .github/workflows/push.yml | 4 ++-- README.md | 4 ++-- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9eefec0d1..dbf5996ca 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -17,10 +17,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest + python -m pip install pytest - name: Install package run: | - pip install -e . + python -m pip install -e . - name: Run Linting run: | pre-commit install diff --git a/README.md b/README.md index 803a0c984..24c94fc78 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ conda activate safe Install the `safe-control-gym` repository ```bash -pip install --upgrade pip -pip install -e . +python -m pip install --upgrade pip +python -m pip install -e . ``` #### Note diff --git a/pyproject.toml b/pyproject.toml index cf46e6bd8..1154ffea5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ pre-commit = "^3.3.2" optuna = "^3.0" optuna-dashboard = "^0.9" mysql-connector-python = "8.0.33" -pymysql = "1.0.3" +pymysql = "1.1.1" [tool.poetry.dev-dependencies]