Bug 994212 - Add python3 subpackage and split docs into subpackage
Add python3 subpackage and split docs into subpackage
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pyOpenSSL (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tomas Mraz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-06 14:44 EDT by Jeffrey C. Ollie
Modified: 2013-08-27 09:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-27 09:37:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Add python3 subpackage and split docs into subpackage (4.25 KB, patch)
2013-08-06 14:44 EDT, Jeffrey C. Ollie
no flags Details | Diff

  None (edit)
Description Jeffrey C. Ollie 2013-08-06 14:44:11 EDT
Created attachment 783467 [details]
Add python3 subpackage and split docs into subpackage

Attached is a patch that adds a python3 subpackage and splits off docs into a noarch subpackage.  Did a mock build for F19 and the tests ran OK (aside from some gunk which appears to be caused by changes in the testing framework between python2 and python3).
Comment 1 Jeffrey C. Ollie 2013-08-06 14:44:39 EDT
$ python3 /usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py 
/usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:143: DeprecationWarning: Please use assertTrue instead.
  return self.failUnless(*a, **kw)
.../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:1504: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(connection.total_renegotiations(), 0)
../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:176: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  (server, client) = socket_pair()
/usr/lib64/python3.3/unittest/case.py:422: ResourceWarning: unclosed <socket.socket object, fd=5, family=2, type=1, proto=0>
  function()
/usr/lib64/python3.3/unittest/case.py:422: ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=1, proto=0>
  function()
..../usr/lib64/python3.3/unittest/case.py:422: ResourceWarning: unclosed <socket.socket object, fd=7, family=2, type=1, proto=0>
  function()
/usr/lib64/python3.3/unittest/case.py:422: ResourceWarning: unclosed <socket.socket object, fd=6, family=2, type=1, proto=0>
  function()
..../usr/lib64/python3.3/unittest/case.py:422: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  function()
...../usr/lib64/python3.3/unittest/case.py:475: ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=1, proto=0>
  self._executeTestPart(self.setUp, outcome)
/usr/lib64/python3.3/unittest/case.py:475: ResourceWarning: unclosed <socket.socket object, fd=5, family=2, type=1, proto=0>
  self._executeTestPart(self.setUp, outcome)
/usr/lib64/python3.3/unittest/case.py:475: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  self._executeTestPart(self.setUp, outcome)
/usr/lib64/python3.3/unittest/case.py:422: ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=2049, proto=0>
  function()
............/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:1060: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  collect()
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:1060: ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=1, proto=0>
  collect()
..../usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:147: DeprecationWarning: Please use assertFalse instead.
  return self.failIf(*a, **kw)
....../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:709: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  serverSocket, clientSocket = socket_pair()
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:768: ResourceWarning: unclosed <socket.socket object, fd=6, family=2, type=2049, proto=0>
  self._handshake_test(serverContext, clientContext)
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:768: ResourceWarning: unclosed <socket.socket object, fd=7, family=2, type=2049, proto=0>
  self._handshake_test(serverContext, clientContext)
.........../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:562: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  (server, client) = socket_pair()
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:633: ResourceWarning: unclosed <socket.socket object, fd=6, family=2, type=2049, proto=0>
  self._load_verify_locations_test(None, capath)
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:633: ResourceWarning: unclosed <socket.socket object, fd=7, family=2, type=2049, proto=0>
  self._load_verify_locations_test(None, capath)
./usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:604: ResourceWarning: unclosed <socket.socket object, fd=6, family=2, type=2049, proto=0>
  self._load_verify_locations_test(cafile)
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:604: ResourceWarning: unclosed <socket.socket object, fd=7, family=2, type=2049, proto=0>
  self._load_verify_locations_test(cafile)
./usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:46: ResourceWarning: unclosed <socket.socket object, fd=5, family=2, type=1, proto=0>
  _exception_from_error_queue()
/usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:46: ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=1, proto=0>
  _exception_from_error_queue()
.........../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:527: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  (server, client) = socket_pair()
......../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:805: ResourceWarning: unclosed <socket.socket object, fd=4, family=2, type=2049, proto=0>
  self._handshake_test(serverContext, clientContext)
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:805: ResourceWarning: unclosed <socket.socket object, fd=6, family=2, type=2049, proto=0>
  self._handshake_test(serverContext, clientContext)
....../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:1658: DeprecationWarning: Please use assertNotEqual instead.
  self.assertNotEquals(server_conn.client_random(), server_conn.server_random())
.............../usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:930: ResourceWarning: unclosed <socket.socket object, fd=5, family=2, type=2049, proto=0>
  collect()
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_ssl.py:930: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
  collect()
......
----------------------------------------------------------------------
Ran 99 tests in 0.608s

OK
Comment 2 Jeffrey C. Ollie 2013-08-06 14:44:59 EDT
$ python3 /usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py 
/usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:143: DeprecationWarning: Please use assertTrue instead.
  return self.failUnless(*a, **kw)
..../usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2498: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  text = _runopenssl(dumped_crl, "crl", "-noout", "-text")
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2505: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  text = _runopenssl(dumped_crl, "crl", "-noout", "-text", "-inform", "DER")
...../usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2617: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  der = _runopenssl(crlData, "crl", "-outform", "DER")
..../usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2102: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  good_der = _runopenssl(dumped_pem, "x509", "-outform", "DER")
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2108: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  good_text = _runopenssl(dumped_pem, "x509", "-noout", "-text")
./usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2140: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  good_der = _runopenssl(dumped_pem, "req", "-outform", "DER")
.writing RSA key
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2122: ResourceWarning: unclosed file <_io.BufferedReader name=6>
  good_der = _runopenssl(dumped_pem, "rsa", "-outform", "DER")
/usr/lib64/python3.3/subprocess.py:722: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  _cleanup()
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2128: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  good_text = _runopenssl(dumped_pem, "rsa", "-noout", "-text")
..........................MAC verified OK
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:1702: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  'pass:' + passwd, *extra)
MAC verified OK
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:1707: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  'pass:' + passwd, '-nokeys', *extra)
..MAC verified OK
MAC verified OK
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:1707: ResourceWarning: unclosed file <_io.BufferedReader name=6>
  'pass:' + passwd, '-nokeys', *extra)
