{"action":"created","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/1625","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/1625/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/1625/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/1625/events","html_url":"https://github.com/scrapy/scrapy/issues/1625","id":120312662,"number":1625,"title":"Test failure: IStreamClientEndpointStringParser removed from twisted 15.5","user":{"login":"palego","id":15500281,"avatar_url":"https://avatars.githubusercontent.com/u/15500281?v=3","gravatar_id":"","url":"https://api.github.com/users/palego","html_url":"https://github.com/palego","followers_url":"https://api.github.com/users/palego/followers","following_url":"https://api.github.com/users/palego/following{/other_user}","gists_url":"https://api.github.com/users/palego/gists{/gist_id}","starred_url":"https://api.github.com/users/palego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palego/subscriptions","organizations_url":"https://api.github.com/users/palego/orgs","repos_url":"https://api.github.com/users/palego/repos","events_url":"https://api.github.com/users/palego/events{/privacy}","received_events_url":"https://api.github.com/users/palego/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-04T01:34:51Z","updated_at":"2015-12-04T01:41:03Z","closed_at":"2015-12-04T01:41:03Z","body":"As indicated at https://twistedmatrix.com/trac/browser/trunk/NEWS, a Twisted interface that had been deprecated was removed from the latest version:\r\n\r\nv14.0.0\r\ntwisted.internet.interfaces.IStreamClientEndpointStringParser is now deprecated in favor of twisted.internet.interfaces.IStreamClientEndpointStringParserWithReactor. (#5069)\r\n\r\nv15.5.0\r\ntwisted.internet.interfaces.IStreamClientEndpointStringParser has been removed and Twisted will no longer use parsers implementing this interface. (#8094)\r\n\r\nThis causes the py27 series of Tox tests to fail in the following fashion:\r\n```\r\n========================================================================== ERRORS ===========================================================================\r\n_________________________________________________________ ERROR collecting scrapy/xlib/tx/client.py _________________________________________________________\r\nscrapy/xlib/tx/client.py:37: in <module>\r\n    from .endpoints import TCP4ClientEndpoint, SSL4ClientEndpoint\r\nscrapy/xlib/tx/endpoints.py:27: in <module>\r\n    from twisted.internet.interfaces import IStreamClientEndpointStringParser\r\nE   ImportError: cannot import name IStreamClientEndpointStringParser\r\n_______________________________________________________ ERROR collecting scrapy/xlib/tx/endpoints.py ________________________________________________________\r\nscrapy/xlib/tx/endpoints.py:27: in <module>\r\n    from twisted.internet.interfaces import IStreamClientEndpointStringParser\r\nE   ImportError: cannot import name IStreamClientEndpointStringParser\r\n=============================================== 1279 passed, 2 skipped, 13 xfailed, 2 error in 212.51 seconds ===============================================\r\nERROR: InvocationError: '/home/polo/scrapy/.tox/py27/bin/py.test --cov=scrapy --cov-report= scrapy tests'\r\n__________________________________________________________________________ summary __________________________________________________________________________\r\nERROR:   py27: commands failed```\r\n\r\nWith the newer interface IStreamClientEndpointStringParserWithReactor, the method  parseStreamClient now takes the reactor as an additional parameter (http://twistedmatrix.com/documents/current)./api/twisted.internet.interfaces.IStreamClientEndpointStringParserWithReactor.html)."},"comment":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/comments/161847085","html_url":"https://github.com/scrapy/scrapy/issues/1625#issuecomment-161847085","issue_url":"https://api.github.com/repos/scrapy/scrapy/issues/1625","id":161847085,"user":{"login":"palego","id":15500281,"avatar_url":"https://avatars.githubusercontent.com/u/15500281?v=3","gravatar_id":"","url":"https://api.github.com/users/palego","html_url":"https://github.com/palego","followers_url":"https://api.github.com/users/palego/followers","following_url":"https://api.github.com/users/palego/following{/other_user}","gists_url":"https://api.github.com/users/palego/gists{/gist_id}","starred_url":"https://api.github.com/users/palego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palego/subscriptions","organizations_url":"https://api.github.com/users/palego/orgs","repos_url":"https://api.github.com/users/palego/repos","events_url":"https://api.github.com/users/palego/events{/privacy}","received_events_url":"https://api.github.com/users/palego/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T01:41:03Z","updated_at":"2015-12-04T01:41:03Z","body":"Nevermind, poor search through issues and PR on my side. This is taken care of by PR #1622."}}