aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
* python3-package.mk: add check for dependencies in host-pip-requirementsAlexandru Ardelean2021-08-30
| | | | | | | | | | | | | | | | | | | | It often happens that we update a package to a new version (e.g. cffi) to a newer version, but we forget to update the version for cffi in the `lang/python/host-pip-requirements/cffi.txt` file. This check adds a minimal check, so that when a build occurs for a Python package, if there is a mention/listing of this package in `lang/python/host-pip-requirements/` it will check that the versions match. This way, when we update a package, we get a build failure and update the host version as well. This will omit packages (like Cython) that are not packaged for OpenWrt, but are host-side dependencies only. But until we find some mechanism to check for those, we will probably only notice to update them when another build occurs (at the very least). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* seafile-seahub: move Django-1.11.txt in package folderAlexandru Ardelean2021-08-30
| | | | | | | | | Django 1.11 (host-build) is only needed for Seahub. And won't ever be needed for anything else (hopefully). This change moves it to the Seahub folder. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-websocket-client: update to 1.2.1Michal Vasilek2021-08-27
| | | | | | | | * update license (changed in 1.2.0) * removed python3-six dependency (removed in 1.0.0) * do not install tests Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* numpy: bump to version 1.21.2Alexandru Ardelean2021-08-25
| | | | | | | Switch to AUTORELEASE for PKG_RELEASE. And update Cython as well. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-simplejson: bump to version 3.17.5Alexandru Ardelean2021-08-24
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3-setuptools: add _distutils_hackJosef Schlehofer2021-08-18
| | | | | | | | | | | | | | | | | | | | | | | | I tried to install matplotlib by using pip and it failed with the following output: 2021-08-18T11:52:26,171 Collecting matplotlib 2021-08-18T11:52:26,173 Created temporary directory: /tmp/pip-unpack-wuth2u0e 2021-08-18T11:52:26,565 Using cached matplotlib-3.4.3.tar.gz (37.9 MB) 2021-08-18T11:52:38,659 Added matplotlib from https://files.pythonhosted.org/packages/21/37/ 197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar. gz#sha256=fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 to build tracker '/tmp/pip- req-tracker-u30x8pht' 2021-08-18T11:52:38,660 Running setup.py (path:/tmp/pip-install-afiyiers/ matplotlib_8e717e38862f4976a3d6cb1832ba3261/setup.py) egg_info for package matplotlib 2021-08-18T11:52:38,661 Created temporary directory: /tmp/pip-pip-egg-info-kbtiezxq 2021-08-18T11:52:38,662 Running command python setup.py egg_info 2021-08-18T11:52:38,831 Traceback (most recent call last): 2021-08-18T11:52:38,832 File "<string>", line 1, in <module> 2021-08-18T11:52:38,832 File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in <module> 2021-08-18T11:52:38,833 ModuleNotFoundError: No module named '_distutils_hack' More details about it: - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968410 Once I applied the patch from the bug tracker, I got further to install it. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* python-cachelib: update to version 0.3.0Stepan Henek2021-08-17
| | | | Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
* django: bump to version 3.2.6Alexandru Ardelean2021-08-13
| | | | | | And switch to AUTORELEASE for PKG_RELEASE. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-sqlalchemy: update to version 1.4.22Josef Schlehofer2021-08-13
| | | | | | Update copyright Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* Merge pull request #16320 from turris-cz/babelAlexandru Ardelean2021-08-12
|\ | | | | python-babel: update to version 2.9.1
| * python-babel: update to version 2.9.1Josef Schlehofer2021-08-11
| | | | | | | | | | | | | | Changelog: https://github.com/python-babel/babel/releases/tag/v2.9.1 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | python-curl: update to version 7.44.0Josef Schlehofer2021-08-12
|/ | | | | | | | | | | | | Changelog: PycURL 7.44.0 - 2021-08-08 -------------------------- This release reinstates best effort Python 2 support, adds Python 3.9 and Python 3.10 alpha support and implements support for several libcurl options. Official Windows builds are currently not being produced. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* python-twisted: Update to 21.7.0, refresh patchesJeffery To2021-08-09
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-distro: update to version 1.6.0Javier Marcet2021-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - BACKWARDS COMPATIBILITY: - Deprecated the distro.linux_distribution() function. Use distro.id(), distro.version() and distro.name() instead [#296] - Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will only support Python 3.6+ - ENHANCEMENTS: - Added type hints to distro module [#269] - Added __version__ for checking distro version [#292] - Added support for arbitrary rootfs via the root_dir parameter [#247] - Added the --root-dir option to CLI [#161] - Added fallback to /usr/lib/os-release when /etc/os-release isn't available [#262] - BUG FIXES: - Fixed subprocess.CalledProcessError when running lsb_release [#261] - Ignore /etc/iredmail-release file while parsing distribution [#268] - Use a binary file for /dev/null to avoid TextIOWrapper overhead [#271] - RELEASE: - Moved repository from nir0s/distro to python-distro/distro on GitHub. Signed-off-by: Javier Marcet <javier@marcet.info>
* pyodbc: update hashTianling Shen2021-08-01
| | | | | | | | This package was updated without a hash change. Fixes: c1575225807cab ("pyodbc: update to version 4.0.31") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* Flash: update to version 2.0.1Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Jinja2: update to version 3.0.1Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Werkzeug: update to version 2.0.1Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* MarkupSafe: update to version 2.0.1Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* click: update to version 8.0.1Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* itsdangerous: update to version 2.0.1Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* pyodbc: update to version 4.0.31Daniel Golle2021-08-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Merge pull request #16078 from ja-pa/fix-emailRosen Penev2021-07-29
|\ | | | | treewide: change email address in PKG_MAINTAINER
| * treewide: change emailJan Pavlinec2021-07-29
| | | | | | | | | | | | Change from jan.pavlinec@nic.cz to jan.pavlinec1@gmail.com Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | numpy: fix circular dependencyAlexandru Ardelean2021-07-29
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | numpy: bump to version 1.21.1Alexandru Ardelean2021-07-26
| | | | | | | | | | | | | | | | | | | | | | Also bump Cython version to 0.29.23. And add support for OpenBLAS. Currently optional, but will be enabled by default on some architectures later. Depends on PR https://github.com/openwrt/packages/pull/15685 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-requests: bump to version 2.26.0Alexandru Ardelean2021-07-23
| | | | | | | | | | | | | | | | | | This version prefers charset_normalizer instead of chardet. chardet is still usable if available. Dropping patches for idna. Not required anymore. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-dateutil: bump to version 2.8.2Alexandru Ardelean2021-07-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | pillow: bump to version 8.3.1Alexandru Ardelean2021-07-14
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-cffi: bump to version 1.14.6Alexandru Ardelean2021-07-14
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-simplejson: bump to version 3.17.3Alexandru Ardelean2021-07-14
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python3: use gdbm for Berkley dbmAlexandru Ardelean2021-07-13
|/ | | | | | | | | | | | | | | | | | | Python works with GNU DBM and with Berkley DBM. Berkley DBM has been under Oracle for some time. And it's not clear how many Python users actually use DBM. In the packages feed, we have both libdb47 (which is now under Oracle) and GNU DBM. The GNU DBM has a compatibility layer for Berkley DBM. There are newer versions than libdb47, but it's probably not worth having them yet. The libbd47 tarball is ~40+ MB. Odds are newer versions will be bigger and more bloated. This change merges the old `python3-gdbm` package into the `python3-dbm` package, since they are effectively using the same underlying library now, i.e. gdbm. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: do a simple ls on pip & setuptools if not selected for buildAlexandru Ardelean2021-07-06
| | | | | | | | | I seem to forget to check/select setuptools and pip (that come bundled with Python). This change will do a simple 'ls' on the 2 wheel files, so that the build fails even if just building Python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: update to version 3.9.6Alexandru Ardelean2021-07-06
| | | | | | | Refreshed patches. Bumped pip to 21.1.3. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #16043 from commodo/pillowRosen Penev2021-07-05
|\ | | | | pillow: bump to version 8.3.0
| * pillow: bump to version 8.3.0Alexandru Ardelean2021-07-05
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | django: bump to version 3.2.5Alexandru Ardelean2021-07-05
|/ | | | | | | | | | Several bug-fixes. Fix CVE-2021-35042 Release notes: https://docs.djangoproject.com/en/3.2/releases/3.2.5/ Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-dateutil: add setuptools-scm build depAlexandru Ardelean2021-07-02
| | | | | | | | | | | | | | Following: https://github.com/openwrt/packages/pull/16004 https://github.com/openwrt/packages/pull/15995 https://github.com/openwrt/packages/issues/15988 It seems that dateutil requires setuptools-scm to be installed. As such, this is being added as a dependency. Also, bump setuptools-scm to version 6.0.1 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-cryptography: bump to version 3.4.7Alexandru Ardelean2021-06-17
| | | | | | | | | | | | | | | | | | | | | | | Dropped patches: 0004-Replace-EVP_CIPHER_CTX_cleanup-with-EVP_CIPHER_CTX_r.patch 0005-Switch-get_-Update-APIs-to-get0.patch Reworked patches: 0001-Add-new-ASN1_STRING_get0_data-API.patch 0006-Add-X509_STORE_CTX_trusted_stack-compatibility-macro.patch These 2 require that we keep only the CUSTOMIZATIONS stuff for now. Maybe later we can drop this. Ran 'make package/python-cryptography/refresh'. Added patch: 0004-disable-rust.patch upstream did a sloppy job with the CRYPTOGRAPHY_DONT_BUILD_RUST logic; we need to patch it, to make sure the setuptools-rust isn't installed. We may need to carry this patch in our tree for a bit longer than upstream, because in newer versions, CRYPTOGRAPHY_DONT_BUILD_RUST logic gets removed. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* django: bump to version 3.2.4Alexandru Ardelean2021-06-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: Add readline to dependency finder scriptJeffery To2021-06-15
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-twisted: Add tls/conch dependenciesJeffery To2021-06-12
| | | | | | | | By adding these dependencies, it is much easier for users (both applications that use Twisted and end users) to have secure communications by default. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-twisted: Update to 21.2.0, redo patchesJeffery To2021-06-12
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #15833 from jefferyto/python-incremental-21.3.0Josef Schlehofer2021-06-11
|\ | | | | python-incremental: Update to 21.3.0, refresh patch
| * python-incremental: Update to 21.3.0, refresh patchJeffery To2021-06-12
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #15830 from jefferyto/python-zope-interface-5.4.0Josef Schlehofer2021-06-11
|\ \ | | | | | | python-zope-interface: Update to 5.4.0
| * | python-zope-interface: Update to 5.4.0Jeffery To2021-06-11
| |/ | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* / python-attrs: Update to 21.2.0Jeffery To2021-06-11
|/ | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #15659 from commodo/python3-readlineRosen Penev2021-06-02
|\ | | | | python3: add python3-readline subpackage
| * python3: add python3-readline subpackageAlexandru Ardelean2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python3 comes with a built-in readline module. It wasn't included up until now; mostly because it wasn't considered. This change introduces it as a sub-package of the main Python3 package. readline support is included in Python. libreadline pulls libncursesw as a package, so python3-ncurses was updated to pull libncursesw as well. It should be the same package; mostly done for consistency. Resolves the issue reported here: https://forum.openwrt.org/t/python3-repl-missing-readline/90039 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>