MAC verified OK
/usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:1712: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  'pass:' + passwd, '-nokeys', *extra)
MAC verified OK
MAC verified OK
MAC verified OK
/usr/lib64/python3.3/subprocess.py:458: ResourceWarning: unclosed file <_io.BufferedReader name=5>
  for inst in _active[:]:
MAC verified OK
/usr/lib64/python3.3/subprocess.py:722: ResourceWarning: unclosed file <_io.BufferedReader name=6>
  _cleanup()
MAC verified OK
MAC verified OK
..........MAC verified OK
MAC verified OK
MAC verified OK
MAC verified OK
MAC verified OK
MAC verified OK
MAC verified OK
MAC verified OK
MAC verified OK
.MAC verified OK
MAC verified OK
../usr/lib64/python3.3/site-packages/OpenSSL/test/test_crypto.py:2284: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(pkcs7.get_type_name(), b('pkcs7-signedData'))
.../usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:147: DeprecationWarning: Please use assertFalse instead.
  return self.failIf(*a, **kw)
.......................................................................................................
----------------------------------------------------------------------
Ran 162 tests in 0.520s

OK
Comment 3 Jeffrey C. Ollie 2013-08-06 14:45:27 EDT
$ python3 /usr/lib64/python3.3/site-packages/OpenSSL/test/test_rand.py 
....../usr/lib64/python3.3/site-packages/OpenSSL/test/util.py:143: DeprecationWarning: Please use assertTrue instead.
  return self.failUnless(*a, **kw)
../usr/lib64/python3.3/site-packages/OpenSSL/test/test_rand.py:172: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(size, 1024)
.......
----------------------------------------------------------------------
Ran 15 tests in 0.005s

OK

Note You need to log in before you can comment on or make changes to this bug.