PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Monday the 27th of June, 2016

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[12:17:50] <ronny> dstufft: btw, is there an timeline for pip keeping python 2.6 support? - or is there any other condition perhaps
[15:10:39] <mhroncok> dstufft: hi, got aminute to help further with ProjectFactory test?
[15:10:50] <dstufft> mhroncok sure
[15:10:58] <dstufft> ronny: it'll be dropped based on usage
[15:11:12] <mhroncok> dstufft: db_session keyword argument let's me create project and releases
[15:11:29] <mhroncok> however, the relevant pages still 404 on me
[15:11:45] <mhroncok> do I need to somehow actually put it in after I created the object?
[15:12:19] <dstufft> mhroncok: hmm, this is probably a web test oddity, you might try db_session.flush()
[15:12:30] <ronny> dstufft: is there any way to track it?
[15:12:34] <mhroncok> dstufft: did that firt thing, didn't help
[15:15:22] <dstufft> ronny: In general? The data is public in BigQuery
[15:15:41] <dstufft> mhroncok: heh, I think maybe i didn't actually get this working yet :( -> https://github.com/pypa/warehouse/blob/master/tests/conftest.py#L233-L235
[15:16:27] <dstufft> mhroncok: I think maybe the answer is calling db_session.commit(), but doing that will require adding something to webtest to reset the database back to empty
[15:16:44] <ronny> dstufft: is there any trend?
[15:16:52] <mhroncok> dstufft: I'll try that if it works
[15:18:02] <ronny> dstufft: as in can it be seen somewhere thats googleable or documented?
[15:18:06] <dstufft> mbacchi: if that works, thne probably something to issue TRUNCATE ... CASCADE needs to be added to https://github.com/pypa/warehouse/blob/master/tests/conftest.py#L243 before the engine is disposed of
[15:18:27] <dstufft> ronny: I posted some recent numbers on a PyPI ticket a week or two ago, but other thant hat you'd need to query the data yourself
[15:18:30] <dstufft> er
[15:18:32] <dstufft> mhroncok: ^^
[15:19:12] <mhroncok> dstufft: commit, commit +f lush, flush + commit, no change
[15:19:39] <dstufft> mhroncok: can you paste me a test case you're using at the moment?
[15:20:33] <mhroncok> dstufft: http://paste.fedoraproject.org/385527/14670402/
[15:21:37] <dstufft> mhroncok: ok, moment
[19:25:45] <mhroncok> dstufft: thansk for looking into it
[19:25:57] <dstufft> mhroncok: np, sorry it didn't work :(
[19:26:10] <dstufft> I got frustrated after a couple hours and just gave up for now
[19:26:22] <dstufft> the feature itself is such that if we accidently break it, it won't be the end of the world
[19:27:00] <mhroncok> dstufft: it was giving me a headache, I'm glad it wasn't me being super-stupid :D