From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 002/107] package/python: drop target package
Date: Wed, 9 Feb 2022 17:50:28 +0100 [thread overview]
Message-ID: <20220209165213.4498-3-peter@korsgaard.com> (raw)
In-Reply-To: <20220209165213.4498-1-peter@korsgaard.com>
Python 2.7 is EOL since April 2020, so drop support for the target package.
https://www.python.org/dev/peps/pep-0373/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
Config.in.legacy | 8 +++
package/Config.in | 3 +-
package/python/Config.in | 139 ---------------------------------------
3 files changed, 9 insertions(+), 141 deletions(-)
delete mode 100644 package/python/Config.in
diff --git a/Config.in.legacy b/Config.in.legacy
index 34d8c71cc8..6bc3803a5c 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@ endif
comment "Legacy options removed in 2022.02"
+config BR2_PACKAGE_PYTHON
+ bool "python2.7 package removed"
+ select BR2_LEGACY
+ help
+ Python 2.7 is EOL since April 2020 and has been removed.
+
+ https://www.python.org/dev/peps/pep-0373/
+
config BR2_TARGET_UBOOT_ZYNQ_IMAGE
bool "Generate image for Xilinx Zynq"
select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index d631ed784a..ca2fb363e3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -897,9 +897,8 @@ if BR2_STATIC_LIBS
comment "External PHP extensions need a toolchain w/ dynamic library"
endif
endif
- source "package/python/Config.in"
source "package/python3/Config.in"
-if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+if BR2_PACKAGE_PYTHON3
menu "External python modules"
source "package/python-aenum/Config.in"
source "package/python-aexpect/Config.in"
diff --git a/package/python/Config.in b/package/python/Config.in
deleted file mode 100644
index ab6950cae8..0000000000
--- a/package/python/Config.in
+++ /dev/null
@@ -1,139 +0,0 @@
-comment "python needs a toolchain w/ wchar, threads, dynamic library"
- depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
-
-config BR2_PACKAGE_PYTHON
- bool "python2.7 (deprecated)"
- depends on BR2_USE_WCHAR
- # uses fork()
- depends on BR2_USE_MMU
- depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
- depends on !BR2_STATIC_LIBS
- select BR2_PACKAGE_LIBFFI
- help
- The python language interpreter.
-
- http://www.python.org/
-
-if BR2_PACKAGE_PYTHON
-
-choice
- prompt "python module format to install"
- default BR2_PACKAGE_PYTHON_PYC_ONLY
- help
- Select Python module format to install on target (py, pyc or
- both)
-
-config BR2_PACKAGE_PYTHON_PY_ONLY
- bool ".py sources only"
-
-config BR2_PACKAGE_PYTHON_PYC_ONLY
- bool ".pyc compiled sources only"
-
-config BR2_PACKAGE_PYTHON_PY_PYC
- bool ".py sources and .pyc compiled"
-
-endchoice
-
-menu "core python modules"
-
-comment "The following modules are unusual or require extra libraries"
-
-config BR2_PACKAGE_PYTHON_2TO3
- bool "2to3 module"
- help
- code translation from python 2 to 3
-
-config BR2_PACKAGE_PYTHON_BZIP2
- bool "bzip2 module"
- select BR2_PACKAGE_BZIP2
- help
- bzip2 module for Python
-
-config BR2_PACKAGE_PYTHON_BSDDB
- bool "bsddb module"
- select BR2_PACKAGE_BERKELEYDB
- help
- bsddb module for Python.
-
-config BR2_PACKAGE_PYTHON_CODECSCJK
- bool "codecscjk module"
- help
- Chinese/Japanese/Korean codecs module for Python (large).
-
-config BR2_PACKAGE_PYTHON_CURSES
- bool "curses module"
- select BR2_PACKAGE_NCURSES
- help
- curses module for Python.
-
-config BR2_PACKAGE_PYTHON_OSSAUDIODEV
- bool "ossaudiodev module"
- help
- ossaudiodev module for Python.
-
-config BR2_PACKAGE_PYTHON_READLINE
- bool "readline"
- select BR2_PACKAGE_READLINE
- help
- readline module for Python (required for command-line
- editing in the Python shell).
-
-config BR2_PACKAGE_PYTHON_SSL
- bool "ssl"
- select BR2_PACKAGE_OPENSSL
- help
- _ssl module for Python (required for https in urllib etc).
-
-config BR2_PACKAGE_PYTHON_UNICODEDATA
- bool "unicodedata module"
- default y
- help
- Unicode character database (used by stringprep module)
- (large).
-
-if BR2_PACKAGE_PYTHON_UNICODEDATA
-
-choice
- prompt "Python unicode database format"
- default BR2_PACKAGE_PYTHON_UCS2
- help
- Select Python unicode database format for target
-
-config BR2_PACKAGE_PYTHON_UCS2
- bool "Universal Character Set 2-byte (UCS2)"
-
-config BR2_PACKAGE_PYTHON_UCS4
- bool "Universal Character Set 4-byte (UCS4)"
-
-endchoice
-
-endif
-
-config BR2_PACKAGE_PYTHON_SQLITE
- bool "sqlite module"
- select BR2_PACKAGE_SQLITE
- help
- SQLite database support
-
-config BR2_PACKAGE_PYTHON_PYEXPAT
- bool "xml module"
- select BR2_PACKAGE_EXPAT
- help
- pyexpat and xml libraries for Python
-
-config BR2_PACKAGE_PYTHON_ZLIB
- bool "zlib module"
- select BR2_PACKAGE_ZLIB
- help
- zlib support in Python
-
-config BR2_PACKAGE_PYTHON_HASHLIB
- bool "hashlib module"
- select BR2_PACKAGE_OPENSSL
- help
- hashlib support in Python
-
-endmenu
-
-endif
--
2.20.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-02-09 17:09 UTC|newest]
Thread overview: 119+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 16:50 [Buildroot] [PATCH 000/107] Drop python 2.7 Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 001/107] support/testing: drop python2 tests Peter Korsgaard
2022-02-09 16:50 ` Peter Korsgaard [this message]
2022-02-09 16:50 ` [Buildroot] [PATCH 003/107] package/alsa-lib: drop python2 support Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 004/107] package/bmap-tools: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 005/107] package/boost: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 006/107] package/cifs-utils: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 007/107] package/cracklib: move python support to python3 Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 008/107] package/crudini: drop python2 support Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 009/107] package/dbus-python: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 010/107] package/docker-compose: drop reference to BR2_PACKAGE_PYTHON Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 011/107] package/dstat: drop python2 support Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 012/107] package/evemu: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 013/107] package/fail2ban: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 014/107] package/glsandbox-player: drop reference to python2 Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 015/107] package/gpsd: drop python2 support Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 016/107] package/gst1-devtools: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 017/107] package/i2c-tools: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 018/107] package/iotop: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 019/107] package/jack2: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 020/107] package/kmod: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 021/107] package/libcec: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 022/107] package/libevent: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 023/107] package/libftdi1: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 024/107] package/libiio: " Peter Korsgaard
2022-02-14 11:59 ` Paul Cercueil
2022-02-09 16:50 ` [Buildroot] [PATCH 025/107] package/libpwquality: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 026/107] package/libsigrokdecode: drop reference to python2 Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 027/107] package/libsoc: drop python2 support Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 028/107] package/lttng-libust: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 029/107] package/networkd-dispatcher: drop reference to python2 Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 030/107] package/nftables: drop python2 support Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 031/107] package/ogre: " Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 032/107] package/opkg-utils: drop reference to python2 Peter Korsgaard
2022-02-09 16:50 ` [Buildroot] [PATCH 033/107] package/owfs: drop python support Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 034/107] package/python-aenum: drop python2 support Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 035/107] package/python-argon2-cffi: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 036/107] package/python-bsdiff4: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 037/107] package/python-can: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 038/107] package/python-couchdb: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 039/107] package/python-dicttoxml: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 040/107] package/python-dpkt: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 041/107] package/python-esptool: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 042/107] package/python-fire: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 043/107] package/python-flask: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 044/107] package/python-jsonschema: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 045/107] package/python-libconfig: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 046/107] package/python-logbook: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 047/107] package/python-lxml: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 048/107] package/python-m2crypto: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 049/107] package/python-pexpect: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 050/107] package/python-pickleshare: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 051/107] package/python-pymodbus: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 052/107] package/python-pyqrcode: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 053/107] package/python-pyqt5: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 054/107] package/python-pyroute2: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 055/107] package/python-pyudev: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 056/107] package/python-raven: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 057/107] package/python-reentry: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 058/107] package/python-remi: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 059/107] package/python-scapy: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 060/107] package/python-sentry-sdk: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 061/107] package/python-setuptools: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 062/107] package/python-sip: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 063/107] package/python-txtorcon: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 064/107] package/python-typing-extensions: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 065/107] package/python-urllib3: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 066/107] package/python-web2py: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 067/107] package/python-webob: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 068/107] package/python-websocket-client: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 069/107] package/python-werkzeug: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 070/107] package/python-whoosh: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 071/107] package/python-xlrd: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 072/107] package/python-xmltodict: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 073/107] package/python3: drop references to python2 Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 074/107] package/ranger: drop python2 support Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 075/107] package/selinux-python: drop reference to python2 Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 076/107] package/snmpclitools: drop python2 support Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 077/107] package/supervisor: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 078/107] package/suricata: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 079/107] package/syslog-ng: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 080/107] package/tovid: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 081/107] package/trace-cmd: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 082/107] package/util-linux: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 083/107] package/zfs: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 084/107] package/python: drop host package Peter Korsgaard
2022-02-09 21:34 ` Yann E. MORIN
2022-02-09 16:51 ` [Buildroot] [PATCH 085/107] package/python-backports-abc: drop python2 specific package Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 086/107] package/python-backports-shutil-get-terminal-size: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 087/107] package/python-backports-ssl-match-hostname: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 088/107] package/python-futures: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 089/107] package/python-id3: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 090/107] package/python-ipaddr: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 091/107] package/python-ipaddress: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 092/107] package/python-mad: " Peter Korsgaard
2022-02-09 16:51 ` [Buildroot] [PATCH 093/107] package/python-nfc: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 094/107] package/python-pam: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 095/107] package/python-pathlib2: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 096/107] package/python-pypcap: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 097/107] package/python-pyro: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 098/107] package/python-singledispatch: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 099/107] package/python-subprocess32: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 100/107] package/python-typing: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 101/107] package/python-yieldfrom: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 102/107] package/python-configobj: " Peter Korsgaard
2022-02-09 21:36 ` Yann E. MORIN
2022-02-09 21:56 ` Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 103/107] package/python-dialog: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 104/107] package/python-enum: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 105/107] package/python-enum34: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 106/107] package/python-functools32: " Peter Korsgaard
2022-02-09 16:52 ` [Buildroot] [PATCH 107/107] docs/manual: drop python2 references Peter Korsgaard
2022-02-09 21:33 ` [Buildroot] [PATCH 000/107] Drop python 2.7 Yann E. MORIN
2022-02-10 17:15 ` Arnout Vandecappelle
2022-02-10 17:31 ` Marcus Hoffmann
2022-02-10 21:55 ` Peter Korsgaard
2022-02-10 20:37 ` Yann E. MORIN
2022-02-10 21:18 ` Peter Korsgaard
2022-02-10 21:59 ` James Hilliard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220209165213.4498-3-peter@korsgaard.com \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox