Bug 1033941

Summary: Please update to more recent version
Product: [Fedora] Fedora Reporter: Thomas Spura <tomspur>
Component: python-asyncmongoAssignee: Orphan Owner <extras-orphan>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: silas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 10:37:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1028219    

Description Thomas Spura 2013-11-24 14:57:07 UTC
While updating python-tornato to a more recent version, I noted that python-asnycmongo is quite old and there have been several versions after that [1].

Please consider updating python-asyncmongo as well.

[1] https://github.com/bitly/asyncmongo/releases

Comment 1 Thomas Spura 2013-11-24 15:24:47 UTC
Could you also please check, if it works with python-tornado-3.1.1?

It seems it is not compatible anymore:
======================================================================
ERROR: test_update_safe (test.test_safe_updates.SafeUpdatesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "asyncmongo-1.2.1/test/test_safe_updates.py", line 24, in test_update_safe
    db.test_stats.update({"_id" : TEST_TIMESTAMP}, {'$inc' : {'test_count' : 1}}, safe=False, upsert=True)
  File "asyncmongo-1.2.1/asyncmongo/cursor.py", line 250, in update
    connection.close()
  File "asyncmongo-1.2.1/asyncmongo/connection.py", line 104, in close
    self._close()
  File "asyncmongo-1.2.1/asyncmongo/connection.py", line 100, in _close
    self.__stream.close()
  File "asyncmongo-1.2.1/asyncmongo/backends/tornado_backend.py", line 34, in close
    self.__stream.close()
  File "/usr/lib/python2.7/site-packages/tornado/iostream.py", line 252, in close
    self.io_loop.remove_handler(self.fileno())
  File "/usr/lib/python2.7/site-packages/tornado/ioloop.py", line 258, in remove_handler
    raise NotImplementedError()

I guess, we need to use PollIOLoop now and plain IOLoop only contains those NotImplementedErrors...

Comment 2 Thomas Spura 2013-12-02 13:18:07 UTC
It seems asyncmongo depends on python-tornado 2.4 and 3.0 cannot be used.

Let's see what upstream says about this:
https://github.com/bitly/asyncmongo/issues/68

Comment 3 Fedora Admin XMLRPC Client 2014-12-09 08:06:38 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Jaroslav Reznik 2015-03-03 15:13:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 5 Fedora End Of Life 2016-07-19 10:37:51 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.