this release solve the permission issue on the EGG directory
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This version has some file system permission issues, all
the files are readable by the owner only (in the archive
from pypi.org). Given all files in the target file system
will ultimately be owned by root, this means that this
package can only be used by root.
Fix the permissions, and hopefully the next version will
have the archive fixed. The version has been hard-coded
on purpose here so as to remind us to double-check if
the _append() is still needed after a version upgrade.
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python module that makes working with XML feel
like you are working with JSON
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-license-expression is a utility library to parse and work with
license expressions.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
boolean.py is a library to define and parse boolean algebras. It is
used by python3-license-expression.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Twisted's application/runner/test/test_runner.py was trying to import
from a deprecated module and failing. The module import has been
corrected and accepted in Twisted upstream, but there's no release
with it yet for Yocto to upgrade to, hence the backport.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
...
import astor
File "/usr/lib/python3.7/site-packages/astor/__init__.py", line 24, in <module>
with open(os.path.join(ROOT, 'VERSION')) as version_file:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/astor/VERSION'
...
Place the value in a simple VERSION text file and have both setup.py and the
project code read it. With this approach you must make sure that the VERSION
file is included in all your source and binary distributions (e.g. add include
VERSION to your MANIFEST.in). [1]
[1] https://packaging.python.org/guides/single-sourcing-package-version/
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since version 4.7.0, beautifulsoup4 uses soupsieve for CSS selectors.
Add to RDEPENDS to address this oversight.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport python3-soupsieve to python2; this enables use in
python-beautifulsoup4.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Soupsieve is a CSS selector library used by python(3)-beautifulsoup4
since 4.7.0.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The RDEPENDS for class-target also apply to class-native.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-html2text converts HTML to Markdown-formatted text.
Signed-off-by: Peter Kolbus <peter.kolbus@garmin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
import twisted.conch.checkers outputs error messages like the
following for multiple modules:
|Python 3.7.4 (default, Oct 28 2019, 02:05:50)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import twisted.conch.checkers
|
|Error message :
|File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
|File "/usr/lib64/python3.7/site-packages/twisted/conch/checkers.py", line 32, in
|<module>
|from twisted.conch.ssh import keys
|File "/usr/lib64/python3.7/site-packages/twisted/conch/ssh/keys.py", line 18, in
|<module>
|import bcrypt
|No module named 'bcrypt'
Add the missing RDEPENDS so that it works (bcrypt, cryptography, pyasn1,
pickle).
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
twisted's internet submodule has serial port functionality that relies
on python3-pyserial to be available, but this isn't in twisted's RDEPENDS
list, so imports of the serial port functionality will fail:
|root@qemux86-64:~# python3
|Python 3.7.5 (default, Dec 5 2019, 23:01:22)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import twisted.internet.serialport
|Traceback (most recent call last):
| File "<stdin>", line 1, in <module>
| File "/usr/lib/python3.7/site-packages/twisted/internet/serialport.py", line 21, in <module>
| import serial
|ModuleNotFoundError: No module named 'serial'
|>>>
Since the internet submodule is part of the twisted-core split, add
python3-pyserial to RDEPENDS for that part of the recipe.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-setup.cfg-add-non-GPL-format-option.patch
Removed since it is included in 3.2.0
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With netifaces it's possible to get the addresses of the machine's network
interfaces from Python. Network configuration renderers such as Netplan depends
on its Python3 implementation.
Signed-off-by: Jacopo Dall'Aglio <jacopo.dallaglio@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pure python dbus library with support for various loop including asyncio
>From the readme:
DBussy allows you to take advantage of asyncio, but it doesn’t force
you to use it. DBussy is meant to give you access to (nearly) all the
functionality of the underlying libdbus library
<https://dbus.freedesktop.org/doc/api/html/index.html>. libdbus is a
very low-level, very general library, designed to be called from C
code, that makes no assumptions about event loops at all.
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
move these recipes from meta-cloud-services, since python3-django
RDEPENDS on this, and extend for native and nativesdk.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This module merges the argparse and the configparser functionality
and is python3 compatible
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-remove-requirement-of-nose.patch is removed as new version
has also removed such dependency.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pyelftools is a pure-Python library for parsing and analyzing ELF files
and DWARF debugging information.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
in commit fcda3fb1a3
python3-importlib-metadata: RDEPEND python3-misc only for target and nativesdk
The RDEPENDS for class target was "appended" with +=
RDEPENDS_${PN}_class-target += "python3-misc"
Using += for class target does't append the dependencies to
the existing one, instead what it does is overwrite it.
This was causing the RDEPENDS to be wrongly set only to python3-misc
not including the one included in the inc file (zipp, pathlib2).
Use append instead.
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is the backport of a patch upstream
- 10f8a3e Add format validators as separate modules
This will add a PACKAGECONFIG = "nongpl" option to include only dependencies
not licensed under the GPL license.
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- add second license file to LIC_FILES_CHKSUM for json module
- add missing dependencies: six, datetime
- add HOMEPAGE field
Also:
- add RDEPENDS for PACKAGECONFIG[format] for optional modules that are
not always needed. In particular rfc3987 and strict-rfc3339 are GPLv3
modules.
- add missing idna and jsonpointer modules for PACKAGECONFIG[format]
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
the previous patch:
903bfb78a0 python3-dbus-next: first commit of dbus-next 0.1.2
was put in the wrong folder. This fixed that.
define PYPI_PACKAGE
Fixes fetch issues
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The recipe was downgraded to the last version supporting Python 2.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python3 recipe rprovides python3-misc only for target and nativesdk,
but if we have some recipe that rdepends python3-misc and has native
in BBCLASSEXTEND bitbake raises an error showing that nothing rprovides
python3-misc-native.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
gmqtt is a modern client library for mqtt v5 that uses asyncio to work.
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Move it from meta-selinux to meta-python and update to 1.00.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-License-Update: Renamed from LICENSE to LICENSE.rst and Copyright year changed to 2010.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
...
$ python3
$ >>> import importlib_metadata
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 15, in <module>
from ._compat import (
File "/usr/lib/python3.7/site-packages/importlib_metadata/_compat.py", line 28, in <module>
import pathlib
ModuleNotFoundError: No module named 'pathlib'
...
Module pathlib comes from python3-misc
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python-contextlib2 is required by python-importlib-metadata,
the newly added recipes refers the one in meta-cloud-services
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It is required by python-pathlib2.
The recipe refers the duplicated one in meta-iot-cloud
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
...
$ >>> python
$ >>> import pathlib2 as pathlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/pathlib2/__init__.py", line 52, in <module>
from scandir import scandir as os_scandir
ImportError: No module named scandir
$ >>> import pathlib2 as pathlib
ceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pathlib2/__init__.py", line 9, in <module>
import ntpath
ImportError: No module named ntpath
...
Module scandir comes from python-scandir and ntpath comes from python-misc
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python 2.7 is no longer supported. The 5.0.0 release will be the last
version targeting Python 2.7. [1]
[1] 560b045b43
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes a following runtime issue:
| raise DistributionNotFound(req, requirers)
| pkg_resources.DistributionNotFound: The 'importlib_metadata'
| distribution was not found and is required by jsonschema
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
$ python3
$ >>> import pluggy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 16, in <module>
from .manager import PluginManager, PluginValidationError
File "/usr/lib64/python2.7/site-packages/pluggy/manager.py", line 11, in <module>
import importlib_metadata
ImportError: No module named importlib_metadata
$ python
$ >>> import pluggy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 16, in <module>
from .manager import PluginManager, PluginValidationError
File "/usr/lib64/python2.7/site-packages/pluggy/manager.py", line 11, in <module>
import importlib_metadata
File "/usr/lib64/python2.7/site-packages/importlib_metadata/__init__.py", line 9, in <module>
import zipp
File "/usr/lib64/python2.7/site-packages/zipp.py", line 12, in <module>
import more_itertools
ImportError: No module named more_itertools
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- License-Update: Formatting changes due to change in SRC_URI
- This is reflected as latest release on PyPI
- Add python3 variant
- Add python3 variant to meta-python packagegroup
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-License-Update: The old version of the license file was deleted in the new version, so choose another file containing the license information for verification.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python ujson is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python pyusb is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python pyhamcrest is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python psutil is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python oauthlib is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python jsonpatch is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python markdown is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python xxhash is BSD-2-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python jsonpointer is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python flask user is BSD-2-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python babel is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python click is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python flask is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python pika is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python pyserial is BSD-3-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python whoosh is BSD-2-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python pysnmp is BSD-2-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The License of python supervisor is BSD-4-Clause.
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>