Commit Graph

62 Commits

Author SHA1 Message Date
Bruce Ashfield
8f6ebd264d python: update bbappend to python3.x
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
2ffc7a5a6f gunicorn: uprev and make python3 ready
Updating gunicorn so it can function in a python3 only environment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
52e67d4e63 python: update support packages to python3
Updating the python support packages to python3. Some packages are
dropped in favour of variants that are in meta-python, some are
updated and update to the new python3 name for others.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22 15:53:49 +00:00
Bruce Ashfield
cceef93ba8 python: drop blinker specific version and python2 recipe
We can use the python3 variant in meta-python, and we no longe need
the specific version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:48:39 +00:00
Bruce Ashfield
dc7ac8d8f6 python: drop python-backports-lzma
Now that we are python 3.3+ only, we no longer need this backport.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:45:51 +00:00
Bruce Ashfield
e57a346f7d devtools: drop python2 variant of python-sphinx
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:43:54 +00:00
Bruce Ashfield
c3d92d9942 docker: drop python2 variants
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21 17:41:08 +00:00
Wang Mingyu
0df4b0ea71 python-pyyaml: Remove the recipe
Because they already exist in meta-openembedded, remove the recipe.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-08 16:21:42 -05:00
Wang Mingyu
da2fc210f8 python-sqlalchemy: Remove the recipe
Because they already exist in meta-openembedded, remove the recipe.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-08 16:21:42 -05:00
Ming Liu
06ec74ad35 python3-nacl: add 1.3.0 recipe
A regression was introduced by commit ab12e48a:
[ python3-docker-compose: uprev to 1.25.0 ]

python3-docker-compose depends on python3-paramiko hence also depends
on python3-nacl but that recipe does not exist.

Port it from meta-lmp layer.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10 02:09:40 -05:00
Ming Liu
6dd323eb4a python3-paramiko: add 2.7.0 recipe
A regression was introduced by commit ab12e48a:
[ python3-docker-compose: uprev to 1.25.0 ]

python3-docker-compose depends on python3-paramiko but that recipe does
not exist.

Port it from meta-lmp layer and uprev to the latest release 2.7.0.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10 02:09:40 -05:00
Ming Liu
cf3ad09036 python-docker: uprev to 4.1.0
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06 14:08:07 -05:00
Ming Liu
3e53cdfeae python-docker-pycreds: uprev to 0.4.0
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06 14:08:07 -05:00
Ming Liu
1fe16a1e5e python-sqlalchemy: drop 1.0.16 recipe
Seems no one is referring this recipe, there is already a
python-sqlalchemy_1.1.5 recipe in this layer.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-25 16:07:17 -05:00
Zheng Ruoqin
8f11785481 python-webob: RDEPENDS remove
Remove python-nose from RDEPENDS for it has been removed from oe-core.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-09-03 16:02:19 -04:00
Yuan Chao
5b8630da22 python3-sphinx: Add python3 version
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-30 00:29:58 -04:00
Zang Ruochen
a822d7630b python-pyyaml: upgrade 3.11 -> 5.1.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-25 22:22:44 -04:00
Dan Callaghan
2a44defc69 python-docker: depend on python-misc for the ntpath module
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-08 16:01:28 -05:00
Hong Liu
274a72a5db python-webob:upgrade to 1.8.5
Upgrade python-webob from 1.8.2 to 1.8.5

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-03 03:42:29 +00:00
Ting Yu
cbefd4d88c add the py2 version for python-docker and python-docker-pycreds packages
add the py2 version for python-docker and python-docker-pycreds packages.
add python-six and python-backport_ssl (for ph2 only) as python-docker dependencies.

verify the connection to docker engine at run time -
>>> import docker
>>> client = docker.from_env()
>>> client.images.list()
[<Image: 'hello-world:latest'>]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-21 08:46:14 -05:00
Hong Liu
4e02acfb79 python-webob:1.7.3.bb->1.8.2
Upgrade python-webob from 1.7.3 to 1.8.2.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-09-05 16:40:00 -04:00
Hong Liu
827a8269d8 python-sphinx:1.7.6:1.7.8
Upgrade python-sphinx from 1.7.6 to 1.7.8.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-09-05 16:39:48 -04:00
Hong Liu
17613c1a3b python-sphinx:1.4.1->1.7.6
1.Upgrade python-sphinx from 1.4.1 to 1.7.6.

