This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #555 from mtreinish/prepare-0.5.2
Prepare 0.5.2 release
- Loading branch information
Showing
13 changed files
with
75 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8] | ||
os: ["macOS-latest", "ubuntu-latest"] | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: ["ubuntu-latest"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -31,12 +31,36 @@ jobs: | |
run: python -m pip install -U tox setuptools virtualenv wheel | ||
- name: Install and Run Tests | ||
run: tox -e py | ||
if: runner.os != 'macOS' | ||
|
||
tests-macos: | ||
name: tests-python${{ matrix.python-version }}-${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: ["macOS-latest"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Pip cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ matrix.python-version }}-pip-tests- | ||
${{ runner.os }}-${{ matrix.python-version }}-pip- | ||
${{ runner.os }}-${{ matrix.python-version }} | ||
- name: Install Deps | ||
run: python -m pip install -U tox setuptools virtualenv wheel cvxopt | ||
- name: Install and Run Tests | ||
run: tox --sitepackages -e py | ||
env: | ||
QISKIT_IN_PARALLEL: TRUE | ||
run: tox -e py | ||
if: runner.os == 'macOS' | ||
|
||
tests-no-opt: | ||
name: tests-python3.8-no-optional-dependencies | ||
runs-on: ${{ matrix.os }} | ||
|
@@ -68,9 +92,11 @@ jobs: | |
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8] | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
|
@@ -90,6 +116,7 @@ jobs: | |
- name: Install and Run Tests | ||
run: tox --sitepackages -epy | ||
shell: bash -l {0} | ||
|
||
lint: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
|
@@ -164,7 +191,7 @@ jobs: | |
git clone https://github.com/Qiskit/qiskit-tutorials --depth=1 | ||
python -m pip install --upgrade pip | ||
pip install -U -r requirements-dev.txt -c constraints.txt | ||
pip install -c constraints.txt git+https://github.com/Qiskit/qiskit-terra | ||
pip install -c constraints.txt git+https://github.com/Qiskit/qiskit-terra@stable/0.16 | ||
pip install -c constraints.txt -e . | ||
pip install -U "qiskit-ibmq-provider" "qiskit-aer" "z3-solver" "qiskit-ignis" "qiskit-aqua" "pyscf<1.7.4" "matplotlib<3.3.0" pylatexenc sphinx nbsphinx sphinx_rtd_theme cvxpy -c constraints.txt | ||
python setup.py build_ext --inplace | ||
|
@@ -175,7 +202,7 @@ jobs: | |
run: | | ||
set -e | ||
cd qiskit-tutorials | ||
rm -rf tutorials/chemistry tutorials/circuits tutorials/circuits_advanced tutorials/finance tutorials/optimization tutorials/simulators | ||
rm -rf tutorials/chemistry tutorials/circuits tutorials/circuits_advanced tutorials/finance tutorials/optimization tutorials/simulators tutorials/machine_learning tutorials/algorithms | ||
sphinx-build -b html . _build/html | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ astroid==2.3.3 | |
pywin32==225 | ||
setuptools==49.6.0 | ||
pyfakefs==4.1.0 | ||
cvxpy==1.1.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.5.1 | ||
0.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
releasenotes/notes/0.5.2-release-notes-d1553293c80e2ec2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
prelude: > | ||
This release is a bugfix release that primarily fixes compatibility with | ||
numpy 1.20.0. It is also the first release to include support for Python | ||
3.9. Earlier releases (including 0.5.0 and 0.5.1) worked with Python 3.9 | ||
but did not indicate this in the package metadata, and there was no upstream | ||
testing for those releases. This release fixes that and was tested on | ||
Python 3.9 (in addition to 3.6, 3.7, and 3.8). | ||
fixes: | ||
- | | ||
`networkx <https://networkx.org/>`__ is explicitly listed as a dependency | ||
now. It previously was an implicit dependency as it was required for the | ||
:mod:`qiskit.ignis.verification.topological_codes` module but was not | ||
correctly listed as a depdendency as qiskit-terra also requires networkx | ||
and is also a depdency of ignis so it would always be installed in practice. | ||
However, it is necessary to list it as a requirement for future releases | ||
of qiskit-terra that will not require networkx. It's also important to | ||
correctly list the dependencies of ignis in case there were a future | ||
incompatibility between version requirements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters