Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Add python 3.8 support and deprecate python 3.5 #298

Merged
merged 16 commits into from
Feb 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ matrix:
- python: "3.5"
env: TOXENV=py35
name: "Python 3.5 Tests"
stage: lint_and_python
stage: all_python
- python: "3.6"
env: TOXENV=py36
name: "Python 3.6 Tests"
Expand All @@ -65,36 +65,46 @@ matrix:
python: "3.7"
env: TOXENV=py37
name: "Python 3.7 Tests"
stage: lint_and_python
- os: linux
dist: xenial
python: "3.8"
env: TOXENV=py38
name: "Python 3.8 Tests"
stage: all_python
- python: "3.7"
dist: xenial
env: TOXENV=lint
name: "Linter Checks"
stage: lint_and_python
# OSX, Python 3.5.6 (via pyenv)
- stage: all_python
name: "Python 3.5 Tests on OSX"
<<: *stage_osx
env:
- MPLBACKEND=ps
- PYTHON_VERSION=3.5.6
- PYTHON_VERSION=3.5.9
- TOXENV=py35
# OSX, Python 3.6.5 (via pyenv)
- stage: all_python
name: "Python 3.6 Tests on OSX"
<<: *stage_osx
env:
- MPLBACKEND=ps
- PYTHON_VERSION=3.6.5
- PYTHON_VERSION=3.6.10
- TOXENV=py36
# OSX, Python 3.7.2 (via pyenv)
- stage: all_python
- stage: lint_and_python
<<: *stage_osx
name: "Python 3.7 Tests on OSX"
env:
- MPLBACKEND=ps
- PYTHON_VERSION=3.7.2
- PYTHON_VERSION=3.7.6
- TOXENV=py37
- stage: all_python
<<: *stage_osx
name: "Python 3.8 Tests on OSX"
env:
- MPLBACKEND=ps
- PYTHON_VERSION=3.8.1
- TOXENV=py38
- if: tag IS present
python: "3.6"
env:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Pulse calibrations for single qubits (\#292, \#302, \#303, \#304)
- Pulse Discriminator (\#238, \#278, \#297, \#316)

### Deprecated

- Python 3.5 support in qiskit-ignis is deprecated. Support will be
removed on the upstream python community's end of life date for the version,
which is 09/13/2020.


## [0.2.0](https://github.com/Qiskit/qiskit/compare/0.1.1...0.2.0)- 2019-08-22

### Added
Expand Down
8 changes: 8 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
Python37:
python.version: '3.7'
TOXENV: py37
Python38:
python.version: '3.8'
TOXENV: py38

steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
Expand All @@ -60,6 +63,11 @@ jobs:
conda install --yes --quiet --name qiskit-ignis --channel conda-forge python=%PYTHON_VERSION% scs
displayName: Install Anaconda packages
condition: ne(variables['python.version'], '3.5')
- script: |
call activate qiskit-ignis
conda install --yes --quiet --name qiskit-ignis --channel conda-forge python=%PYTHON_VERSION% osqp
displayName: Install Anaconda packages
condition: eq(variables['python.version'], '3.8')
- powershell: (new-object System.Net.WebClient).DownloadFile($env:OPENBLAS, 'c:\openblas.zip')
condition: eq(variables['python.version'], '3.5')
displayName: 'Download openblas'
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
],
keywords="qiskit sdk quantum",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 2.1
envlist = py35, py36, py37, lint
envlist = py35, py36, py37, py38, lint
skipsdist = True

[testenv]
Expand Down