2.Modify LIC_FILES_CHKSUM,because of delete "PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2"

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-07-23 15:53:22 -04:00
Ricardo Salveti
43e4cd760f python3-docker: update to 3.4.0
Update python3-docker from 2.5.1 to 3.4.0.

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-22 14:38:49 -04:00
Ricardo Salveti
d9d6d14cad python3-docker-pycreds: update to 0.3.0
Update python3-docker-pycreds from 0.2.1 to 0.3.0.

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-06-22 14:38:49 -04:00
Armin Kuster
032ef53104 refactor for YP Compat for PV changes
Only include our versions of recipes if virtualiztions is in
DISTRO_FEATURE

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-23 12:38:50 -04:00
Jagadeesh Krishnanjanappa
5a5b82bbff gunicorn: replace PN with BPN, to solve fetch failure while building for multilib
The multilib gunicorn (for example lib32-gunicorn) fetch fails with
below error:
-- snip --
--2018-03-07 16:52:09-- https://pypi.python.org/packages/source/g/gunicorn/lib32-gunicorn-19.1.1.tar.gz
Resolving pypi.python.org... 151.101.0.223, 151.101.64.223, 151.101.128.223, ...
Connecting to pypi.python.org|151.101.0.223|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-07 16:52:09 ERROR 404: Not Found.
-- snip --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-03-08 16:20:01 -05:00
Mark Asselstine
8d0aa86aa4 python-twisted: drop recipe
Per the original commit this was only included as a temporary measure
until the recipe was available in meta-openembedded. At this point the
meta-openembedded recipe is not only available but has been uprev'd
several times making it more suitable than the recipe we are now
deleting here.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2018-01-18 10:50:54 -05:00
Mark Asselstine
f65d364dff python3-websocket-client: make py2 version available
Allow a py2 version of the python-websocket-client package to be
built. This is required to support updates in meta-cloud-services.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-28 11:11:37 -05:00
Abdur Rehman
5b6773e6cf python3-dockerpty: fix license-checksum qa issue
Fix license path and checksum for python3-dockerpty.

Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-15 16:00:22 -05:00
Mark Asselstine
34dee81d0c python-*: switch remaining pypi recipes to use the pypi class
Cleanup the various python-* recipes which download from pypi. The
biggest change is to "inherit pypi" which should result in us always
using current pypi best practices. This will for example ensure we are
using https and not http which is apparently going to be disabled
soon.

Where the default behavior in the pypi class wasn't sufficient we make
use of the PYPI_* variables to overwrite the defaults.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-15 16:00:18 -05:00
Mark Asselstine
25fa17b0bb python-webob: uprev to v1.7.3
The only user in meta-virtualization is python-bugsnag and there is no
version dependency. This new version is however required by the latest
openstack. Switched to using the "common" pypi.bbclass while we are at
it.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-11-07 15:14:46 -05:00
Ricardo Salveti
9c4cefcb71 python3-docker: add missing RDEPENDS
Add python3-docker-pycreds, python3-requests and
python3-websocket-client to RDEPENDS for a functional python docker
module (otherwise even import docker fails).

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-10-17 13:18:01 -04:00
Pascal Bach
d16d4acc60 python3-docker-compose: add version 1.16.1 + dependencies
This requires some packages as well as the pypi.bbclass from meta-python.

