PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Tuesday the 21st of July, 2015

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[04:30:13] <tchaypo> do we care about supporting py25, or only 26 and higher?
[04:54:40] <tchaypo> and I was going to ask about jython but then I read the website instead to answer my own question
[04:54:44] <tchaypo> and now i have twice as many questions
[04:55:07] <moo-_-> tchaypo: questions are like hydras
[04:55:13] <moo-_-> cut one head and you get two
[04:56:56] <tchaypo> especially when one of the heads is the documentation for ~2.5.2 says that the most recent stable release is ~2.5.4 and 2.7.0 is due out any week now (dated 2011), but other docs say that 2.7.0 is in fact a stable release, it just has no docs..
[04:57:15] <moo-_-> tchaypo: jython had recent announcement
[04:57:31] <moo-_-> let me see if I can find the link
[04:58:05] <moo-_-> http://fwierzbicki.blogspot.fi/2015/05/jython-270-final-released.html
[04:58:34] <moo-_-> tchaypo: I kindly ask to submit a bug report to jython team if they are advertising old release somewhere
[04:58:46] <tchaypo> <3
[05:00:29] <tchaypo> http://www.jython.org/currentdocs.html says the current docs are for 2.5.1, https://wiki.python.org/jython/JythonFaq/GeneralInfo#What_is_the_current_status_of_Jython.3F says 2.5.3 is stable and 2.5.4 should be coming out right after 2.7.0
[06:06:51] <lifeless> tchaypo: 2.6
[06:07:23] <tchaypo> lifeless: i assume that’s “We only care about 2.6 and higher"
[06:08:31] <tchaypo> okay, that makes me happy. It looks like we can probably use AST for the new markers implementation, which should keep it similar to the existing implementation that uses the old parser module
[18:12:07] <r1chardj0n3s> hullo, I'm trying to figure out how to define a namespace package through a setup.cfg rather than using namespace_packages=[blah] in a setup.py
[18:39:50] <dstufft> not sure you can
[18:56:05] <sigmavirus24> r1chardj0n3s: the answer might be "use pbr"
[19:45:10] <tchaypo> is pip supported on jython?
[19:45:16] <tchaypo> and if so - how do the tests get run?
[19:48:03] <dstufft> tchaypo: Right now it's unsupported, though there's been some PRs towards getting it working (and it may currently work right now)
[19:52:32] <tchaypo> now that jython2.7 is out it looks like we should be able to add jython to tox
[19:54:14] <tchaypo> hrm. I asked the wrong question though - I didn’t mean pip, i meant setuptools
[19:54:47] <dstufft> I think setuptools supports it yea
[19:55:22] <sigmavirus24> if pip can't be run on jython then I'd be surprised
[19:56:59] <tchaypo> There’s a note in pkg_resources.MarkerEvaluation.evaluate_marker() that says “this implementation uses the ‘parser’ module, which is not implemented on Jython'
[19:57:19] <tchaypo> which suggests that it cares about the ability to run on jython
[19:57:37] <sigmavirus24> That could be a comment from before jython2.7 existed
[19:57:46] <tchaypo> but jython2.7 is out now, and it has the AST module, which is also in python2.6 and later
[19:58:00] <sigmavirus24> jython2.7 constituted a huge leap forward in compatibility with CPython
[19:58:02] <tchaypo> so I think if we’re re-working this it should be safe to use AST
[19:58:24] <sigmavirus24> jython prior to jython2.7 had a problem with TLS/SSL too which prevented it from being supported for requests
[19:58:37] <tchaypo> and ditch support for jython<2.7, which would be compatible with only supporting python>=2.6
[19:58:58] <tchaypo> sigmavirus24: it’s definitely a comment from before 2.7 existed :)
[19:59:03] <tchaypo> by several years..
[19:59:26] <sigmavirus24> tchaypo: I bet setuptools ditched that compatibility long ago
[19:59:29] <sigmavirus24> =P
[19:59:58] <sigmavirus24> you actually reminded me that I wanted to run requests tests against jython
[20:00:12] <sigmavirus24> apparently ubuntu's archives only have 2.5.3 =(
[20:00:20] <dstufft> pyenv
[20:00:45] <sigmavirus24> good idea
[20:01:01] <sigmavirus24> can I get pyenv and Jenkins to play nicely together
[20:02:00] <tchaypo> as a double-bonus, if we’re happy to ditch support for cpython<2.6 and jython<2.7, that means we can simplify pkg_resources to just one marker implementation - we can drop markerlib completely, it only seems to exist to support (j|p)ython<2.6
[20:02:54] <sigmavirus24> dstufft: https://gist.github.com/sigmavirus24/e5cdebd9e2acc2a6c960 for fun and profit
[20:03:19] <dstufft> tchaypo: you'd need to ask jaraco
[20:03:30] <dstufft> I think 2.6+ is reasonable tho
[20:04:28] <dstufft> sigmavirus24: https://pypi.python.org/pypi/pyenv/20150113
[20:04:46] <tchaypo> this seems to be why https://github.com/yyuu/pyenv-installer
[20:04:48] <tchaypo> exists
[20:05:06] <tchaypo> oh.
[20:05:18] <sigmavirus24> tchaypo: looks like it is that
[20:05:21] <sigmavirus24> but it doesn't work =P
[20:05:25] <tchaypo> the package on pypi called pyenv is the installer..
[20:05:28] <sigmavirus24> so following the GitHub instructions in the README
[20:05:32] <tchaypo> hah.
[20:20:40] <dstufft> I just use homebrew
[20:20:43] <dstufft> brew install pyenv
[20:20:44] <dstufft> :D