PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Sunday the 27th of September, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:32:10] <dstufft> agronholm: you can also use gmane to post to a list without subscribing
[00:32:50] <agronholm> can I get the other posts mailed to me, even if the sender didn't cc me directly?
[00:33:19] <dstufft> not sure if gmane does that or not, never used it as anything but a way to read the thread and message the thread when I wasn't subscribed (and only did that once)
[03:31:03] <glyph> agronholm: I'm on vacation right now but posting up to date pywin32 wheels is on my to-do list
[03:31:38] <glyph> agronholm: I got access t
[03:31:48] <agronholm> glyph: great! so the other project is not needed anymore I take it?
[03:31:56] <glyph> o it just after I uploaded pypiwin32
[10:43:19] <Kuba> hey
[10:43:52] <Kuba> is it possible to save symlinks when doing "setup.py bdist_wheel"?
[10:45:33] <Kuba> something like "zip --symlinks"
[11:14:48] <ronny> Kuba: no, that broken in some platforms to begin with
[11:16:48] <ronny> Kuba: what are you trying to do?
[11:17:49] <Kuba> I have a package that relies on symlinks being present on runtime: I copy the symlink from the distribution to tempfile.mkdtemp and run program on it
[11:18:31] <Kuba> it seems to me that if the package is installed through tarball (sdist) or wheel (bdist_wheel), symlinks are not preserved
[11:18:34] <ronny> then you cant make wheels and you should make buiding wheels fail
[11:18:47] <ronny> Kuba: whts that symlink for?
[11:19:11] <Kuba> it's a testdata for apache sites-enabled/sites-available (https://github.com/letsencrypt/letsencrypt/issues/838)
[11:19:35] <Kuba> is that normal that sdist tarballs don't preserve those symlinks as well?
[11:20:06] <Kuba> I tried zip_safe=False, --no-use-wheel, --no-binary letsencrypt-apache
[11:20:13] <Kuba> nothing helps
[11:20:16] <ronny> well, its a utterly horrible security hazard to preserve those
[11:21:27] <ronny> why do you need to ship a symlink to begin with, cant you just make one?
[11:22:01] <Kuba> yeah, that's what I thought of as possible fix
[11:23:43] <ronny> hmm, you might want to turn that into some function/test
[11:24:09] <ronny> i cant help mich with nosetest deails tho, im a py.test guy
[11:31:06] <Kuba> al right, thanks for help anyway :)
[12:46:56] <ionelmc> Kuba: use a system package for that sort of stuff :-)
[12:54:13] <Kuba> ionelmc: "system package"?
[12:54:34] <ionelmc> Kuba: deb, rpm etc
[12:57:36] <ionelmc> Kuba: on the other hand, it would appear you're running tests the wrong way
[12:58:18] <ionelmc> running tests that are contained in the installed package imposes certain limitations, so if you don't like that, then don't run tests like that
[15:04:04] <ronny> ionelmc: its one of those unittest/nosetest patterns
[19:46:35] <carl_p> i depend on a folder of another project - can i make pip (or something else) install it locally to my project?
[20:01:07] <Ivo> carl_p: pip doesn't install "folders", generally.
[20:01:22] <carl_p> I think I'll use dependency_links in the setup.py
[20:01:40] <Ivo> Please try not to, that's deprecated
[20:02:20] <Ivo> If your project is an "application", rather than a library, you can write a requirements.txt for it
[20:05:07] <carl_p> my project is an application - how can I require when the other project has no setup.py?
[20:05:14] <carl_p> and thank you for your input :)
[20:08:11] <Ivo> is the other project a python project?
[20:08:35] <Ivo> It would be nice to speak on less general terms.. what is your application? what is the other project?
[20:09:37] <Ivo> AFAIK dependency_links wouldn't work anyway in that case, because a dependency_link still needs to point at something with a setup.py
[20:10:50] <carl_p> my application downloads videos and I want to depend on https://github.com/Eldorados/script.module.urlresolver - basically just the folder where differen stream-types are handled
[20:12:17] <carl_p> but it is also no problem if I just clone their repo, if you think it's not possible without a hack
[20:17:14] <carl_p> I guess using git submodules/subtrees might be the right solution for this
[20:26:25] <Ivo> carl_p: if the owner of that repo doesn't want to turn it into some sort of python package with a setup.py, then you have no good way to use it in your own setup.py
[20:27:04] <Ivo> carl_p: you could suggest to the maintainer that you'd love to use their work as a python package, so maybe they (or you could help them) could turn it into one
[20:27:40] <Ivo> or, if they have no interest, you could try forking it and turning it into one yourself, if they're ok with that / you have license to
[20:28:10] <Ivo> well it claims to be GPL so you can make a derivative project as GPL as well
[20:28:28] <carl_p> thank you a lot for your feedback! :)
[20:28:33] <Ivo> maybe you'd have some script to pull changes from the original over time, etc
[20:29:51] <Ivo> carl_p: I hope you can see that as soon as you give some real context I can give much more direct / contextual help :)
[20:31:57] <balrok> I don't really like talking about this as it is not the best legal project which I'm doing :D
[20:32:22] <balrok> I'm asking for him to do a setup.py and otherwise will do git subtree as this is the least work required
[20:35:43] <balrok> sorry switched the name :)
[21:41:25] <ionelmc> dstufft: is there a way to make a package opt-out from the wheel caching/installing behavior of pip (eg: not use wheels at all)?
[21:44:14] <tdsmith> make setup.py bdist_wheel fail