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

Conversation

mtreinish
Copy link
Collaborator

@mtreinish mtreinish commented Nov 11, 2019

Summary

This commit adds support for running ignis under python 3.8. It does
this by adding the trove classifiers to the package metadata and adding
a test job for python 3.8 At the same time this commit starts the
deprecation window for python 3.5. Python 3.5 goes end of life by
upstream python in Sept. 2020. We should give our users running with
python 3.5 (which is about 10% of qiskit users this year based on pypi
data) fair notice that when upstream python stops supporting it we do as
well. Corresponding to this change, terra is going to start raising a
warning when anything from qiskit.* is imported, see:
Qiskit/qiskit#3268

Details and comments

Python's documented branch support status and EoL dates are listed here:
https://devguide.python.org/#branchstatus

Waiting on upstream dependencies

This commit adds support for running ignis under python 3.8. It does
this by adding the trove classifiers to the package metadata and adding
a test job for python 3.8  At the same time this commit starts the
deprecation window for python 3.5. Python 3.5 goes end of life by
upstream python in Sept. 2020. We should give our users running with
python 3.5 (which is about 10% of qiskit users this year based on pypi
data) fair notice that when upstream python stops supporting it we do as
well. Corresponding to this change, terra is going to start raising a
warning when anything from qiskit.* is imported, see:
Qiskit/qiskit#3268
@mtreinish mtreinish added the on hold Can not fix yet label Nov 11, 2019
mtreinish and others added 8 commits January 21, 2020 21:47
This adds installing aer from source locally so that we can depend on
aer's in progress 3.8 support. When aer 0.4.0 is released we can remove
this since the published version will have 3.8 wheels present.
Now that aer 0.4.0 is released we don't need to build it from source
anymore. This commit updates the jobs to just aer from the latest
release for all jobs.
@mtreinish
Copy link
Collaborator Author

@chriseclectic this should be ready to merge now

@mtreinish mtreinish removed the on hold Can not fix yet label Feb 14, 2020
@chriseclectic
Copy link
Collaborator

@mtreinish Can you change the travis script so that stage 1 is lint, py3.7 linux, and py 3.7 osx rather than lint + py3.5 linux. Then the later test stage can be the remaining pythons 3.5, 3.6, 3.8

@mtreinish
Copy link
Collaborator Author

@mtreinish Can you change the travis script so that stage 1 is lint, py3.7 linux, and py 3.7 osx rather than lint + py3.5 linux. Then the later test stage can be the remaining pythons 3.5, 3.6, 3.8

Ok, done in: 776fd18

@chriseclectic chriseclectic merged commit 004def1 into qiskit-community:master Feb 19, 2020
@mtreinish mtreinish deleted the deprecate-3.5 branch February 19, 2020 22:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants