PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 26th of January, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[01:19:18] <AlecTaylor> hi
[01:20:08] <AlecTaylor> I added a `print` statement to my `setup.py` for debugging (my `data_files` aren't being installed). What's changed in pip, I'm getting no print output!
[01:33:27] <tdsmith> pip captures setup.py output unless it fails; try with a -v or two
[01:39:43] <AlecTaylor> Ah wait, figured it out, issues with absolute and relative paths
[12:05:08] <mgedmin> I mean seriously, when you're trying to convince someone new to upload their first package to pypi
[12:05:29] <mgedmin> would you rather explain 'run python setup.py sdist register upload and enter the credentials you get by registering at this URL'
[12:06:05] <mgedmin> or would go go into "generate a PKG-INFO by hand, upload it to this web form to claim a name, them make sure you have no stale files in dist, then setup.py sdist, then twine upload dist/*"
[12:08:14] <ionelmc> mgedmin: tbh i just go here https://pypi.python.org/pypi?%3Aaction=submit_form and *only* fill out name and version (i put "0")
[12:08:21] <ionelmc> then i twineupload
[12:08:40] <ionelmc> seems easy enough to me
[12:09:26] <ionelmc> wat
[12:10:07] <ionelmc> am i missing something? :)
[12:10:44] <mgedmin> empathy
[12:14:58] <mgedmin> actually, is a manual register still necessary?
[12:15:05] <mgedmin> maybe twine does that automatically
[12:15:28] <mgedmin> no, "Currently it only supports uploading distributions." says the readme
[13:29:29] <Wooble> mgedmin: twine upload seems to register things fine.
[13:30:34] <Wooble> (I have no idea if this is because pypi just implicitly registers it for you if there's no such version registered or what. Or maybe I'm confused and register is only necessary for a totally new package?)
[13:36:35] <mgedmin> afaiu yes, it's only necessary for new packages
[13:36:47] <mgedmin> but maybe I'm mistaken and twine can do that too?
[13:37:49] <mgedmin> but no, https://packaging.python.org/en/latest/distributing/#register-your-project says to register the project manually, before running twine upload
[13:46:23] <Wooble> meh
[13:47:17] <Wooble> (then again, I *also* register packages manually on the website to reserve the name, before I'm ready to release anything)
[13:52:01] <mgedmin> ok, apparently twine register exists
[13:59:07] <Wooble> Oh, right. I *thought* I'd vaguely remembered it being added.
[14:46:46] <Wooble> bah, PSF making me think warehouse is done. Nice writeup anyway, though.
[14:50:30] <godp1301> !help
[14:50:30] <pmxbot> !8ball (8) !acronym (ac) !anchorman !annoy (a, bother) !bender (bend) !bitchingisuseless (qbiu) !blame !bless !boo !bottom10 (bottom) !calc !chain !cheer (c) !c
[14:50:30] <pmxbot> ompliment (surreal) !config !ctlaltdel (controlaltdelete, controlaltdelete, cad, restart, quit) !curse !dance (d) !danke (dankeschoen, ds) !deal !define (def) !
[14:50:31] <pmxbot> demotivate (dm) !disembowel (dis, eviscerate) !duck (ducky) !embowel (reembowel) !emergencycompliment (ec, emercomp) !esperantomotivate (em) !excuse (e) !featur
[14:50:31] <pmxbot> ecreep (fc) !fight !flip !fm (frenchmotivate) !fml !gettowork (gtw) !gm (germanmotivate) !golfclap (clap) !google (g) !grail !haiku !hal (2001) !hangover !help
[14:50:32] <pmxbot> (h) !hire !imotivate (im, ironicmotivate) !insult !jm (japanesemotivate) !job (card) !karma (k) !keelhaul (kh) !klingon (klingonism) !lm (latinmotivate) !log !l
[14:50:32] <pmxbot> ogo !logs !lunch (lunchpick, lunchpicker) !meaculpa (apology, apologize) !motivate (m, appreciate, thanks, thank, gracias) !murphy (law) !nailedit (nail, n) !na
[14:50:33] <pmxbot> stygram (nerf, passive, bcc) !norris !notify !oregontrail (otrail) !panic (pc) !password (pw, passwd) !paste !pick (p, p:, pick:) !pm (piratemotivate) !progress
[14:50:34] <pmxbot> !quote (q) !r (r) !resolv !roll !rubberstamp (approve) !saysomething !schneier !send_text !simpsons (simp) !stab (shank, shiv) !storytime (story) !strategy !st
[14:50:34] <pmxbot> rike !tgif !therethere (poor, comfort) !ticker (t) !tinytear (tt, tear, cry) !top10 (top) !translate (trans, googletrans, googletranslate) !troutslap (slap, ts)
[14:50:35] <pmxbot> !urbandict (urb, ud, urbandictionary, urbandefine, urbandef, urbdef) !version (ver) !where (last, seen, lastseen) !wolframalpha (wa) !zinger (zing) !zoidberg (
[14:50:35] <pmxbot> zoid)
[14:51:14] <mgedmin> oh dear
[15:21:26] <ionelmc> !gtw mgedmin
[15:21:26] <pmxbot> You aren't being paid to believe in the power of your dreams, mgedmin
[15:21:34] <ionelmc> hahah
[15:21:34] <dstufft> mgedmin: Warehouse removes the need to register even the first time
[16:39:15] <ngoldbaum> our package is in the middle of dropping our use of numpy.distutils, so we're finally able to use all the cool stuff you guys have been working on
[16:39:18] <ngoldbaum> \o/
[16:39:26] <ngoldbaum> install_requires working is very nice :)
[16:40:30] <ngoldbaum> https://bitbucket.org/yt_analysis/yt/pull-requests/1960/wip-refactor-setuptools-usage/diff
[16:43:35] <dstufft> ngoldbaum: that's great :]
[19:20:35] <[Tritium]> dstufft: I am almost tempted to say: DONT internationalize pypi
[19:30:54] <dstufft> [Tritium]: I've had more than one non-native English speaker tell me that before, also more than one non-native English speaker tell me they think it is important that PyPI does do that :) I feel woefully out of my area of expertise where very little of my life experience has prepared me to make many choices about this topic
[19:32:41] <[Tritium]> dstufft: My (VERY informal) survey of programmer-types indicated to me that localized technical documentation is very low priority. ... now it stands to reason that if they can handle the docs being in english... the ui of pypi....
[19:33:46] <dstufft> [Tritium]: right, and the vast bulk of content in PyPI is in English, though there is absolutely stuff there that is in some other language which I never actually identified because the symbols are very foreign to me, something asian looking to me though
[19:34:08] <dstufft> though one of th epoints made is about children trying to use PyPI and Python
[19:34:10] <[Tritium]> dstufft: probably manderin
[19:34:16] <dstufft> who may not have a strong grasp of English
[19:34:20] <dstufft> so I dunno
[19:34:36] <dstufft> I am very unconfident in my ability to make these choices :[
[19:34:57] <[Tritium]> It is a complicated point, where indeed, both sides are right
[19:35:36] <[Tritium]> I do have concerns that running client side translation is potentially a disservice to the people you are trying to reach though
[19:36:02] <[Tritium]> I have a fairly powerful machine, and that kind of thing bogs my system down
[19:37:00] <dstufft> [Tritium]: So that's certainly a concern, though L20n has additional features that I'm told matter to other languages - not sure if you've seen - https://mail.python.org/pipermail/distutils-sig/2016-January/028134.html
[19:37:36] <[Tritium]> I did see it... i think. Thats the one where you mention the various parts of speach?
[19:37:45] <[Tritium]> (I skimmed it)
[19:39:12] <[Tritium]> My limited understanding of how to actually do it right... has led me to believe that trying for a perfect translation to more than 1 language... is a fools errend
[19:43:33] <[Tritium]> A lot of the issues, as I understand them, revolve around verbs being applied to people, based on gender amongst other things. Do we even collect that information about users?
[19:44:57] <[Tritium]> ((I don't think its a good idea to collect it, if for no other reason than I don't the the PSF would be happy with a binary choice in that field))
[19:45:47] <dstufft> [Tritium]: we do not collect gender No, and we probably would not start
[19:46:06] <dstufft> I don't think we collect anything except a username and an email address right now
[19:47:44] <[Tritium]> Maybe ... a post should be made on the psf-community list, or something with a broader reach for someone with experience in this field. Im sure someone on distutils has experience, but its a sig...
[19:48:01] <dstufft> that's not a bad idea actually
[19:48:11] <dstufft> I should do that
[19:48:23] <[Tritium]> yes you should!
[19:49:24] <dstufft> thanks for the idea :D
[19:49:41] <[Tritium]> welp, I have been productive.
[19:49:50] <[Tritium]> *starts Planitary Anhilliation*
[20:00:10] <dstufft> Ah yea, I knew I Could find it
[20:00:14] <dstufft> https://pypi.python.org/pypi/byrlogin/1.1.3 is one of the ones :]
[20:00:22] <dstufft> also https://pypi.python.org/pypi/bypy/1.2.14
[20:01:12] <dstufft> (this is actually kind of hard to search for, since I Can't just search for "contains thing I don't understnad")
[20:03:10] <[Tritium]> the first one is a login to Beijing Universtity
[20:04:59] <Wooble> dstufft: one day Google will map your brain and be able to do that.
[20:07:21] <[Tritium]> that first one has a 10.*.*.* IP address hard coded into it...
[20:09:36] <[Tritium]> the second one... has got to be the best commented code in the wild i have ever seen
[20:10:03] <dstufft> This one looks russian to me https://pypi.python.org/pypi/django-intellectmoney/0.1.1
[20:10:24] <[Tritium]> dstufft: it is, look at the homepage url
[20:10:32] <dstufft> (Why yes, I'm scrolling through a list of half a million releases on PyPI looking for things that stand out as not english)
[20:11:21] <[Tritium]> ...could probably write a script with nltk to scarpe pypi and get some actually numbers
[20:11:32] <[Tritium]> actual*
[20:12:01] <[Tritium]> I am just made of typos today
[20:33:38] <[Tritium]> ...the dependencies on warehouse for simplejson are...interesting
[20:34:19] <[Tritium]> also: feature request for warehouse ... would be lovely to be able to link to subpages like..dependencies
[20:54:14] <dstufft> [Tritium]: If you're looking at simplejson on warehouse.python.org and the dependency graph thing for that, it's not actually functional yet :)
[20:54:24] <dstufft> I jsut tossed some crap in there to make it render when I ported the design in
[20:54:53] <[Tritium]> ah, thats why it recursivly depends on itself 5 times
[20:55:28] <[Tritium]> but linking to an anchor or id for the graph, or other subpages... that would be helpful
[20:55:54] <dstufft> [Tritium]: yea, I was just talking to Nicole about that earlier today, file an issue? :]
[20:56:20] <[Tritium]> wheres the tracker for that again? gh or bb>
[20:56:31] <dstufft> github.com/pypa/warehouse
[21:00:23] <[Tritium]> filed
[21:01:08] <dstufft> thanks
[21:01:32] <[Tritium]> No problem
[21:33:18] <Ivo> !logs
[21:33:18] <pmxbot> http://chat-logs.dcpython.org/channel/pypa
[21:45:09] <kennethreitz> is the pip --src option still supported in v8.0.2? I don't see it in the built-in help
[21:46:16] <kennethreitz> ah, it's in the help for install
[21:46:21] <dstufft> https://caremad.io/s/0g07XUBhL0/
[21:46:25] <dstufft> looks like it :]
[21:46:29] <dstufft> kennethreitz: pip 8 on Heroku? :]]]
[21:46:38] <kennethreitz> of course
[21:46:59] <dstufft> That would make me pretty happy, and let me use --hash for Warehouse!
[21:47:22] <kennethreitz> dstufft: you'd just include --hash in your requiresments file
[21:47:22] <kennethreitz> ?
[21:47:29] <kennethreitz> i haven't played with the functionality yet
[21:47:58] <dstufft> kennethreitz: yup, it lets you bake a hash into your requirements.txt file, so a compromised PyPI can't give you a bad package file
[21:48:36] <kennethreitz> dstufft: you'll have to write a blog post on that usage :)
[21:49:07] <kennethreitz> Also, --disable-pip-version-check doesn't seem to work. I've been using it (on Heroku apps) since it was introduced, but users still get the warning 100% of the time.
[21:49:31] <dstufft> hmm
[21:50:04] <kennethreitz> I normally update same day, so it isn't a big deal, but it would be much nicer if it worked
[21:50:34] <dstufft> https://github.com/pypa/pip/blob/develop/pip/basecommand.py#L239-L246 looks like it *should* work, wonder why it isn't
[21:51:13] <kennethreitz> this is when invoking the install command
[21:53:05] <kennethreitz> shouldn't it be "if not options.disable OR not getattr no_index"?
[21:53:40] <kennethreitz> ah no, that's correct
[22:03:34] <kennethreitz> dstufft: deployed!
[22:03:50] <dstufft> kennethreitz: woo
[22:03:58] <dstufft> gonna make a PR for Warehouse in a bit then :]
[23:08:15] <_habnabit> thanks, pypi. i'm getting a 500 on every upload, but they succeeded anyway
[23:08:41] <dstufft> _habnabit: check your hashes
[23:08:47] <_habnabit> dstufft, hashes of what
[23:08:47] <dstufft> make sure it didn't get truncated
[23:08:51] <dstufft> the files
[23:09:00] <_habnabit> oh
[23:09:03] <_habnabit> 1sec
[23:09:17] <dstufft> _habnabit: I'm working on making this go away :/ or atleat make "lol 500 but it actually suceeded" part go away
[23:09:31] <_habnabit> looks like the hashes are fine
[23:09:36] <_habnabit> i was using twine fwiw
[23:09:38] <dstufft> it's got a few yak's to shave in the process