Skip to content

Commit

Permalink
Pre-release for 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
OkuyanBoga committed Dec 9, 2024
2 parents 746ca3d + 94ccb0a commit fbdc53e
Show file tree
Hide file tree
Showing 57 changed files with 1,362 additions and 368 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,36 +225,36 @@ jobs:
with:
name: tutorials${{ matrix.python-version }}
path: docs/_build/html/artifacts/tutorials.tar.gz
# - name: Run stable tutorials
# env:
# QISKIT_PARALLEL: False
# QISKIT_DOCS_BUILD_TUTORIALS: 'always'
# run: |
# # clean last sphinx output
# make clean_sphinx
# # get current version
# version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
# # download stable version
# wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
# unzip /tmp/repo.zip -d /tmp/
# # copy stable tutorials to main tutorials
# cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
# # run tutorials and zip results
# echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
# # ignore unreleased/untagged notes
# tools/ignore_untagged_notes.sh
# make html
# cd docs/_build/html
# mkdir artifacts
# tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
# if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
# shell: bash
# - name: Run upload stable tutorials
# uses: actions/upload-artifact@v4
# with:
# name: tutorials-stable${{ matrix.python-version }}
# path: docs/_build/html/artifacts/tutorials.tar.gz
# if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
- name: Run stable tutorials
env:
QISKIT_PARALLEL: False
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
run: |
# clean last sphinx output
make clean_sphinx
# get current version
version=$(pip show qiskit-machine-learning | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)
# download stable version
wget https://codeload.github.com/qiskit-community/qiskit-machine-learning/zip/stable/$version -O /tmp/repo.zip
unzip /tmp/repo.zip -d /tmp/
# copy stable tutorials to main tutorials
cp -R /tmp/qiskit-machine-learning-stable-$version/docs/tutorials/* docs/tutorials
# run tutorials and zip results
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
# ignore unreleased/untagged notes
tools/ignore_untagged_notes.sh
make html
cd docs/_build/html
mkdir artifacts
tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
shell: bash
- name: Run upload stable tutorials
uses: actions/upload-artifact@v4
with:
name: tutorials-stable${{ matrix.python-version }}
path: docs/_build/html/artifacts/tutorials.tar.gz
if: ${{ matrix.python-version == 3.9 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
Deprecation_Messages_and_Coverage:
needs: [Checks, MachineLearning, Tutorials]
runs-on: ubuntu-latest
Expand Down
22 changes: 11 additions & 11 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
queue_rules:
- name: automerge
conditions:
- check-success=Deprecation_Messages_and_Coverage (3.9)

pull_request_rules:
- name: automatic merge on CI success and review
conditions:
queue_conditions:
- check-success=Deprecation_Messages_and_Coverage (3.9)
- "#approved-reviews-by>=1"
- label=automerge
- label!=on hold
actions:
queue:
name: automerge
method: squash
merge_conditions:
- check-success=Deprecation_Messages_and_Coverage (3.9)
merge_method: squash

pull_request_rules:
- name: backport
conditions:
- label=stable backport potential
actions:
backport:
branches:
- stable/0.7
- stable/0.8
- name: automatic merge on CI success and review
conditions: []
actions:
queue:
2 changes: 2 additions & 0 deletions .pylintdict
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ dp
dt
eda
edaspy
egger
eigen
eigenphase
Expand Down Expand Up @@ -576,6 +577,7 @@ vatan
vec
vectorized
veeravalli
vicente
vicentini
vigo
ville
Expand Down
6 changes: 6 additions & 0 deletions docs/apidocs/qiskit_machine_learning.gradients.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. _qiskit-machine-learning-gradients:

.. automodule:: qiskit_machine_learning.gradients
:no-members:
:no-inherited-members:
:no-special-members:
6 changes: 6 additions & 0 deletions docs/apidocs/qiskit_machine_learning.optimizers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. _qiskit-machine-learning-optimizers:

.. automodule:: qiskit_machine_learning.optimizers
:no-members:
:no-inherited-members:
:no-special-members:
6 changes: 6 additions & 0 deletions docs/apidocs/qiskit_machine_learning.state_fidelities.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. _qiskit-machine-learning-state_fidelities:

.. automodule:: qiskit_machine_learning.state_fidelities
:no-members:
:no-inherited-members:
:no-special-members:
Loading

0 comments on commit fbdc53e

Please sign in to comment.