From 9c61d0382cb1e34d13b39f1a0f3268c96e7d4dd9 Mon Sep 17 00:00:00 2001 From: Kamui Date: Wed, 13 Sep 2023 15:01:15 -0500 Subject: [PATCH 1/2] test: validator error and python3.11 deps support --- cypress/e2e/create-plan.cy.ts | 5 +++++ validator/requirements.txt | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/create-plan.cy.ts b/cypress/e2e/create-plan.cy.ts index f92cbf2c0..f873f11f1 100644 --- a/cypress/e2e/create-plan.cy.ts +++ b/cypress/e2e/create-plan.cy.ts @@ -49,5 +49,10 @@ describe('Plan creation flow', () => { .then(($el) => $el.text()) .should('eq', major); }); + + cy.get('#tutorial-editor-1 svg.animate-spin').should('not.exist', { timeout: 10000 }); + cy.get('#tutorial-editor-1') + .contains('It seems like a screw has gone loose!', { timeout: 0 }) + .should('be.empty'); }); }); diff --git a/validator/requirements.txt b/validator/requirements.txt index 49ce278ee..3cdb804fe 100644 --- a/validator/requirements.txt +++ b/validator/requirements.txt @@ -24,12 +24,12 @@ mypy==1.0.0 mypy-extensions==0.4.3 numpy==1.23.4 ordered-set==4.1.0 -ortools==9.4.1874 +ortools==9.7.2996 packaging==22.0 pathspec==0.10.3 platformdirs==2.6.0 pluggy==1.0.0 -protobuf==4.21.7 +protobuf==4.23.3 pydantic==1.10.2 Pygments==2.15.0 pyparsing==3.0.9 From 45b56e3cb2e7c9d2644c89306695c86331151c66 Mon Sep 17 00:00:00 2001 From: Kamui Date: Thu, 14 Sep 2023 09:35:31 -0500 Subject: [PATCH 2/2] chore: update ci python to 3.11 --- .github/workflows/tests.yml | 4 ++-- .github/workflows/validator_test.yml | 2 +- README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 182b6240f..22ed24b0e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -72,10 +72,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Setup Python3.10 + - name: Setup Python3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Start validator server working-directory: validator diff --git a/.github/workflows/validator_test.yml b/.github/workflows/validator_test.yml index a798837ef..8f78c2e20 100644 --- a/.github/workflows/validator_test.yml +++ b/.github/workflows/validator_test.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | diff --git a/README.md b/README.md index e177a6b18..0ccc9d997 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To be able to start development on Planner make sure that you have the following - [Node.js v16 or above](https://nodejs.org/en) - [Git](https://git-scm.com/downloads) -- [Python3.10](https://www.python.org/downloads) +- [Python3.11](https://www.python.org/downloads)
@@ -144,7 +144,7 @@ npm install ```bash cd validator - python3.10 -m venv venv # Create virtual environment + python3.11 -m venv venv # Create virtual environment source venv/bin/activate # Use virtual enviornment pip install -r requirements.txt # Install dependencies flask --app api run