Commit graph

1281 commits

Author SHA1 Message Date
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
Javier Marcet
79873a31e1 python3-distro: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 17:07:33 +02:00
Javier Marcet
d7a01bbba0 python3-docker: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:58:34 +02:00
Javier Marcet
2770f477f7 python3-paramiko: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:57:26 +02:00
Javier Marcet
9af6a41b40 python3-pynacl: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:57:06 +02:00
Javier Marcet
d69b0091c0 python3-websocket-client: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:51:04 +02:00
Javier Marcet
5ac7f3e958 python3-texttable: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:50:47 +02:00
Javier Marcet
4dc815d0d1 python3-jsonschema: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:49:06 +02:00
Javier Marcet
1a5292d17c python3-dockerpty: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:49:06 +02:00
Javier Marcet
76e64046d1 python3-docopt: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:48:40 +02:00
Javier Marcet
cbf50bb03c python3-cached-property: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:48:40 +02:00
Rosen Penev
d3abf54693
Merge pull request #12406 from peter-stadler/django
django: update to version 3.0.7
2020-06-04 14:23:00 -07:00
Peter Stadler
f8fb3e6a25 django: update to version 3.0.7
update to newest version

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-06-04 17:39:58 +02:00
Alexandru Ardelean
c2397e7281 pillow: bump to version 7.1.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-06-03 16:47:01 +03:00
Jiri Slachta
657d906234
Merge pull request #12337 from commodo/lxml-bump-4-5-1
Lxml bump 4 5 1
2020-06-01 13:09:56 +02:00
Rosen Penev
eb8ea687c2
Merge pull request #12349 from ja-pa/pytest-update-5.4.2
python-pytest: update to version 5.4.2
2020-05-28 11:28:55 -07:00
Jan Pavlinec
e7654631b6
python-pytest: update to version 5.4.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-28 17:09:21 +02:00
Hannu Nyman
7cfe56aa5d
Merge pull request #12347 from ja-pa/python-packaging-update
python-packaging: update to version 20.4
2020-05-28 17:25:46 +03:00
Jan Pavlinec
fc06257b22
python-packaging: update to version 20.4
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-28 13:53:30 +02:00
Jeffery To
c0a0b7cc3b
python-crypto: Remove package
The pycrypto package is not maintained; the last stable release was in
2013.

This also updates python3-cryptodome, from conflicting with
python3-crypto, to providing python3-crypto.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-27 17:39:45 +08:00
Alexandru Ardelean
43403ccb46 python-lxml: bump to version 4.5.1
This took a while to get running.
It turns out, the fix is mostly in libxslt.
lxml uses the xsltGetProfileInformation() function, which is disabled from
libxslt via --without-profiler.
This causes a runtime error, since it cannot find the symbol.
So, libxslt is also updated to re-enable the profiler.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-27 11:14:55 +03:00
Hannu Nyman
5e6b871e9e
Merge pull request #12316 from commodo/python3-six
python-six: bump to version 1.15.0
2020-05-26 15:57:33 +03:00
Alexandru Ardelean
45946961b8 python-six: bump to version 1.15.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-05-26 11:42:53 +03:00
Peter Stadler
dd7f2ee695 python3-django-cors-headers: update version to 3.3.0
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-25 23:56:45 +02:00
Jeffery To
3c36696a56 python-packages: Add usr/bin symlinks without "3" suffix
Previously, binaries installed by Python packages will have a
non-suffixed Python 2 version and a suffixed Python 3 version, e.g. pip
and pip3. With the removal of Python 2, the non-suffixed names are no
longer taken.

This adds symlinks for the non-suffixed names linking to the suffixed
scripts (or in the case of pip, easy_install, and python-config, to the
fully-versioned scripts).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-22 03:57:55 +08:00
Hannu Nyman
643b91abb3
Merge pull request #12245 from jefferyto/python3-setuptools-site-patch
python3-setuptools: Fix error when installing from source
2020-05-21 15:51:23 +03:00
Jeffery To
70a7f736c5 python3-setuptools: Fix error when installing from source
When a Python package is installed from source (i.e. using setup.py)
into a custom location (with --home), setuptools may want to create a
site.py file in the custom location. This file is created based on the
source code of site-patch.py, a file bundled with setuptools.

Because the normal OpenWrt setuptools package does not contain Python
source code, this file is missing and the installation will end with an
error.

This copies site-patch.py to site-patch.py.txt so that it will be
included in python3-setuptools, and patches setuptools to look for this
file.

See https://github.com/openwrt/packages/issues/12223

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 20:02:13 +08:00
Jeffery To
10e67aca45 django-postoffice: Update to 3.3.0
This is not the newest version but the last version compatible with
Django 1.11.

This also updates the jsonfield dependency to jsonfield2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 05:02:35 +08:00
Jeffery To
a9cc46658a django-jsonfield2: Add package
This package mainly serves to support django-post-office 3.3.0, as that
version switched its dependency from jsonfield to jsonfield2 (a fork of
jsonfield).

The version packaged in this package (3.0.3) is the last version that
supports Django 1.11.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-05-21 04:53:54 +08:00
Rosen Penev
1fc71ed994
Merge pull request #12234 from jefferyto/python3-3.8.3
python3: Update to 3.8.3, refresh patches
2020-05-20 11:12:55 -07:00
Jan Pavlinec
4614041245
python-more-itertools: update to version 8.3.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-20 13:37:10 +02:00