summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-devtools/python
AgeCommit message (Collapse)AuthorFilesLines
2018-08-31pyphosphor: srcrev bump 216b518a3c..f63e191ca6Brad Bishop1-1/+1
Adriana Kobylak (4): sensors: Remove BootProgressSensor sensors: Remove OperatingSystemStatusSensor sensors: Remove BootCountSensor sensors: Remove TurboAllowedSensor (From meta-phosphor rev: da48ad15d35d36a73f440cc7efb2f1da48e603e4) Change-Id: Iec930d45b7b7f390073b83d27fb420529940ca9c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-21remove use of meta-virtualizationBrad Bishop4-57/+0
Remove meta-virtualization from any bblayer.conf.samples. It was originally added for the python-pyyaml and python-gevent recipes but better maintained versions of these recipes are provided by meta-python. Before this can be done the python-gevent bbappend in the phosphor layer must be removed. The version scope was wildcarded to any version but the patches don't apply to python-gevent_1.2.2, which becomes the default from meta-python when meta-virt is removed. Drop the bbappend. Change-Id: I6658a163460e3c8e63dc7371ffff803a7b6915b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-21python: Drop unused python-email-utils packageBrad Bishop2-29/+2
This package is no longer used. Drop. Change-Id: I545a2cb38bb130077f85c2715b44d26a1e829526 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-21bottle: pull in vanilla python email modulesBrad Bishop1-1/+1
Bottle depends on a utility module in the email package included with the Python distro to parse rfc1123 and rfc850 timestamps. A flash footprint optimized package: python-email-utils was introduced in 5baa96f51, and Bottle made to depend on that. OpenBMC doesn't currently support a minimal distro flavor, so reverting the original optimization seems to bring some benefits: 1 - reduced comprehensional complexity 2 - reduced maintenance burden 3 - possibility for bottle recipe upstreaming to meta-oe Until OpenBMC offers a low footprint distro feature, flash constrained machines should make these types of optimizations elsewhere. The size increase for the witherspoon target was as follows (~268k): 18661376 obmc-phosphor-image-witherspoon-20180607204542.rootfs.squashfs-xz 18935808 obmc-phosphor-image-witherspoon-20180607205204.rootfs.squashfs-xz Tested: Built witherspoon image and verified REST API functional Change-Id: Ib417df2c71feea6d46d783605d690e0362176992 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-21Revert "python-dbus dbus.Byte.__str__ produces broken utf8"Brad Bishop2-39/+0
This reverts commit 3579dc63b8ab8e12fe6078937449f48ab3b9d66c. Now that the JSON library is fixed in Python this hack can be removed from dbus-python. Tested: verified encoding of dbus.Byte unchanged Change-Id: I26f837cf41c471051e0ecf0dc1d1ee78aa586b6f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-21Fix dbus.Byte JSON encodingBrad Bishop2-0/+129
dbus.Byte is not encoded by the JSON library in Python2.7 correctly. There was a hack added to dbus-python to work around this. Backport the JSON library fix from Python 3.x back to Python2.7, so we can drop the hack from dbus-python. Tested: verified encoding of dbus.Byte unchanged Change-Id: Ifc8e0d22a25f4dd52da5a136809df25771684438 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-15Revert "Adding patch to remove GNOME compiler warning(deprecated)"Brad Bishop2-14/+0
This reverts commit 53f1668751628aa94189ea518b06391c228b6c5a. This patch doesn't appear to be necessary anymore. Drop. Change-Id: I4032581af65a6f4e60abec8f8821c904947d5309 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Tested: Built a witherspoon image and booted BMC with QEMU
2018-06-05pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I0c97853c7adc2974a1cc6b052301d7e00fc920b9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-17pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I2e60fe4fade4d97a0eac3b5ef110d248e7dc4b6c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-16pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I8b7decc59cfb10fadffaf3912d9ac046ebf79bc2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-05-15pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I28009d8158c8659dbf6406675371b1bd6c108413 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-10pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I9184cc566318560b4d6fe2d5285f7a2f7a2e148d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-04-04pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I9b5c4c886df9e3944780ba27a58331a07c2bc3c7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-29pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I1f498930c35ab45015571d63c390007894e38a5b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-27pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I213afbcca78fd27f3446ebdf38aa694f554fc5ea Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-03-23python-*: use pypi classBrad Bishop5-16/+14
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. Change-Id: I3e818284efb8094e64b004af22781c8a3fcb89b3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-15Yocto 2.4Brad Bishop2-1/+11
Move OpenBMC to Yocto 2.4(rocko) Tested: Built and verified Witherspoon and Palmetto images Change-Id: I12057b18610d6fb0e6903c60213690301e9b0c67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-13Yocto 2.3Brad Bishop2-67/+0
Move OpenBMC to Yocto 2.3(pyro). Tested: Built and verified Witherspoon and Palmetto images Change-Id: I50744030e771f4850afc2a93a10d3507e76d36bc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Resolves: openbmc/openbmc#2461
2018-03-07python-ipy: Drop unused recipeBrad Bishop1-32/+0
This recipe is not used. Drop. Change-Id: I3fa053e55241fbb8b1ded9bee88cc47c2780a8b4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-03-07Revert "Update pypi.python.org packages to use https"Brad Bishop1-2/+0
This has been addressed upstream and no longer required. This reverts commit 74cb437b8c4c4a5c7ebdc68d09de377bece59e5e. Change-Id: I349c4b413da82610b709b8a6ee440652f3698368 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-28rocket: Drop recipeBrad Bishop4-63/+0
python-rocket is unused in-tree. Drop. All in-tree platforms are either using python-gevent or bmcweb as the webserver. Tested: Built witherspoon and palmetto images Change-Id: I9981f77937bd9b4784484c80b80219f70d386d3e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-28pygobject2: bump to 2.28.7Brad Bishop1-3/+3
Tested: Built and verified witherspoon and palmetto images Change-Id: Iecdbd343111ccd66fadc94ee47f6ce5775db73b4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-28bottle: update to bottle 0.12.13Brad Bishop2-5/+5
Tested: Built Witherspoon image and sanity checked REST API Change-Id: I5f4a744fe34cc588933aac0cf8beec7ee72fa1b2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-28pexpect, ptyprocess: Drop recipesBrad Bishop2-24/+0
These recipes are unused. Drop. Tested: Built and verified witherspoon and palmetto images Change-Id: Id75adb67b3581aec14b5ebdd9bf0fd384af6e09f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-28tftpy: drop recipeBrad Bishop1-19/+0
python-tftpy isn't used in-tree anywhere. Drop. Tested: Built witherspoon and palmetto images Change-Id: I33a456c7c3fcffe5f844637292409546966fa885 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-27pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Idfcba5e813b6fb72ded38dcbb259af5a3a0c58fc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-13pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Icbbbf5221dce92dbdf891ed78e827b6e53b8f3d7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-03pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ic00f98f7fe6237ebaeea164ceb74d71e4c547f73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01gevent-websocket: move to Phosphor layerBrad Bishop1-0/+22
This recipe was erroneously merged directly into the meta-virt subtree with 1ea01342e. Move to the phosphor layer. Tested: Built an image and verified gevent-websocket still installed Change-Id: I33eba0dedbd5ff2a522ddab526e5787345a2f5d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-12-19pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: If38b2a30bf167727f14216b71fd41cee7efe5ee4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-13pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: Ic24f68a274da32984844e01a50da5c9a7259aee8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-01pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I7c5eb02fa8a72fe144bb526f5a6c0bf20e3adaae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-08pyphosphor.bb: bump versionAndrew Geissler1-1/+1
Change-Id: I24e9aee5c39114a29d08a49de48203c22b48dbeb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-30Update pypi.python.org packages to use httpsAndrew Geissler2-2/+4
pypi.python.org made a recent change to require all package downloads be via https. Resolves openbmc/openbmc#2530 Change-Id: I7a632a3786d9e0ac4fdf698b83f90a6c3cd38b0c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2017-08-01pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: Icd9422fa8425469af771b415467affb5bb7ead54 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-07-19pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: I63039db09157e68e0f8efd2e0f065a48d4673384 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-02pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: I214b03945b01805933cfdf229af51d0c0e97c27b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-04-20pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ie22099563dd7cf2731cc558201589da25aab35bd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-30pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: I56b1eeef8e943868ae39cf54c060701d5fb8caa1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-30pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: I736d64b864cf11297349478b100fd28795a46fd1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-30python-mako: remove unneeded fixupPatrick Williams1-3/+0
Upstream python-mako included in Yocto 2.2 doesn't seem to have this problem. Remove the sed patch. Change-Id: If967c04d04b19afba175f86f3afac22df694c019 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-28pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: I0b1bfd652a883795a20e09ef6fdd1d776f67d985 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-27pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: Id05528e28f753f0cf5b7230bc10d10ae4e03650c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-03-21Adding patch to remove GNOME compiler warning(deprecated)Saqib Khan2-0/+14
gnome-common is completely deprecated and replaced by autoconf. Therefore this patch removes all gnome dependencies from the code. For reference: https://wiki.gnome.org/Projects/GnomeCommon/Migration Change-Id: I108dd58152e8b60d1390bcbf184877ea415de669 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2017-03-17Change bbappend file to a wildcard nameSaqib Khan3-0/+0
This would allow us to upgrade package version without having to modify the file name every time. Change-Id: Ibd09f98124e0e718a86ee504c4216ffa31f2c543 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2016-12-05Fixed journal flooding of SSL messagesJosh King2-1/+14
The problem was that when a curl command was given without any options, several error messages would be thrown that can flood the journal. To fix this I had to use a 'try catch' statment to catch the error. I modified the current 'try catch' statement to catch and pass on the ssl error so no error messages of that kind could flood the journal. After implementation no more ssl error messages were flooding the journal, however a new error was thrown so I had to create an additional exception and pass on it as well. This fixes issue number 583. Resolves openbmc/openbmc#583 Change-Id: I4857861f3c0ff103e2bccf9f5a5821c8219aefe6 Signed-off-by: Josh King <jdking@us.ibm.com>
2016-11-18pyphosphor.bb: bump versionPatrick Williams1-1/+1
Change-Id: Ia9e787b63c180911c96a72e57f6efd6a78b9fab5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-11-16Workaround broken nativesdk bake for python-makoBrad Bishop1-0/+4
Change-Id: I8ecdb768f4f585f67b1261692315122989c69486 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2016-11-16Enable pyyaml nativesdk bakeBrad Bishop1-0/+1
Short term workaround pending upstream review: https://patchwork.openembedded.org/patch/133725/ Change-Id: I63ed880adbc757c1385e0501edd27ef472b4a2be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2016-11-08Add recipe for python-inflectionBrad Bishop2-0/+25
Change-Id: If5849e79bd341c5eecccbfb12c5b042d2f122c44 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>