Commit graph

1441 commits

Author SHA1 Message Date
Jeffery To
b466314313
python-attrs: Update to 20.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 23:15:12 +08:00
Jeffery To
c7d4d1e80e
python-zope-interface: Update to 5.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-06 21:23:09 +08:00
Jan Pavlinec
727894d77e
python-zipp: update to version 3.3.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-06 13:10:43 +02:00
Martin Matějek
f6adb73cff
python3-pyroute: update to version 0.5.14
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
2020-10-05 21:58:37 +02:00
Josef Schlehofer
3f16a05d7f
click: update to version 7.1.2
Developers of click decided to change their tarball, so it does no
longer contains capital C and because of that, we can throw
PYPI_SOURCE_NAME.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-05 18:35:43 +02:00
Alexandru Ardelean
4e63dea7b4 django-restframework: bump to version 3.12.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-05 10:27:10 +03:00
Alexandru Ardelean
baafb68da6 django: bump to version 3.1.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-10-05 10:23:39 +03:00
Josef Schlehofer
d3a213b01b
Merge pull request #13556 from BKPepe/zeroconf
python-zeroconf: update to version 0.28.5
2020-10-03 10:09:38 +02:00
Josef Schlehofer
9f30664ec4
python-zeroconf: update to version 0.28.5
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 18:20:14 +02:00
Josef Schlehofer
8a8100d48e
python-sentry-sdk: update to version 0.18.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-02 11:23:53 +02:00
Rosen Penev
6a1c6b2fe7
Merge pull request #13541 from ja-pa/pytest-6.1.0
python-pytest: update to version 6.1.0
2020-10-01 14:44:09 -07:00
Jan Pavlinec
64cb0c50ba
python-pytest: update to version 6.1.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-01 11:46:34 +02:00
Hannu Nyman
3847ea53c2
Merge pull request #13524 from commodo/python-batch1
python-paho-mqtt,python-cryptography: bump versions
2020-09-30 20:26:11 +03:00
Rosen Penev
996df31a02
Merge pull request #13527 from ja-pa/python-zipp-3.2.0
python-zipp: update to version 3.2.0
2020-09-29 12:24:16 -07:00
Jan Pavlinec
fd5882c6ed
python-zipp: update to version 3.2.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-29 14:47:14 +02:00
Alexandru Ardelean
ab82464b61 python-cryptography: bump to version 3.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-29 07:58:19 +03:00
Alexandru Ardelean
ee0e11c1ab python-maho-mqtt: bump to versio 1.5.1
Docs say it also supports MQTT 5.0.
Added to description.
Updated title as on pypi.org

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-29 07:56:36 +03:00
Alexandru Ardelean
e1276c4ec0 python-cffi: bump to version 1.14.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-23 11:32:23 +03:00
Rosen Penev
fcd9812bfd
python-cryptography: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-20 18:33:58 -07:00
Rosen Penev
832a4e8a4d
Merge pull request #13388 from commodo/python-batch-updates
numpy,django,pymysql: version bumps
2020-09-14 13:40:56 -07:00
Hannu Nyman
749e182ca1
Merge pull request #13390 from ja-pa/pytest_6.0.2
python-pytest: update to version 6.0.2
2020-09-14 21:25:56 +03:00
Jan Pavlinec
9a43f4645a
python-pytest: update to version 6.0.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-14 12:50:01 +02:00
Alexandru Ardelean
7074999095 pymysql: bump to version 0.10.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-14 09:25:10 +03:00
Alexandru Ardelean
23938c7aa9 django: bump to version 3.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-14 09:24:25 +03:00
Alexandru Ardelean
94f28ac145 numpy: bump to version 1.19.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-09-14 09:23:24 +03:00
W. Michael Petullo
5ac1baffcb python3-networkx: new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-09-11 14:50:24 -10:00
Thomas Petazzoni
d4a498040d python3-libselinux: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[strip C library after adding it to openwrt repository]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-09-11 14:50:24 -10:00
Thomas Petazzoni
02cbc208f1 python3-libsemanage: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[strip C library after adding it to openwrt repository]]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-09-11 14:50:24 -10:00
Josef Schlehofer
502b667505
Merge pull request #13346 from valdi74/pycurl_update
python-curl: update to version 7.43.0.6
2020-09-09 15:46:37 +02:00
Waldemar Konik
3e00507875 python-curl: update to version 7.43.0.6
PycURL changeLog:
Version 7.43.0.6 - 2020-09-02
-----------------------------------------------------------------
This release improves SSL backend detection on various systems, adds support for libcurl’s multiple SSL backend functionality and adds support for several libcurl options.

Signed-off-by: Waldemar Konik <informatyk74@interia.pl>

Compile tested: x86_64
2020-09-09 14:11:56 +02:00
Rosen Penev
5ae4b99b58
Merge pull request #13320 from jmarcet/texttable-update
python3-texttable: update to version 1.6.3
2020-09-08 22:46:30 -07:00
Javier Marcet
c7616be601 python3-texttable: update to version 1.6.3
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-09-07 13:37:11 +02:00
Javier Marcet
94eea60367 python3-paramiko: update to version 2.7.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-09-07 13:36:38 +02:00
Rosen Penev
4d4c0d7b06
Merge pull request #13276 from ja-pa/python-rsa-security
python-rsa: update to version 4.6 (security fix)
2020-09-03 13:31:57 -07:00
Jan Pavlinec
4e211927f3
python-rsa: update to version 4.6 (security fix)
Fixes CVE-2020-13757

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-03 12:06:37 +02:00
Rosen Penev
dcd551f83a
Merge pull request #13268 from ja-pa/python-more-itertools-8.5.0
python-more-itertools: update to version 8.5.0
2020-09-01 07:09:39 -07:00
Jan Pavlinec
bac7574006
pytho-more-itertools: update to version 8.5.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-01 11:41:11 +02:00
Jan Pavlinec
ee226f1ff2 python-pytest-xdist: update to version 2.1.0
Note:
remove six dependency which is now longer required

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-31 07:04:18 -07:00
Jeffery To
c0340f631c python: Use locked for host pip
This also removes PKG_BUILD_PARALLEL:=0 that was added for packages that
use HOST_PYTHON3_PACKAGE_BUILD_DEPENDS.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-31 03:48:47 -07:00
Hannu Nyman
c72b94b1bf
Merge pull request #13250 from jefferyto/python-attrs-20.1.0
python-attrs: Update to 20.1.0
2020-08-30 22:41:58 +03:00
Jeffery To
cacd44fd0c
python-cryptography: Update to 3.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-31 02:45:48 +08:00
Jeffery To
3e399e9286
python-attrs: Update to 20.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-31 00:55:20 +08:00
Alexandru Ardelean
d84b66ef66 openpyxl: bump to version 3.0.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-25 08:54:10 +03:00
Alexandru Ardelean
3c4b5ffeb2 django: bump to version 3.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-25 08:53:16 +03:00
Rosen Penev
e7cad1a774
Merge pull request #13147 from ja-pa/python-pytest-xdist-update-2.0.0
python-pytest-xdist: update to version 2.0.0
2020-08-24 13:08:02 -07:00
Javier Marcet
7724c3bb38 python-docker: Update to 4.3.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-08-24 15:03:18 +02:00
Jan Pavlinec
2024c1fb6d
python-pytest-xdist: update to version 2.0.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-24 13:41:31 +02:00
Jan Pavlinec
766acb6616
python-psutil: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-24 13:41:30 +02:00
Josef Schlehofer
f70d025117
Merge pull request #12480 from ja-pa/python-pytest-update
python-pytest: update to version 6.0.1
2020-08-24 13:14:35 +02:00
Jan Pavlinec
bbbea44780
python-pytest: update to version 6.0.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-24 12:37:35 +02:00
Jan Pavlinec
7355b68fec
python-py: update to version 1.9.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-24 12:37:35 +02:00
Jan Pavlinec
4713740366
python-iniconfig: add new package (pytest dependency)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-24 12:37:35 +02:00
Jan Pavlinec
d0ef2feda1
python-toml: add new package (pytest dependency)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-24 12:37:35 +02:00
Rosen Penev
bf3b6af205
Merge pull request #13131 from jefferyto/python-pip-hash-checking
python3: Use hash-checking mode when installing host pip packages
2020-08-18 14:11:32 -07:00
Rosen Penev
e4885ea55c
Merge pull request #13144 from jefferyto/python-cffi-1.14.2
python-cffi: Update to 1.14.2
2020-08-18 00:28:01 -07:00
Jeffery To
722a5b8efa
python3: Use hash-checking mode when installing host pip packages
In hash-checking mode[1], pip will verify downloaded package archives
(source tarballs in our case) against known SHA256 hashes before
installing the packages.

As a consequence, this requires the use of requirements files[2] and
pinning packages to known versions.

The syntax for package Makefiles has changed slightly;
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS no longer accepts requirement
specifiers like "foo>=1.0", only requirements file names (which are the
same as package names in the most common case).

This also updates affected packages, in particular:

* python-zipp: "setuptools_scm[toml]" has been split into
  "setuptools-scm toml" to reuse the requirements file for
  setuptools-scm (the extra depends installed by "setuptools_scm[toml]"
  is toml).

* python-pycparser: This previously used ply 3.10, whereas the
  requirements file will now install 3.11.

