Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: python3-pymongo is supported upstream, but currently disabled in the spec file Version-Release number of selected component (if applicable): 2.2 supports python3, but current is 2.2.1 Expected results: python3-pymongo should be there :) It seems to work fine over here: ~/rpmbuild/BUILD/pymongo-2.2.1/test ~/rpmbuild/BUILD/pymongo-2.2.1 + truncate --size=0 __init__.py + nosetests '--exclude=(^test_binary$|^test_collection$|^test_common$|^test_connection$|^test_cursor$|^test_database$|^test_grid_file$|^test_gridfs$|^test_master_slave_connection$|^test_paired$|^test_pooling$|^test_pymongo$|^test_replica_set_connection$|^test_son_manipulator$|^test_threads$|^test_threads_replica_set_connection$)' ..............................................................SSSSSSSSSSSSSSSSSSSSSSSS.....SS............ ---------------------------------------------------------------------- Ran 105 tests in 0.338s OK (SKIP=26) + popd ~/rpmbuild/BUILD/pymongo-2.2.1 + pushd /home/tomspur/rpmbuild/BUILD/python3-pymongo-2.2.1-1.fc16/test ~/rpmbuild/BUILD/python3-pymongo-2.2.1-1.fc16/test ~/rpmbuild/BUILD/pymongo-2.2.1 + truncate --size=0 __init__.py + nosetests-3.2 '--exclude=(^test_binary$|^test_collection$|^test_common$|^test_connection$|^test_cursor$|^test_database$|^test_grid_file$|^test_gridfs$|^test_master_slave_connection$|^test_paired$|^test_pooling$|^test_pymongo$|^test_replica_set_connection$|^test_son_manipulator$|^test_threads$|^test_threads_replica_set_connection$)' ...................S..........................................SSSSSSSSSSSSSSSSSSSSSSSS.....SS............ ---------------------------------------------------------------------- Ran 105 tests in 0.697s OK (SKIP=27) Note, that the *.so libraries have changed a bit in python3: /usr/lib64/python2.7/site-packages/pymongo/_cmessage.so /usr/lib64/python3.2/site-packages/pymongo/_cmessage.cpython-32mu.so This is needed for python3-ipython.
I have made some changes to the spec to update to pymongo 2.3 and to add support for Python 3: spec file: http://aml.cs.byu.edu/~amcnabb/pymongo.spec SRPM: http://aml.cs.byu.edu/~amcnabb/pymongo-2.3-1.fc17.src.rpm diff: http://aml.cs.byu.edu/~amcnabb/pymongo.spec.diff Since the package should be renamed to python-pymongo anyway, it might make sense to submit these in conjunction with a new package request.
I have submitted a review request, bug #880387, for a renamed package that includes Python 3 support.
python-pymongo-2.3-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-pymongo-2.3-3.fc18
python-pymongo-2.3-3.fc18 has been pushed to the Fedora 18 testing repository.
python-pymongo-2.3-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-pymongo-2.3-4.fc18
python-pymongo-2.3-4.fc18 has been pushed to the Fedora 18 stable repository.