Open Bug 1690928 Opened 4 years ago

Remove deprecation warnings for manual ingestion

Categories

(Tree Management :: Treeherder: Data Ingestion, task, P3)

Tracking

(Not tracked)

People

(Reporter: sclements, Unassigned)

Details

(Copied from a Treeherder github repo issue, originally filed by armenzg)

Running ./manage.py ingest git-push throws a bunch of warnings (not exclusive to this script).

Since we have Celery queues, we can simply removing the asyncio complexity and these warnings by not trying to do things with asynchronously:
75dc375

e.g.

taskcluster/aio/asyncutils.py:17: DeprecationWarning: The object should be created from async function
aiohttp/connector.py:731: DeprecationWarning: The object should be created from async function
loop=loop)
aiohttp/connector.py:736: DeprecationWarning: The object should be created from async function
resolver = DefaultResolver(loop=self._loop)
aiohttp/cookiejar.py:55: DeprecationWarning: The object should be created from async function
super().init(loop=loop)
You need to log in before you can comment on or make changes to this bug.