Commit graph

1311 commits

Author SHA1 Message Date
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
Jeffery To
e0e2224f8a
python-packages: Disable parallel build when host pip is needed
This adds PKG_BUILD_PARALLEL:=0 to packages that depend on host Python
packages (HOST_PYTHON3_PACKAGE_BUILD_DEPENDS), because installing
packages with multiple concurrent pip processes can lead to errors or
unexpected results[1].

This also:

* Move HOST_PYTHON3_PACKAGE_BUILD_DEPENDS definitions to before
  python3-package.mk is included

* Update Python folder readme to include PKG_BUILD_PARALLEL:=0

[1]: https://github.com/pypa/pip/issues/2361

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-30 15:43:01 +08:00
Jeffery To
9425ef1b4d
python-idna: Update to 2.10
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-29 06:52:44 +08:00
Alexandru Ardelean
c1c1d864f9 python-requests: bump to version 2.24.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-25 19:30:14 +03:00
Alexandru Ardelean
c26eca5491 numpy: add new package
Essentially, this is a re-spin from
  https://github.com/openwrt/packages/pull/9797/

But a really trimmed down version.
Only the Py3 variant is added now, which makes the Makefile really small
now.

Cython is needed on the host, to cythonize some files.

The package needs targets with hard-float enabled. This is because on some
soft-float targets floating-point exception constants aren't defined.
We can define some dummy values, but that ends up being a bit too much
work.
So, for that, the package depends on HAS_FPU or KERNEL_MIPS_FPU_EMULATOR.
This way, numpy should be buildable on hard-float, or for MIPS on the FPU
emulator being compiled in.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-21 13:25:45 +03:00
Jan Pavlinec
1eca6b8b1a
python-more-itertools: update to version 8.4.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-06-19 07:43:50 +02:00
Rosen Penev
9c6beaabe0
Merge pull request #12461 from jefferyto/python-package-variants
python-packages: Remove variants
2020-06-15 00:15:16 -07:00
Daniel Golle
90790b6b8f Flask: update to version 1.1.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-15 01:40:31 +01:00
Daniel Golle
71d1dd3941 Werkzeug: update to version 1.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-15 01:40:31 +01:00
Daniel Golle
c66a7c3477 pyodbc: update to version 4.0.30
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-15 01:40:31 +01:00
Jeffery To
836b67db90
python-packages: Remove variants
These packages were in the PR stage when the cleanup occurred and so
still had VARIANT:=python3.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-14 03:29:59 +08:00
Rosen Penev
435e5077f8
Merge pull request #12483 from jmarcet/docker-compose-fixes
docker-compose: fix depends after merge in master and move to utils
2020-06-13 02:02:57 -07:00
Josef Schlehofer
ba73eff3ea Jinja2: update to version 2.11.2
- Update project website

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-06-12 15:48:30 +01:00
Javier Marcet
94dbeabaab docker-compose: fix depends after merge in master and move to utils
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-12 11:57:42 +02:00
Jeffery To
6bb3e26fe2
python: Revise pypi.mk section of readme
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-11 16:49:56 +08:00
Jeffery To
c662835372
python: Fix relative links in readme
This also removes a link to pypi.org; the previous sentence already
links to pypi.org, a second link in the same paragraph isn't necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-11 16:36:38 +08:00
Jeffery To
f9ed65d922
python: Remove references to variants in readme
Build variants are no longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-11 16:23:49 +08:00
Rosen Penev
b247d3c851
Merge pull request #11365 from jmarcet/docker-compose_3_3
Docker compose (3 of 3)
2020-06-08 13:47:05 -07:00
Rosen Penev
1635bda9fd
Merge pull request #11364 from jmarcet/docker-compose_2_3
Docker compose (2 of 3)
2020-06-08 13:46:37 -07:00
Javier Marcet
ee8932a4ed docker-compose: new package, multi-container orchestration for Docker
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 17:16:46 +02:00
Javier Marcet
f04dc3f3ae python3-dotenv: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 17:16:36 +02:00