diff options
| author | Kai Kang <kai.kang@windriver.com> | 2025-03-06 18:20:34 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-07 08:36:59 -0800 |
| commit | 11b8917fe120a3ac07d0904307b44ccc6b95868d (patch) | |
| tree | 7130bb7b9b2230a1e46394c2f3e67663297d100d /meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb | |
| parent | 2f7b184cda65749e8371086cf0820af48aba7628 (diff) | |
| download | meta-openembedded-11b8917fe120a3ac07d0904307b44ccc6b95868d.tar.gz | |
python3-requests-ftp: remove use of module cgi
python 3.13 removed some modules such as cgi which is required by python3-requests-ftp:
https://docs.python.org/3/whatsnew/3.13.html
Important removals:
PEP 594: The remaining 19 “dead batteries” (legacy stdlib modules) have
been removed from the standard library: aifc, audioop, cgi, cgitb,
chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes,
sndhdr, spwd, sunau, telnetlib, uu and xdrlib.
Backport and rebase a patch from Fedora to remove use of module cgi.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb b/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb index 119c62ea34..7e72391783 100644 --- a/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb | |||
| @@ -3,6 +3,7 @@ HOMEPAGE = "http://github.com/Lukasa/requests-ftp" | |||
| 3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6683a23c9968b97709441dc884d46df6" |
| 5 | 5 | ||
| 6 | SRC_URI += "file://0001-Remove-use-of-the-cgi-module.patch" | ||
| 6 | SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a" | 7 | SRC_URI[sha256sum] = "7504ceb5cba8a5c0135ed738596820a78c5f2be92d79b29f96ba99b183d8057a" |
| 7 | 8 | ||
| 8 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
