aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
| * python3-package.mk: fix syntax error in FindStdlibDependsMichal Vasilek2021-09-30
| | | | | | | | | | | | | | | | When running FindStdlib and running DependsCheckHostPipVersionMatch at the same time, both commands were joined together resulting in a syntax error. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
| * python-websockets: new packageMichal Vasilek2021-09-30
| | | | | | | | Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* | pillow: add webp supportAlexandru Ardelean2021-09-30
| | | | | | | | | | | | Requested via: https://github.com/openwrt/packages/pull/16732 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | openpyxl: bump to version 3.0.9Alexandru Ardelean2021-09-30
|/ | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: enable bluetooth support by defaultAlexandru Ardelean2021-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bluetooth support requires bluez-libs present, but they are only required for the build, and don't seem to be needed to be present on the target. There isn't any linking required to libbluetooth. It's only the bluetooth.h header that is required for building BT support into Python. For testing, this snippet was used from `Lib/test/test_socket.py` (inside cpython): ``` def _have_socket_bluetooth(): """Check whether AF_BLUETOOTH sockets are supported on this host.""" try: # RFCOMM is supported by all platforms with bluetooth support. Windows # does not support omitting the protocol. s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM) except (AttributeError, OSError): return False else: s.close() return True ``` Fixes: https://github.com/openwrt/packages/issues/16544 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3-texttable: update to version 1.6.4Javier Marcet2021-09-20
| | | | | | - Fix alignment bug when deco is modified Signed-off-by: Javier Marcet <javier@marcet.info>
* python-dotenv: update to v0.19.0Javier Marcet2021-09-20
| | | | | | | | | | | | | | | | | | | | Changed: - Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported - Raise ValueError if quote_mode isn't one of always, auto or never in set_key - When writing a value to a .env file with set_key or dotenv set <key> <value> Added: - The dotenv_path argument of set_key and unset_key now has a type of Union[str, os.PathLike] instead of just os.PathLike Signed-off-by: Javier Marcet <javier@marcet.info>
* python-docker: Update to 5.0.2Javier Marcet2021-09-20
| | | | | | | | | | | | | | | | | | | | Bugfixes: - Fix disable_buffering regression - Bring back support for ssh identity file - Cleanup remaining python-2 dependencies - Fix image save example in docs Miscellaneous: - Bump urllib3 to 1.26.5 - Bump requests to 2.26.0 Signed-off-by: Javier Marcet <javier@marcet.info>
* python3-speedtest-cli: update to 2.1.3Matt Merhar2021-09-18
| | | | | | This includes a fix for a breaking change in the Speedtest API. Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
* python-astral: update to version 2.2Josef Schlehofer2021-09-17
| | | | | | Update copyright Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* Merge pull request #16552 from turris-cz/awesomeversionAlexandru Ardelean2021-09-16
|\ | | | | python-awesomeversion: add it to the repository
| * python-awesomeversion: add it to the repositoryJosef Schlehofer2021-09-15
| | | | | | | | | | | | This package is dependency for Home Assistant Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | openpyxl: bump to version 3.0.8Alexandru Ardelean2021-09-14
| | | | | | | | | | | | And switch to AUTORELEASE for PKG_RELEASE. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python3: bump version to 3.9.7Alexandru Ardelean2021-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refreshed patches. And apply hack for line-endings in pep517 (from pip). Hack comment: # FIXME: [1] get rid of this asap; 'patch' doesn't like Windows endings, and this file is full of them... # I actually tried this in a number of ways and the only way to fix this is to implement # a poor-man's dos2unix using sed. # The issue is with the pip package; it seems that it throws in some Windows line-endings # and 'patch' won't handle them. So, we do a "dos2unix" and then patch. # We can get rid of this once this is solved upstream and in pip: # https://github.com/pypa/pep517/pull/130 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | django: bump to version 3.2.7Alexandru Ardelean2021-09-09
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | Merge pull request #16542 from turris-cz/aiohttpRosen Penev2021-09-08
|\ \ | | | | | | python-aiohttp: update to version 3.7.4post0
| * | python-aiohttp: update to version 3.7.4post0Josef Schlehofer2021-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: - Bumped upper bound of the chardet runtime dependency to allow their v4.0 version stream. From https://github.com/aio-libs/aiohttp/blob/a1158c5389854f9885c30e08b0020e2d7d8a290f/CHANGES.rst Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | Merge pull request #16553 from turris-cz/yarlRosen Penev2021-09-08
|\ \ \ | | | | | | | | python-yarl: update to version 1.6.3
| * | | python-yarl: update to version 1.6.3Josef Schlehofer2021-09-07
| | |/ | |/| | | | | | | | | | | | | Update Makefile copyright Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* / | pillow: bump to 8.3.2Alexandru Ardelean2021-09-08
|/ / | | | | | | | | | | And start using AUTORELEASE for PKG_RELEASE. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* / python-certifi: update to version 2021.5.30Josef Schlehofer2021-09-06
|/ | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* Merge pull request #16513 from jefferyto/python-cryptography-3.4.8Rosen Penev2021-09-01
|\ | | | | python-cryptography: Update to 3.4.8
| * python-cryptography: Update to 3.4.8Jeffery To2021-09-02
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | fail2ban: initial package of fail2ban version 0.11.2Kerma Gérald2021-09-01
|/ | | | | | python3-pyinotify: initial package version 0.9.6 of pyinotify for python3 Signed-off-by: Kerma Gérald <gandalf@gk2.net>
* 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>