From 6d8b6da9867291d104f1fb9ce94fa09abcdcbc04 Mon Sep 17 00:00:00 2001 From: Lorenzo Buffoni Date: Fri, 6 Oct 2023 13:45:22 +0200 Subject: [PATCH 1/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c68dee53..97948c27 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Additionally, a fullstack web app built with Flask and PyMongo is available on [ ## Funding This work is financed by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia, within project UIDB/50014/2020. +The project was also partially supported by Next Generation EU, in the context of the National Recovery and Resilience Plan, M4C2 investment 1.2. Project SOE0000098-ThermoQT.
From 1bb516c56ef16565a2da110dd9e8863a65a63876 Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:30:42 +0000 Subject: [PATCH 2/8] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e68da109..c172a8a5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - python -m pip install numpy scipy sympy matplotlib networkx qutip + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 python -m pip install . if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 From 787f44f199476957409fd751aca116a09bfb1177 Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:35:59 +0000 Subject: [PATCH 3/8] Update python-package.yml --- .github/workflows/python-package.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c172a8a5..971c76a4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,14 +28,18 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + if [ ${{ matrix.python-version }} == "3.8" ]; then + python -m pip install numpy==1.19.5 scipy==1.5.4 sympy==1.7 matplotlib==3.3.4 networkx==2.5 qutip==4.6.2 + elif [ ${{ matrix.python-version }} == "3.9" ]; then + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + elif [ ${{ matrix.python-version }} == "3.10" ]; then + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + fi python -m pip install . if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | - # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | From 1f21b85e39899be0f466b6a4011167bb5c60d063 Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:58:07 +0000 Subject: [PATCH 4/8] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 971c76a4..a196cdac 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,7 +29,7 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ ${{ matrix.python-version }} == "3.8" ]; then - python -m pip install numpy==1.19.5 scipy==1.5.4 sympy==1.7 matplotlib==3.3.4 networkx==2.5 qutip==4.6.2 + python -m pip install numpy==1.19.5 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 elif [ ${{ matrix.python-version }} == "3.9" ]; then python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 elif [ ${{ matrix.python-version }} == "3.10" ]; then From de6470da1e106269cdce984319d5188a59b772ed Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 14:59:36 +0000 Subject: [PATCH 5/8] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a196cdac..b98896bd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,7 +29,7 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ ${{ matrix.python-version }} == "3.8" ]; then - python -m pip install numpy==1.19.5 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + python -m pip install numpy==1.19.5 scipy==1.5.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 elif [ ${{ matrix.python-version }} == "3.9" ]; then python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 elif [ ${{ matrix.python-version }} == "3.10" ]; then From 802d5079f1412a60c70172b3c6c00048cf4b635a Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:01:13 +0000 Subject: [PATCH 6/8] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b98896bd..b520c371 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,7 +29,7 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ ${{ matrix.python-version }} == "3.8" ]; then - python -m pip install numpy==1.19.5 scipy==1.5.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + python -m pip install numpy scipy sympy== matplotlib== networkx qutip elif [ ${{ matrix.python-version }} == "3.9" ]; then python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 elif [ ${{ matrix.python-version }} == "3.10" ]; then From f7ac859d1e8f3c2542aa434bda4fdf9c166526cb Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:02:23 +0000 Subject: [PATCH 7/8] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b520c371..7ec57480 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,7 +29,7 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ ${{ matrix.python-version }} == "3.8" ]; then - python -m pip install numpy scipy sympy== matplotlib== networkx qutip + python -m pip install numpy scipy sympy matplotlib networkx qutip elif [ ${{ matrix.python-version }} == "3.9" ]; then python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 elif [ ${{ matrix.python-version }} == "3.10" ]; then From 994e46cf26e54e63359863dcb48837cb4830e27e Mon Sep 17 00:00:00 2001 From: Jaime Santos <50669048+JaimePSantos@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:06:13 +0000 Subject: [PATCH 8/8] Update python-package.yml --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7ec57480..74f47b41 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,11 +29,11 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ ${{ matrix.python-version }} == "3.8" ]; then - python -m pip install numpy scipy sympy matplotlib networkx qutip + python -m pip install numpy==1.24.4 scipy==1.10.1 sympy==1.12 matplotlib==3.7.4 networkx==3.1 qutip==4.7.4 elif [ ${{ matrix.python-version }} == "3.9" ]; then - python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.4 elif [ ${{ matrix.python-version }} == "3.10" ]; then - python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.3 + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.4 fi python -m pip install . if [ -f requirements.txt ]; then pip install -r requirements.txt; fi