oz123 / pytest-localftpserver

A PyTest plugin which gives you a local ftp server for your tests
Other
17 stars 9 forks source link

Update pyftpdlib to 2.0.0 #339

Closed pyup-bot closed 1 week ago

pyup-bot commented 1 month ago

This PR updates pyftpdlib from 1.5.8 to 2.0.0.

Changelog ### 2.0.0 ``` =========================== **Enhancements** * 625: exposed a new ``FTPHandler.encoding`` attribute defaulting to ``'utf-8'``. It can be used to change the encoding used for client / server communication. * 629: removed Python 2.7 support. * 637: remove copies of asyncore.py and asynchat.py. Use backports from PYPI instead. (patch by penguinpee) * 639: set default SSL version from deprecated ``SSLv23_METHOD`` to newer ``TLS_SERVER_METHOD``. This is the setting recommended by latest OpenSSL doc, and includes the TLSv1, TLSv1.1, TLSv1.2, TLSv1.3. Versions SSLv2 and SSLv3 are disabled. **Notes about backward compatibility** * 629: Python 2.7 is no longer supported. * 629: pysendfile module is no longer a required dependency, because we ceased support for Python 2. * 639: (FTPS)SSLv2 and SSLv3 connections are no longer accepted when client connects. ``` ### 1.5.10 ``` ============================ **Enhancements** * 621: use black formatter. * 626: use argparse instead of deprecated optparse. * 628: use pytest instead of unittest. * 632: add ability to run tests in parallel with `make test-parallel`. **Bug fixes** * 627: PermissionError may occur on Windows when binding ports from a pre-configured PASV range. ``` ### 1.5.9 ``` =========================== **Enhancements** - 611: use `ruff` code style checker instead of flake8 + isort (much faster + makes many more code quality checks). **Bug fixes** - 604: client connection may be reset in PASV/EPSV mode during TLS handshake. (patch by Benedikt McMullin) - 607: possible infinite wait in Epoll (patch by stat1c-void) - 607: possible infinite traceback printing in DTPHandler (patch by stat1c-void) - 613: (CRITICAL) bugfix for TLS disconnect causing 100% CPU usage. (patch by hakai) - 614: close connection on SSL EOF error, instead of erroneously replying with "226 Transfer completed." ```
Links - PyPI: https://pypi.org/project/pyftpdlib - Changelog: https://data.safetycli.com/changelogs/pyftpdlib/ - Repo: https://github.com/giampaolo/pyftpdlib/
pyup-bot commented 1 week ago

Closing this in favor of #349