* Metadata is missing in some Python packages
@ 2019-04-04 9:53 Guenther Meyer
2019-04-05 17:17 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Guenther Meyer @ 2019-04-04 9:53 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
Hi,
I added some python recipes for my application, and now I have the
problem, that in some of the created packages the metadata is missing.
For example, the package I have for Twisted 18.7 is one of those.
When I use a python package like daphne, which is dependent on
Twisted >= 18.7, then it won't work, because daphne checks the version
before doing anything else.
I created a workaround by removing this check in the recipe, but that
doesn't feel right.
Maybe there is something I missed in my recipes?
--
Summer-Hack-Session 2.8
http://session.pestilenz.org/session2/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-04 9:53 Metadata is missing in some Python packages Guenther Meyer
@ 2019-04-05 17:17 ` Burton, Ross
2019-04-09 7:48 ` Guenther Meyer
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2019-04-05 17:17 UTC (permalink / raw)
To: Guenther Meyer; +Cc: Yocto-mailing-list
What metadata in particular do you refer to?
Ross
On Thu, 4 Apr 2019 at 11:04, Guenther Meyer <d.s.e@sordidmusic.com> wrote:
>
> Hi,
>
> I added some python recipes for my application, and now I have the
> problem, that in some of the created packages the metadata is missing.
> For example, the package I have for Twisted 18.7 is one of those.
> When I use a python package like daphne, which is dependent on
> Twisted >= 18.7, then it won't work, because daphne checks the version
> before doing anything else.
> I created a workaround by removing this check in the recipe, but that
> doesn't feel right.
>
> Maybe there is something I missed in my recipes?
>
>
> --
> Summer-Hack-Session 2.8
> http://session.pestilenz.org/session2/
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-05 17:17 ` Burton, Ross
@ 2019-04-09 7:48 ` Guenther Meyer
2019-04-09 9:55 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Guenther Meyer @ 2019-04-09 7:48 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 2402 bytes --]
On Fri, 5 Apr 2019 18:17:43 +0100
"Burton, Ross" <ross.burton@intel.com> wrote:
> What metadata in particular do you refer to?
The *egg-info folders and everything contained in them, especially
the files PKG-INFO or METADATA. The recipes are basically identical.
Some packages have it, some not:
Django-2.1.7-py3.5.egg-info
EasyProcess-0.2.5-py3.5.egg-info
HelperSDT
HelperSDT-0.1.0-py3.5.egg-info
OpenSSL
PyHamcrest-1.9.0-py3.5.egg-info
PySocks-1.6.8-py3.5.egg-info
PyVirtualDisplay-0.2.1-py3.5.egg-info
Twisted-0.0.0-py3.5.egg-info
aioredis
aioredis-1.2.0-py3.5.egg-info
asgiref
asgiref-2.3.2-py3.5.egg-info
asn1crypto
asn1crypto-0.24.0-py3.5.egg-info
async_timeout
async_timeout-3.0.1-py3.5.egg-info
attr
attrs-18.1.0-py3.5.egg-info
autobahn
autobahn-19.1.1-py3.5.egg-info
behave
behave-1.2.6-py3.5.egg-info
can
certifi
certifi-2018.8.13-py3.5.egg-info
cffi
cffi-1.11.5-py3.5.egg-info
channels
channels-2.1.7-py3.5.egg-info
channels_redis
channels_redis-2.3.2-py3.5.egg-info
chardet
chardet-3.0.4-py3.5.egg-info
click
click-6.7-py3.5.egg-info
constantly
constantly-15.1.0-py3.5.egg-info
cryptography
cryptography-2.3-py3.5.egg-info
daphne
daphne-2.2.5-py3.5.egg-info
django
django_model_utils-3.1.2-py3.5.egg-info
easyprocess
hamcrest
hiredis
hiredis-1.0.0-py3.5.egg-info
idna
idna-2.7-py3.5.egg-info
incremental
incremental-17.5.0-py3.5.egg-info
model_utils
msgpack
msgpack_python-0.5.6-py3.5.egg-info
ndg
ndg_httpsclient-0.5.1-py3.5.egg-info
parse-1.8.4-py3.5.egg-info
parse_type
parse_type-0.4.2-py3.5.egg-info
ply
ply-3.11-py3.5.egg-info
psutil
psutil-5.4.6-py3.5.egg-info
psycopg2
psycopg2-2.7.5-py3.5.egg-info
pyOpenSSL-18.0.0-py3.5.egg-info
pyasn1
pyasn1-0.4.4-py3.5.egg-info
pycparser
pycparser-2.18-py3.5.egg-info
python_can-2.2.1-py3.5.egg-info
pytz
pytz-2018.5-py3.5.egg-info
pyvirtualdisplay
requests
requests-2.19.1-py3.5.egg-info
selenium
selenium-3.141.0-py3.5.egg-info
service_identity
service_identity-18.1.0-py3.5.egg-info
setuptools
setuptools-40.0.0-py3.5.egg-info
six-1.11.0-py3.5.egg-info
twisted
txaio
txaio-18.8.1-py3.5.egg-info
urllib3
urllib3-1.23-py3.5.egg-info
websocket
websocket_client-0.54.0-py3.5.egg-info
wrapt
wrapt-1.10.11-py3.5.egg-info
zope
zope.interface-4.5.0-py3.5.egg-info
--
Summer-Hack-Session 2.8
http://session.pestilenz.org/session2/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-09 7:48 ` Guenther Meyer
@ 2019-04-09 9:55 ` Burton, Ross
2019-04-09 10:03 ` Guenther Meyer
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2019-04-09 9:55 UTC (permalink / raw)
To: Guenther Meyer; +Cc: Yocto-mailing-list
Specifically for twisted, do you mean these files:
python3-twisted-core:
/usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/entry_points.txt
/usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/not-zip-safe
/usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/requires.txt
Ross
On Tue, 9 Apr 2019 at 08:49, Guenther Meyer <d.s.e@sordidmusic.com> wrote:
>
> On Fri, 5 Apr 2019 18:17:43 +0100
> "Burton, Ross" <ross.burton@intel.com> wrote:
>
> > What metadata in particular do you refer to?
>
> The *egg-info folders and everything contained in them, especially
> the files PKG-INFO or METADATA. The recipes are basically identical.
>
> Some packages have it, some not:
>
> Django-2.1.7-py3.5.egg-info
> EasyProcess-0.2.5-py3.5.egg-info
> HelperSDT
> HelperSDT-0.1.0-py3.5.egg-info
> OpenSSL
> PyHamcrest-1.9.0-py3.5.egg-info
> PySocks-1.6.8-py3.5.egg-info
> PyVirtualDisplay-0.2.1-py3.5.egg-info
> Twisted-0.0.0-py3.5.egg-info
> aioredis
> aioredis-1.2.0-py3.5.egg-info
> asgiref
> asgiref-2.3.2-py3.5.egg-info
> asn1crypto
> asn1crypto-0.24.0-py3.5.egg-info
> async_timeout
> async_timeout-3.0.1-py3.5.egg-info
> attr
> attrs-18.1.0-py3.5.egg-info
> autobahn
> autobahn-19.1.1-py3.5.egg-info
> behave
> behave-1.2.6-py3.5.egg-info
> can
> certifi
> certifi-2018.8.13-py3.5.egg-info
> cffi
> cffi-1.11.5-py3.5.egg-info
> channels
> channels-2.1.7-py3.5.egg-info
> channels_redis
> channels_redis-2.3.2-py3.5.egg-info
> chardet
> chardet-3.0.4-py3.5.egg-info
> click
> click-6.7-py3.5.egg-info
> constantly
> constantly-15.1.0-py3.5.egg-info
> cryptography
> cryptography-2.3-py3.5.egg-info
> daphne
> daphne-2.2.5-py3.5.egg-info
> django
> django_model_utils-3.1.2-py3.5.egg-info
> easyprocess
> hamcrest
> hiredis
> hiredis-1.0.0-py3.5.egg-info
> idna
> idna-2.7-py3.5.egg-info
> incremental
> incremental-17.5.0-py3.5.egg-info
> model_utils
> msgpack
> msgpack_python-0.5.6-py3.5.egg-info
> ndg
> ndg_httpsclient-0.5.1-py3.5.egg-info
> parse-1.8.4-py3.5.egg-info
> parse_type
> parse_type-0.4.2-py3.5.egg-info
> ply
> ply-3.11-py3.5.egg-info
> psutil
> psutil-5.4.6-py3.5.egg-info
> psycopg2
> psycopg2-2.7.5-py3.5.egg-info
> pyOpenSSL-18.0.0-py3.5.egg-info
> pyasn1
> pyasn1-0.4.4-py3.5.egg-info
> pycparser
> pycparser-2.18-py3.5.egg-info
> python_can-2.2.1-py3.5.egg-info
> pytz
> pytz-2018.5-py3.5.egg-info
> pyvirtualdisplay
> requests
> requests-2.19.1-py3.5.egg-info
> selenium
> selenium-3.141.0-py3.5.egg-info
> service_identity
> service_identity-18.1.0-py3.5.egg-info
> setuptools
> setuptools-40.0.0-py3.5.egg-info
> six-1.11.0-py3.5.egg-info
> twisted
> txaio
> txaio-18.8.1-py3.5.egg-info
> urllib3
> urllib3-1.23-py3.5.egg-info
> websocket
> websocket_client-0.54.0-py3.5.egg-info
> wrapt
> wrapt-1.10.11-py3.5.egg-info
> zope
> zope.interface-4.5.0-py3.5.egg-info
>
>
> --
> Summer-Hack-Session 2.8
> http://session.pestilenz.org/session2/
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-09 9:55 ` Burton, Ross
@ 2019-04-09 10:03 ` Guenther Meyer
2019-04-09 10:11 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Guenther Meyer @ 2019-04-09 10:03 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 789 bytes --]
On Tue, 9 Apr 2019 10:55:38 +0100
"Burton, Ross" <ross.burton@intel.com> wrote:
> Specifically for twisted, do you mean these files:
>
> python3-twisted-core:
> /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/PKG-INFO
> /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/SOURCES.txt
> /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/dependency_links.txt
> /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/entry_points.txt
> /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/not-zip-safe
> /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/requires.txt
yes, exactly.
--
Summer-Hack-Session 2.8
http://session.pestilenz.org/session2/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-09 10:03 ` Guenther Meyer
@ 2019-04-09 10:11 ` Burton, Ross
2019-04-09 10:17 ` Guenther Meyer
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2019-04-09 10:11 UTC (permalink / raw)
To: Guenther Meyer; +Cc: Yocto-mailing-list
So for me they're in python3-twisted-core on target, and if you have
the right DEPENDS then it should be there for build time.
Ross
On Tue, 9 Apr 2019 at 11:03, Guenther Meyer <d.s.e@sordidmusic.com> wrote:
>
> On Tue, 9 Apr 2019 10:55:38 +0100
> "Burton, Ross" <ross.burton@intel.com> wrote:
>
> > Specifically for twisted, do you mean these files:
> >
> > python3-twisted-core:
> > /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/PKG-INFO
> > /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/SOURCES.txt
> > /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/dependency_links.txt
> > /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/entry_points.txt
> > /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/not-zip-safe
> > /usr/lib/python3.7/site-packages/Twisted-18.4.0-py3.7.egg-info/requires.txt
>
> yes, exactly.
>
>
> --
> Summer-Hack-Session 2.8
> http://session.pestilenz.org/session2/
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-09 10:11 ` Burton, Ross
@ 2019-04-09 10:17 ` Guenther Meyer
2019-04-09 10:24 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Guenther Meyer @ 2019-04-09 10:17 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 498 bytes --]
On Tue, 9 Apr 2019 11:11:04 +0100
"Burton, Ross" <ross.burton@intel.com> wrote:
> So for me they're in python3-twisted-core on target, and if you have
> the right DEPENDS then it should be there for build time.
I will have a look at this, when I'm back in the office again.
The thing is, I needed a newer version of twisted, so I did my own
recipe. But obviously it is not enough to let setuptools do the work.
--
Summer-Hack-Session 2.8
http://session.pestilenz.org/session2/
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Metadata is missing in some Python packages
2019-04-09 10:17 ` Guenther Meyer
@ 2019-04-09 10:24 ` Burton, Ross
0 siblings, 0 replies; 8+ messages in thread
From: Burton, Ross @ 2019-04-09 10:24 UTC (permalink / raw)
To: Guenther Meyer; +Cc: Yocto-mailing-list
An upgrade should just be a matter of taking the meta-python recipe
and doing a version bump/checksum update. If you've written a recipe
from scratch then you're probably missing some of the glue required.
Ross
On Tue, 9 Apr 2019 at 11:17, Guenther Meyer <d.s.e@sordidmusic.com> wrote:
>
> On Tue, 9 Apr 2019 11:11:04 +0100
> "Burton, Ross" <ross.burton@intel.com> wrote:
>
> > So for me they're in python3-twisted-core on target, and if you have
> > the right DEPENDS then it should be there for build time.
>
> I will have a look at this, when I'm back in the office again.
> The thing is, I needed a newer version of twisted, so I did my own
> recipe. But obviously it is not enough to let setuptools do the work.
>
>
> --
> Summer-Hack-Session 2.8
> http://session.pestilenz.org/session2/
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-04-09 10:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-04 9:53 Metadata is missing in some Python packages Guenther Meyer
2019-04-05 17:17 ` Burton, Ross
2019-04-09 7:48 ` Guenther Meyer
2019-04-09 9:55 ` Burton, Ross
2019-04-09 10:03 ` Guenther Meyer
2019-04-09 10:11 ` Burton, Ross
2019-04-09 10:17 ` Guenther Meyer
2019-04-09 10:24 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.