[1]: https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode
[2]: https://pip.pypa.io/en/stable/user_guide/#requirements-files

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 23:05:49 +08:00
Josef Schlehofer
2512c8dcd0
Merge pull request #13135 from jefferyto/python-host-pip-cache-world-readable
python3: Add config PYTHON3_HOST_PIP_CACHE_WORLD_READABLE
2020-08-17 12:46:38 +02:00
Jeffery To
baec9e9ce4
python-cffi: Update to 1.14.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 02:07:45 +08:00
Jeffery To
9277f74abd
python-hyperlink: Update to 20.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 01:56:47 +08:00
Jeffery To
001cd3c571
python3: Add config PYTHON3_HOST_PIP_CACHE_WORLD_READABLE
This adds a config option PYTHON3_HOST_PIP_CACHE_WORLD_READABLE; if
enabled, chmod will be run after pip install to make all
files/directories in the host pip cache world-readable.

Supersedes https://github.com/openwrt/packages/pull/13012.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-16 06:09:45 +08:00
Rosen Penev
d1f172a2f3
Merge pull request #13069 from neheb/microp
micropython: fix compilation without sys/cdefs
2020-08-12 13:10:08 -07:00
Josef Schlehofer
1df9f4272a
Merge pull request #13010 from ja-pa/python-pytest-xdist-new
python-pytest-xdist: add new package
2020-08-11 15:46:31 +02:00
Rosen Penev
af76685638
micropython: fix compilation without sys/cdefs
sys/cdefs.h is not provided by musl. micropython also includes its own
copy.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:29:06 -07:00
Rosen Penev
65c66ddd71
Merge pull request #13039 from peter-stadler/django-rest-framework
django-restframework: update to version 3.11.1
2020-08-06 13:17:59 -07:00
Jan Pavlinec
2d7e32b1a5
python-pytest-forked: add new package (dependency for xdist)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Jan Pavlinec
274fcf4d6c
python-apipkg: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Jan Pavlinec
d17b29cbdf
python-execnet: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Jan Pavlinec
0e83fb81ae
python-pytest-xdist: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Rosen Penev
df1edbd571
Merge pull request #13035 from ja-pa/python3-maxminddb-2.0.2
python3-maxminddb: update to version 2.0.2
2020-08-05 13:11:47 -07:00
Peter Stadler
eec90365b8 django-restframework: update to version 3.11.1
update to newest version.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-08-05 21:19:32 +02:00
Jan Pavlinec
e366ae2872
python3-maxminddb: update to version 2.0.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-05 11:05:08 +02:00
Alexandru Ardelean
79dfbd8016 python-pynacl: fix build with new libsodium patch
Fixes https://github.com/openwrt/packages/issues/13016
Patch [1] broke compilation for python-pynacl.

The fix is to patch PyNaCl to consider that
PYNACL_HAS_CRYPTO_SCALARMULT_ED25519 is always available.

[1] 3ef28a4ab0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-05 08:39:51 +03:00
Alexandru Ardelean
d00604dfeb numpy: bump to version 1.19.1
Recommended Cython version is 0.29.21

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:09:38 +03:00
Alexandru Ardelean
215a536e6a python-asn1crypto: bump to version 1.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:05:26 +03:00
Alexandru Ardelean
9a0907b8be python-cffi: bump to version 1.14.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:04:25 +03:00
Rosen Penev
b40c40151c
python3: fix host compilation with clang
Matched rpath parameter with Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:49:30 -07:00
Jan Pavlinec
895a784160
python3-maxminddb: update to version 2.0.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-30 14:32:28 +02:00
Rosen Penev
8d01a3e104
Merge pull request #12939 from jefferyto/python-3.8.5
python3: Update to 3.8.5
2020-07-26 23:33:52 -07:00
Jeffery To
b6eef2af19
python-cryptography: Update to 3.0
Also:
* Remove patches that are included in the update
* Replace the python3 dependency with a smaller list (python3-urllib is
  needed because it is a dependency of python3-email)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-27 05:40:30 +08:00
Jeffery To
7d6fcf20e7
python3: Update to 3.8.5
This version includes fixes for:
* CVE-2020-15801 - Fixes python3x._pth being ignored on Windows
* CVE-2019-20907 - Avoid infinite loop when reading specially crafted
  TAR files using the tarfile module

This also:
* Remove patches that are included in the update
* Add a dependency in python3-distutils for python3-email[1]

