Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: sftp listdir under a locale with non-ascii date strings #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ploxiln
Copy link
Owner

@ploxiln ploxiln commented Dec 9, 2021

This demonstrates failure under python-2.7, because SFTPAttributes
uses the locale-aware %b directive for the abbreviated month name
with time.strftime(), and it is not decoded correctly with python-2.7.

Instead of fixing for python-2.7 in paramiko-ng, we'll just wait
until python2 support is removed before merging in this test case.
This test code was so old, it needed multiple rounds of updates
and cleanups by multiple contributors:

Co-Authored-By: Jeff Forcier [email protected]
Co-Authored-By: Stanislav Levin [email protected]

@ploxiln ploxiln force-pushed the test_listdir_locale branch from 81ddf4a to d2cb456 Compare December 9, 2021 06:39
bz2 and others added 2 commits December 9, 2021 02:14
This demonstrates failure under python-2.7, because SFTPAttributes
uses the locale-aware %b directive for the abbreviated month name
with time.strftime(), and it is not decoded correctly with python-2.7.

Instead of fixing for python-2.7 in paramiko-ng, we'll just wait
until python2 support is removed before merging in this test case.
This test code was so old, it needed multiple rounds of updates
and cleanups by multiple contributors:

Co-Authored-By: Jeff Forcier <[email protected]>
Co-Authored-By: Stanislav Levin <[email protected]>
and move apt package install to its own section
@ploxiln ploxiln force-pushed the test_listdir_locale branch from d2cb456 to 93a3b69 Compare December 9, 2021 07:16
@ploxiln ploxiln added the v3 defer to version 3.0 label Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 defer to version 3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants