Commit graph

1331 commits

Author SHA1 Message Date
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
Alexandru Ardelean
255a46b3f2 django: bump to version 3.0.8
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:43:35 +03:00
Alexandru Ardelean
84a546f7fa openpyxl: bump to version 3.0.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:42:44 +03:00
Alexandru Ardelean
3006084323 pillow: bump to version 7.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:41:33 +03:00
Alexandru Ardelean
53aab860ee python-mysqlclient: drop package
The main user for this package was Seafile.
In the meantime, Seafile switch to PyMySQL.
    https://pypi.org/project/PyMySQL/

PyMySQL seems to be a replacement for python-mysqlclient, and while it may
not be fully compatible with the MySQL API, it may be that those APIs
wouldn't be used.

This change drops this package.
If there is enough usage/reason to bring it back, we can.

For python-mysqlclient, the tag-line/description is:
```
This is a fork of MySQLdb1.

This project adds Python 3 support and bug fixes. I hope this fork is
merged back to MySQLdb1 like distribute was merged back to setuptools.
```

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-08 08:31:52 +03:00
Rosen Penev
b63f227faf
Merge pull request #12590 from commodo/numpy2
numpy: bump to version 1.19.0
2020-07-04 11:41:41 -07:00
Javier Marcet
4b24a4210e python-urllib3: Update to version 1.25.9
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-07-03 01:44:15 +02:00
Javier Marcet
39a7ed9e00 python-certifi: bump to 2020.6.20
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-07-03 01:44:10 +02:00
Javier Marcet
3dbc8f050b python-docker: Update to 4.2.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-07-03 01:43:58 +02:00
Javier Marcet
69a1c4363c python-pyrsistent: Update to 0.16.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-07-02 04:30:09 +02:00
Alexandru Ardelean
86b322b6cb numpy: bump to version 1.19.0
Bump host Cython version as well.
Add note near PKG_VERSION to remember to periodically update it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-01 08:52:08 +03:00