It uses Python 3 as I don't think it makes sense to use Python 2 anymore.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-09-15 15:21:18 -04:00
Adrian Dudau
faa16f7ede python-itsdangerous: Drop recipe
Same version of the recipe is maintained in meta-python, no need to
keep a duplicate here.

Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-14 12:03:12 -04:00
Adrian Dudau
b6f7f158cb python-simplejson: Drop recipe
Newer version of the recipe (v3.11.1) is already maintained in
meta-python and I couldn't find any hard dependencies on the current
version.

Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-14 12:03:11 -04:00
Adrian Dudau
87b4527787 python-six: Drop recipe
Same recipe is maintained in oe-core, no need to keep a duplicate here.

Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-03 23:46:10 -04:00
Adrian Dudau
88277c8496 python-requests: Drop recipe
There's a newer recipe (v2.13) maintained in meta-python. meta-openstack
explicitly prefers that version over this one, so no point in keeping
this recipe since nobody else is using this version.

Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-07-10 11:47:37 -04:00
Mark Asselstine
c1b428f3d2 python3-twisted: temporarily add recipe
This will eventually be available in meta-openembedded so will be able
to be reverted. This will allow us to use openvswitch with python3 in
the interim.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-06-22 10:48:26 -04:00
Mark Asselstine
e20ee824e0 python-sqlalchemy: uprev to latest in 1.0.x series
According to the changelog at
(http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html)
this is mostly bug fixes. We need a version >= 1.0.10 to properly
support the python-oslo.db uprev to stable/newton in
meta-cloud-services.

NOTE the license checksum has changed do to content change, not
because the package license has changed, it is still MIT.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-20 08:58:43 -05:00
Huang Qiyu
c715ed448d python-sqlalchemy: Add 1.1.5
1) Copy the v1.0.9 bb to create python-sqlalchemy v1.1.5.
2) License checksum changed,since the copyright years were updated.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-20 08:58:43 -05:00
Huang Qiyu
9f94683024 python-sqlalchemy: 1.0.8 -> 1.0.9
Upgrade python-sqlalchemy from 1.0.8 to 1.0.9.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-17 14:50:33 -05:00
Huang Qiyu
60ba662076 python-sphinx: 1.3.1 -> 1.4.1
1) Upgrade python-sphinx from 1.3.1 to 1.4.1
2) License checksum changed,since the copyright years were updated.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-14 19:26:18 -05:00
Huang Qiyu
cae119bc7e python-webob 1.4.1 -> 1.6.0
Upgrade python-webob from 1.4.1 to 1.6.0.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-14 19:26:18 -05:00
Mark Asselstine
b6d051a197 openvswitch: fix build host contamination
There is only a single PYTHON variable for configure and yet python is
used for the build as well as scripts installed on the target. If we
set a path in PYTHON as we had we end up using this same path during
the build and since it isn't to the sysroot we end up with host
contamination (as demonstrated by python failing to import 'six' on
build hosts without python-six installed.

The best approach is to set PYTHON to "python" when calling configure,
ie. without a path. This will use 'python' from the path during build
time and by ensuring all the installed scripts use '/usr/bin/env' we
can ensure python will be found on the target when the scripts are
run.

Since 'six' is used as part of the build we have to ensure it is
-native'ly buildable and we set all the required build and runtime
dependencies.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-14 19:26:17 -05:00
Jackie Huang
9536713ef4 python-m2crypto: Fix issue with swig 3.0.5
The version 0.22.3 of python-m2crypto fails to work after
swig updated to 3.0.5+:
AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'

It's fixed since 0.22.4 and we could update it to latest version,
but docker-registry depends on the version 0.22.3, so backport
the patch to fix the issue with swig 3.0.5.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-05 11:15:15 -04:00
Mark Asselstine
0d2f0e570b python-six: uprev to latest
The openstack layer requires a version of six >= 1.9.0

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-09 14:28:41 -05:00
Mark Asselstine
2522803277 bbappend: switch to use a wildcard beyond major version
Using a wildcard will simplify things when using meta-virtualization
against different yocto or oe branches and prevent having to make
future updates to keep in step with package uprevs.

The changes found within these bbappend tend to be generic and
non-version specific, thus safe for 'porting' via wildcard.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-09-08 09:59:36 -04:00
Lei Maohui
ace7b57c02 python-sqlalchemy upgrade 0.9.7->1.0.8
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-05 22:34:54 -04:00
Lei Maohui
48671c3e8c python-sphinx: upgrade 1.2b1 -> 1.3.1
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-05 22:34:54 -04:00