From 5053cd83ca2c72086f1ce2e7905b88583fca40c5 Mon Sep 17 00:00:00 2001 From: Edoardo Altamura <38359901+edoaltamura@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:33:39 +0100 Subject: [PATCH 1/4] Prepare to sanitize docs (#849) * Fix StackOverflow formatting typo in `README.md` (#847) * Fix StackOverflow formatting typo * Bump numpy version to 2 * Post release 0.8 (#844) * Change version and activate stable tutorial tests * Bump VERSION.txt * Bump numpy version to 2 * Revert mergify and stable tutorials --- .github/workflows/main.yml | 2 +- README.md | 3 +-- constraints.txt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4cc1e962..1e3eeb01f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -312,4 +312,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: coveralls --service=github - shell: bash \ No newline at end of file + shell: bash diff --git a/README.md b/README.md index 3149a1aef..a5ba7d135 100644 --- a/README.md +++ b/README.md @@ -177,8 +177,7 @@ We use [GitHub issues](https://github.com/qiskit-community/qiskit-machine-learni [join the Qiskit Slack community](https://qisk.it/join-slack) and use the [`#qiskit-machine-learning`](https://qiskit.enterprise.slack.com/archives/C07JE3V55C1) channel for discussions and short questions. -For questions that are more suited for a forum, you can use the **Qiskit** tag in [Stack Overflow] -(https://stackoverflow.com/questions/tagged/qiskit). +For questions that are more suited for a forum, you can use the **Qiskit** tag in [Stack Overflow](https://stackoverflow.com/questions/tagged/qiskit). ## Humans behind Qiskit Machine Learning diff --git a/constraints.txt b/constraints.txt index cc3e94d2c..c3a76a69a 100644 --- a/constraints.txt +++ b/constraints.txt @@ -1 +1 @@ -numpy>=1.20 +numpy>=2 From b7a155c9d0f21d5df657c8fb7687f2a2bfb78581 Mon Sep 17 00:00:00 2001 From: "M. Emre Sahin" <40424147+OkuyanBoga@users.noreply.github.com> Date: Wed, 13 Nov 2024 20:50:58 +0000 Subject: [PATCH 2/4] Reducing numpy version for deploy-docs.yml to fix numpy 2.0 bug (#851) --- .github/workflows/deploy-docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b26b9f8da..9f6c7a310 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -38,6 +38,7 @@ jobs: run: | pip install jupyter qiskit[visualization] 'torchvision<0.10.0' sudo apt-get install -y pandoc graphviz + pip install -I numpy==1.26.4 shell: bash - name: Build docs env: From 4223d7f4555ca92b88c892091339fd1bae24e8ff Mon Sep 17 00:00:00 2001 From: "M. Emre Sahin" <40424147+OkuyanBoga@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:30:53 -0500 Subject: [PATCH 3/4] Update deploy-docs.yml (#853) - Updated Python version from 3.9 to 3.10. - Removed version constraint on torchvision. - Removed Numpy version constraint. --- .github/workflows/deploy-docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 9f6c7a310..bbc13bbe4 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: [3.10] steps: - uses: actions/checkout@v4 with: @@ -36,9 +36,8 @@ jobs: - uses: ./.github/actions/install-machine-learning - name: Install Dependencies run: | - pip install jupyter qiskit[visualization] 'torchvision<0.10.0' + pip install jupyter qiskit[visualization] torchvision sudo apt-get install -y pandoc graphviz - pip install -I numpy==1.26.4 shell: bash - name: Build docs env: From 85ac9903cd97470165f06f8514678451b92e7220 Mon Sep 17 00:00:00 2001 From: Oscar <108736468+oscar-wallis@users.noreply.github.com> Date: Fri, 15 Nov 2024 18:44:02 +0000 Subject: [PATCH 4/4] Update deploy-docs.yml to '3.10' (#854) --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index bbc13bbe4..a133606d9 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.10] + python-version: ['3.10'] steps: - uses: actions/checkout@v4 with: