14
0

- update to 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."
  * Enhancements
  * #586: removed Python 2.6 support.
  * #591: speedup logging by 28% by using logging._srcfile = None
    trick. This avoids calling calling sys._getframe() for each
    log record.
  * #605: added support for Python 3.12.
  * Enhancements
  * #544: replace Travis with Github Actions for CI testing.
  * Bug fixes
  * #481: fix [WinError 10038] an operation was attempted on
    something that is not a socket.  (patch by Tailing Yuan)
  * #578, [critical]: FTPS broke with PyOpenSSL version 22.1.0.
  * Enhancements
  * #467: added pre-fork concurrency model, spawn()ing worker
    processes to split load.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyftpdlib?expand=0&rev=44
This commit is contained in:
2024-03-25 14:22:49 +00:00
committed by Git OBS Bridge
parent 3e3152af40
commit b5455c42db
5 changed files with 69 additions and 906 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyftpdlib
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,15 +19,13 @@
%{?sle15_python_module_pythons}
Name: python-pyftpdlib
Version: 1.5.7
Version: 1.5.9
Release: 0
Summary: Asynchronous FTP server library for Python
License: MIT
URL: https://github.com/giampaolo/pyftpdlib/
Source: https://files.pythonhosted.org/packages/source/p/pyftpdlib/pyftpdlib-%{version}.tar.gz
Source1: keycert.pem
# PATCH-FIX-UPSTREAM gh#giampaolo/pyftpdlib#605
Patch0: support-python-312.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pyOpenSSL}
@@ -39,7 +37,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pyOpenSSL
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Recommends: python-pysendfile
BuildArch: noarch
%python_subpackages