PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 30th of April, 2018

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[16:27:19] <cooperlees> What can cause a wheel to not have a metadata.json? Has that been deprecated?
[16:27:38] <cooperlees> I was trying to check PEPs ... but it's down ...
[16:32:25] <di_codes> cooperless: it was removed in wheel 0.31.0 I believe. the PEP specifying it (metadata 2.0) was never truly accepted
[16:32:44] <di_codes> cooperlees^
[16:32:57] <cooperlees> Bah :(
[16:33:21] <cooperlees> di_codes: Did something replace it? Or only METADATA ?
[16:35:29] <di_codes> cooperlees: just METADATA
[16:36:19] <cooperlees> what format is this thing?
[16:37:08] <cooperlees> YAML or some hybrid of that?
[16:41:50] <di_codes> cooperlees: it’s RFC-822 headers (with the description as the message body), you can parse it with the `email` stdlib module
[16:42:07] <cooperlees> :O
[16:42:19] <cooperlees> Interesting decision
[16:42:25] <cooperlees> Cheers fr the info
[16:42:29] <cooperlees> *for
[16:58:23] <tls> Hello, how to fix plone 4.1 pypi TLS error please?
[16:59:34] <tls> When running buildout to download packages
[17:02:46] <tls> Hello, how to fix plone 4.1 pypi TLS error please?
[17:02:52] <tls> When running buildout to download packages
[17:09:34] <cooperlees> What's the TLS error?
[17:09:51] <cooperlees> Does plone call pip? If so, I'd first make sure it's using the latest pip
[17:10:00] <cooperlees> (to be fair tho, I have no idea what plone is)
[17:10:05] <ngoldbaum> and that your python supports modern TLS
[17:10:22] <ngoldbaum> cooperlees: it's Zope's CMS
[17:11:40] <tls> Plone is a python CMS
[17:12:38] <tls> It installs packages from pypi using easy_install
[17:12:55] <cooperlees> Update your setuptools then
[17:13:25] <cooperlees> What version of Python tho, as PyPI moved to warehouse only today and only support modern version of TLS
[17:13:54] <Wooble> it moved before today; legacy was just around a bit extra until today.
[17:14:16] <ngoldbaum> usually that means python 2.7.9 or newer
[17:14:20] <ngoldbaum> unless you're using the mac system python
[17:14:32] <ngoldbaum> in which case you need high sierra or newer
[17:49:29] <ngoldbaum> today's xkcd depresses me
[17:49:55] <ngoldbaum> https://xkcd.com/1987
[17:52:30] <dstufft> it made me laugh
[18:01:09] <Siecje> What does it mean? pip is in $PATH. And pip needs easy_install and easy_install might need pip and ... ? What do the arrows mean?
[18:02:21] <bitdancer> I'm pretty sure the arrow mean he is confused. That is, that that's what he *means* them to mean :)
[18:12:33] <techalchemy> lol, i saw that too
[18:12:36] <techalchemy> it's completely accurate
[18:16:42] <tls> The new pypi supports only TLS >= 1.2, right?
[18:19:51] <ngoldbaum> >= 1.1 i believe
[18:20:14] <tls> And what python version?
[18:20:53] <tls> Python >= 2.6?
[18:21:00] <ngoldbaum> 2.7.9 or newer i believe
[18:21:09] <ngoldbaum> but it depends on how you build python
[18:21:17] <ngoldbaum> if you can do this without generating an AttributeError you're good
[18:21:23] <ngoldbaum> >>> import ssl
[18:21:30] <ngoldbaum> >>> ssl.PROTOCOL_TLSv1_1
[18:21:41] <dstufft> the version of Python doesn't matter
[18:21:42] <dstufft> it's TLSv1.2+
[18:22:03] <tls> Plone has a embeded python install v 2.6.7, so it will not work with new pypi?
[18:22:06] <dstufft> but that constant doesn't matter, because Python without that constant can still negiotiate a TLSv1.2 connection just fine, it just can pin to a TLSv1.2 only connection
[18:22:17] <dstufft> the thing that matters is the version of openssl
[18:22:28] <ngoldbaum> ah, apologies
[18:23:16] <dstufft> look at ssl.OPENSSL_VERSION
[18:23:41] <dstufft> or so
[18:23:42] <dstufft> if that's 1.0.1 then you're good
[18:23:43] <dstufft> or later
[18:23:44] <dstufft> except I Don't think 2.6 has that :/
[18:23:45] <dstufft> so you'll probably hav to find another way to figure out what version of OpenSSL it has
[18:28:43] <tls> AttributeError: 'module' object has no attribute 'OPENSSL_VERSION'
[18:29:07] <tls> On python 2.6.7
[18:30:58] <tls> What matters is python, setuptools or openSSL?
[18:31:03] <ngoldbaum> you could use ldd to see what library the _ssl module is linking against
[18:31:10] <ngoldbaum> as dstufft said, OpenSSL
[18:31:31] <ngoldbaum> https://bpaste.net/show/dd06f10a793f
[18:31:45] <ngoldbaum> in that case, it's dynamically loading libssl.so.1.0.0
[19:20:11] <tls> ngoldbaum
[19:20:18] <tls> https://bpaste.net/show/dd06f10a793f
[19:20:38] <tls> "dynamically loading libssl.so.1.0.0"
[19:20:47] <ngoldbaum> so then your ssl isn't new enough
[19:21:06] <tls> how execute this command?
[19:21:14] <ngoldbaum> what command?
[19:21:19] <tls> line 6
[19:21:57] <ngoldbaum> oh huh, i guess my terminal mangled that
[19:22:01] <ngoldbaum> ldd /path/to/.so
[19:23:29] <tls> "libssl.so.0.9.8"
[19:24:07] <ngoldbaum> yup, that's too old
[19:24:49] <tls> So do I need to update OpenSSL?
[19:26:24] <tls> update libssl0.9.8 to the new version?
[19:26:58] <ngoldbaum> i think in general it depends on how your python was built
[19:27:04] <ngoldbaum> on e.g. a linux distro, yes
[19:28:25] <tls> The python is embeded in a plone install
[19:28:37] <ngoldbaum> then i guess you need to update plone
[22:14:54] <sumanah> Maybe someday I will get used to Guido tweeting a thing I have written. https://twitter.com/gvanrossum/status/991026219519959040 Today is not yet that day.
[22:17:36] <di_codes> !thanks sumanah for writing a great article about PyPI
[22:17:36] <pmxbot> you're doing good work, sumanah!
[22:17:48] <sumanah> I hereby bask :)
[22:30:35] <sumanah> toad_polo: hey do you know which days of the PyCon sprint we should expect you? I'm updating the wiki page
[22:32:00] <toad_polo> sumanah: Monday and Tuesday.
[22:32:57] <sumanah> thanks toad_polo, updated https://wiki.python.org/psf/PackagingSprints