Python 3.4 test case is failing due to DeprecationWarning on setuptools >= 11.3

Bug #1586060 reported by Dinesh Bhor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sqlalchemy-migrate
Fix Released
Medium
Dinesh Bhor

Bug Description

migrate.tests.versioning.test_util.TestUtil.test_load_model
-----------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b' File "/opt/stack/sqlalchemy-migrate/migrate/tests/versioning/test_util.py", line 113, in test_load_model'
    b' self.assertEqual(len(w),1)'
    b' File "/opt/stack/sqlalchemy-migrate/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 321, in assertEqual'
    b' self.assertThat(observed, matcher, message)'
    b' File "/opt/stack/sqlalchemy-migrate/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 406, in assertThat'
    b' raise mismatch_error'
    b'testtools.matchers._impl.MismatchError: 2 != 1'
    b''

Changed in sqlalchemy-migrate:
assignee: nobody → Dinesh Bhor (dinesh-bhor)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sqlalchemy-migrate (master)

Fix proposed to branch: master
Review: https://review.openstack.org/321586

Changed in sqlalchemy-migrate:
status: New → In Progress
Matt Riedemann (mriedem)
Changed in sqlalchemy-migrate:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sqlalchemy-migrate (master)

Reviewed: https://review.openstack.org/321586
Committed: https://git.openstack.org/cgit/openstack/sqlalchemy-migrate/commit/?id=9356e5e28aff46b98db9619b55dc191b6843a217
Submitter: Jenkins
Branch: master

commit 9356e5e28aff46b98db9619b55dc191b6843a217
Author: dineshbhor <email address hidden>
Date: Thu May 26 20:04:09 2016 +0530

    Fix DeprecationWarning on setuptools >= 11.3

    Python 3.4 unit test is failing because of
    DeprecationWarning: Parameters to load are deprecated.
    Called .resolve and .require separately on setuptools >= 11.3.

    Made provision to call .resolve() method if setuptools >= 10.2
    and less than 11.3 else call .load() method.

    Change-Id: I5ba80edfbf6b7c8399c66f01d57c91bd02eab274
    Closes-Bug: #1586060

Changed in sqlalchemy-migrate:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sqlalchemy-migrate 0.11.0

This issue was fixed in the openstack/sqlalchemy-migrate 0.11.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.