[1]: https://github.com/python/cpython/blob/v3.8.5/Lib/distutils/dist.py#L10

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-27 04:33:28 +08:00
Josef Schlehofer
9828dac28f
python-urllib3: update to version 1.25.10
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-23 14:39:01 +02:00
Alexandru Ardelean
c50dda22fc python-simplejson: bump to version 3.17.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:35:50 +03:00
Alexandru Ardelean
5a6ea6fb26 pymysql: bump to version 0.10.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:31:59 +03:00
Alexandru Ardelean
3f0099bff1 python-lxml: bump to version 4.5.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:30:31 +03:00
Rosen Penev
f4e878c215
Merge pull request #12885 from peter-stadler/django-cors-headers
python3-django-cors-headers: update to version 3.4.0
2020-07-20 14:08:09 -07:00
Peter Stadler
f81ad44a62 python3-django-cors-headers: update to version 3.4.0
update to latest version changing the URL and DEPENDS, too.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-20 18:11:45 +02:00
Peter Stadler
bb4107c4f2 python3-asgiref: update version to 3.2.10
update to latest version.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-20 13:24:04 +02:00
Jeffery To
1a3cef77d4
python3: Update to 3.8.4, refresh/rework patches, backport patches
This version includes fixes for:
* CVE-2020-14422: Hash collisions in IPv4Interface and IPv6Interface
* CVE-2020-15523: Python uses invalid DLL path after calling Py_SetPath
  on Windows

This version also includes support for OpenSSL 1.1.x builds that use
'no-deprecated' and '--api=1.1.0'[1], and so this removes the previous
OpenSSL-related patches.

This also backports fixes for security issues, including:
* CVE-2019-20907: Infinite loop in the tarfile module

This also updates the setuptools and pip packages to 47.1.0 and 20.1.1,
respectively.

[1]: https://github.com/python/cpython/pull/20566

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-20 17:30:14 +08:00
Josef Schlehofer
e06825218f
Merge pull request #12758 from BKPepe/flup
Bring back python-flup
2020-07-15 16:38:20 +02:00
Josef Schlehofer
4aa6bf0424
Revert "lang: python: flup: drop package"
This reverts commit 33525fa8d5.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[add me as co-maintainer, bump PKG_RELEASE, Makefile polishing]
2020-07-15 15:41:37 +02:00
Rosen Penev
9afeeb57c9
Merge pull request #12748 from commodo/drop-python-mysqlclient
python-mysqlclient: drop package
2020-07-13 01:22:56 -07:00
Rosen Penev
672fc3e08e
Merge pull request #12479 from ja-pa/python-wcwidth-update
python-wcwidth: update to version 0.2.5
2020-07-12 18:31:58 -07:00
Rosen Penev
c421901416
Merge pull request #12760 from BKPepe/homeassistant-deps
Update ifaddr, sqlalchemy, zeroconf and add ciso8601
2020-07-12 17:55:37 -07:00
Rosen Penev
282a460005
Merge pull request #12749 from commodo/python-packages-bump
pillow,openpyxl,django: version bumps
2020-07-12 17:54:57 -07:00
Josef Schlehofer
94b5eace98
python-sqlalchemy: update to version 1.3.18
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-08 16:01:46 +02:00
Josef Schlehofer
98eb81ccd6
python-ifaddr: update to version 0.1.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-08 15:41:14 +02:00
Josef Schlehofer
1c2f729c9d
python-zeroconf: update to version 0.28.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-08 15:39:43 +02:00
Jan Pavlinec
9190dc8cae
python-wcwidth: update to version 0.2.5
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-08 15:33:28 +02:00
Josef Schlehofer
5aae605ceb
python-ciso8601: introduce a new package for Home Assistant
Log:
pkg_resources.DistributionNotFound: The 'ciso8601==2.1.3' distribution was not found and is required by homeassistant

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-08 15:20:52 +02:00
Jeffery To
0973d21787
python3: Use default _PYTHON_HOST_PLATFORM
This lets the Python build process set _PYTHON_HOST_PLATFORM instead of
forcing an explicit value.

Also:

* Save the target _PYTHON_HOST_PLATFORM value during Build/InstallDev
  for use when building target Python packages (in python3-package.mk).

* Use the (mostly) default PYTHON_FOR_BUILD value, instead patch
  configure to remove the platform triplet from the sysconfigdata file
  name.

* Remove the "CROSS_COMPILE=yes" make variable (there is no indication
  that this variable is necessary).

* Force host pip to build packages from source instead of downloading
  binary wheels.

  Previously, host pip can download universal (platform-independent)
  wheels but not platform-specific wheels, because of the custom
  _PYTHON_HOST_PLATFORM value. (Packages that do not have universal
  wheels would be compiled from source.)

  With a correct _PYTHON_HOST_PLATFORM, host pip can install
  platform-specific wheels as well. However, the pre-built shared object
  (.so) files in these wheels will have the host's platform triplet in
  their file names. When target Python packages are built (using the
  target's _PYTHON_HOST_PLATFORM), Python will not use these shared
  object files.

  By forcing host pip to build packages from source, the built shared
  object files will not have the platform triplet in their file names.
  (Host Python has been patched to remove the platform triplet from file
  names.) This allows these packages to be used when building target
  Python packages.

  (The net effect of this complete change is that platform-dependent
  packages will continue to be compiled from source, while
  platform-independent packages will now also be compiled from source.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-08 17:11:42 +08:00