• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-aqua / 4398
84%

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2020 03:29PM UTC
Jobs 1
Files 352
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4398

cron

travis-ci-com

web-flow
Properly deprecate quadratic program ising converter classes (#1178)

* Properly deprecate quadratic program ising converters

In #1061 the ising converter classes were removed without a deprecation
period and then backported to the stable branch. This is a violation of
both the Qiskit deprecation policy [1] and the Qiskit stable branch
policy [2] and should not have been merged like that. This is preventing
the Qiskit metapackage 0.20.0 from being released because the tutorials
as written today do not work with aqua 0.7.4 because of this breaking
change. It should have been deprecated first for an appropriate period
to give users a chance to adjust their code and then removed. During
this period the tutorial could also be updated. This also should never
have been backported to stable since users expect a stable point release
to just contain bugfixes removals and deprecations should not be part of
stable releases. This commit adds back the removed classes and deprecates
them, this will need to be backported and released as 0.7.5. While
normally this deprecation would not be allowed under the backport policy
it is necessary here because we already released a breaking change.

[1] https://qiskit.org/documentation/contributing_to_qiskit.html#deprecation-policy
[2] https://qiskit.org/documentation/contributing_to_qiskit.html#stable-branch-policy

* Fix typo

* Remove broken loop

* Add missing print methods

Running through the tutorials there are more methods that have been
removed that needed to go through a proper deprecation, this commit
starts adding them back. There is still print_details() that needs to be
added back.

* add unit test

* Add print_details to SummedOp

This is needed for backwards compat with the optimziation code which
used to return a legacy WeightedPauliOp object. 'print_details()' is
used in the tutorials on the output from conversion so a deprecated
method is added to add this funcionality... (continued)

18590 of 22426 relevant lines covered (82.89%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
16 4398.16 (DEPENDENCY_BRANCH=$(if [[ "$TRAVIS_BRANCH" == stable* ]]; then echo "stable"; else echo "master"; fi) INIT_FILE="$TRAVIS_BUILD_DIR/qiskit/__init__.py") 09 Aug 2020 03:29PM UTC 0
82.89
Travis Job 4398.16
Source Files on build 4398
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #4398
  • 26d1176f on github
  • Prev Build on master (#4374)
  • Next Build on master (#4403)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc