Bug 1109351 - Update paramiko to 1.15.1
Summary: Update paramiko to 1.15.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-paramiko
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeffrey C. Ollie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 18:01 UTC by Orion Poplawski
Modified: 2014-11-24 21:18 UTC (History)
6 users (show)

Fixed In Version: python-paramiko-1.15.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-01 01:39:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2014-06-13 18:01:54 UTC
Description of problem:

paramiko 1.14.0 is available.

Comment 1 Orion Poplawski 2014-06-13 20:43:47 UTC
Changelog:

1.14.0 2014-05-07

    [Support] #284: Add Python language trove identifiers to setup.py. Thanks to Alex Gaynor for catch & patch.
    [Support] #290: (also #292) Add support for building universal (Python 2+3 compatible) wheel files during the release process. Courtesy of Alex Gaynor.
    [Support] #295: Swap out a bunch of PyCrypto hash functions with use of hashlib. Thanks to Alex Gaynor.
    [Support] #297: Replace PyCrypto’s Random with os.urandom for improved speed and security. Thanks again to Alex.
    [Support] #299: Use deterministic signatures for ECDSA keys for improved security. Thanks to Alex Gaynor.

1.13.0 2014-03-13

    [Feature] #58: Allow client code to access the stored SSH server banner via Transport.get_banner. Thanks to @Jhoanor for the patch.

    [Support] #256: Convert API documentation to Sphinx, yielding a new API docs website to replace the old Epydoc one. Thanks to Olle Lundberg for the initial conversion work.

    [Feature] #16: Python 3 support! Our test suite passes under Python 3, and it (& Fabric’s test suite) continues to pass under Python 2. Python 2.5 is no longer supported with this change!



Not very clear if there are API breaks here.

Comment 2 Volker Braun 2014-09-26 10:38:20 UTC
Also paramiko 1.13+ is required for ECDSA keys to work according to https://github.com/paramiko/paramiko/issues/67

I just spent an hour trying to figure out why fabric doesn't work on a new host, turns out that env.key_filename is silently ignored if it is an ECDSA key.

Comment 3 Orion Poplawski 2014-10-17 16:55:31 UTC
We're now up to 1.15.1 - Jeffrey what's up?

Comment 4 Jeffrey C. Ollie 2014-10-17 18:48:49 UTC
Sorry, haven't had much time for package maintenance lately.  However, when I try updating to 1.15.1, there are some test failures.  These are from a mockbuild, I get slightly different failures when running from a git checkout.

+ /usr/bin/python ./test.py
..............................................................................................................................FEE...F........... 2s 2s ......... 1s 0s ......... 0s ......... 1s ......... ........ .........  .........  ...
======================================================================
ERROR: test_K_utf8 (tests.test_sftp.SFTPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/paramiko-1.15.1/tests/test_sftp.py", line 172, in tearDown
    sftp.rmdir(FOLDER)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 390, in rmdir
    self._request(CMD_RMDIR, path)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 729, in _request
    return self._read_response(num)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 776, in _read_response
    self._convert_status(msg)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 806, in _convert_status
    raise IOError(text)
IOError: Failure
======================================================================
ERROR: test_L_utf8_chdir (tests.test_sftp.SFTPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/paramiko-1.15.1/tests/test_sftp.py", line 680, in test_L_utf8_chdir
    sftp.mkdir(FOLDER + '/' + unicode_folder)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 380, in mkdir
    self._request(CMD_MKDIR, path, attr)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 729, in _request
    return self._read_response(num)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 776, in _read_response
    self._convert_status(msg)
  File "/builddir/build/BUILD/paramiko-1.15.1/paramiko/sftp_client.py", line 806, in _convert_status
    raise IOError(text)
IOError: Failure
======================================================================
FAIL: test_K_utf8 (tests.test_sftp.SFTPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/paramiko-1.15.1/tests/test_sftp.py", line 676, in test_K_utf8
    self.fail('exception ' + str(e))
AssertionError: exception Failure
======================================================================
FAIL: test_O_getcwd (tests.test_sftp.SFTPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/paramiko-1.15.1/tests/test_sftp.py", line 735, in test_O_getcwd
    self.assertEqual(None, sftp.getcwd())
AssertionError: None != u'/'
----------------------------------------------------------------------
Ran 144 tests in 26.882s
FAILED (failures=2, errors=2)

Comment 5 Jeffrey C. Ollie 2014-10-17 19:10:34 UTC
Hmm the tests that use SFTP can be disabled and then everything works.  Builds submitted for f19+, epel7.  Would it be worth it to update the el5 and el6 packages?

Orion, do you want to take over this package?  You did most of the updates over the past year or so anyway.

Comment 6 Fedora Update System 2014-10-17 19:22:00 UTC
python-paramiko-1.15.1-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-paramiko-1.15.1-1.el7

Comment 7 Fedora Update System 2014-10-17 19:22:06 UTC
python-paramiko-1.15.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-paramiko-1.15.1-1.fc20

Comment 8 Fedora Update System 2014-10-17 19:22:12 UTC
python-paramiko-1.15.1-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-paramiko-1.15.1-1.fc21

Comment 9 Othman Madjoudj 2014-10-17 19:38:45 UTC
Hi Jeffrey,

I might be able to help with this package if you're busy, I maintain fabric which depends on paramiko and it's from the same upstream.

Comment 10 Orion Poplawski 2014-10-17 19:55:23 UTC
So, I was *not* particularly suggesting a mass update of all stable branches.  1.15.1 setup.py has:

        'install_requires': [
            'pycrypto >= 2.1, != 2.4',
            'ecdsa >= 0.11',
        ],

Which is definitely not available everywhere, though apparently not enforced during build.  I'm also concerned about any possible backwards incompatible API changes.

I don't want to take over paramiko, but if no one else is interested I suppose I will have to.

Comment 11 Jeffrey C. Ollie 2014-10-17 20:58:24 UTC
(In reply to Athmane Madjoudj from comment #9)
> 
> I might be able to help with this package if you're busy, I maintain fabric
> which depends on paramiko and it's from the same upstream.

The help would certainly be welcome. I'm going to be pretty busy tonight and tomorrow, but I can approve your requests on Sunday.

Comment 12 Othman Madjoudj 2014-10-17 21:07:09 UTC
(In reply to Jeffrey C. Ollie from comment #11)
> (In reply to Athmane Madjoudj from comment #9)
> > 
> > I might be able to help with this package if you're busy, I maintain fabric
> > which depends on paramiko and it's from the same upstream.
> 
> The help would certainly be welcome. I'm going to be pretty busy tonight and
> tomorrow, but I can approve your requests on Sunday.

No problem, acl request sent, thanks in advance.

Comment 13 Fedora Update System 2014-10-18 16:58:56 UTC
Package python-paramiko-1.15.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-paramiko-1.15.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-13189/python-paramiko-1.15.1-1.fc20
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2014-11-01 01:39:31 UTC
python-paramiko-1.15.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2014-11-01 17:12:57 UTC
python-paramiko-1.15.1-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2014-11-24 21:18:18 UTC
python-paramiko-1.15.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.


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