pyramid_tm and setup.py upload don't play nicely together :/
mr_jolly has quit
benbangert
dstufft: setup.py?
dstufft: did you incidentally trigger the start of a transaction during a setup task? I'm confused
markm has quit
dstufft
benbangert: trying to upload a package to Warehouse (running pyramid w/ pyramid_tm), the body that setup.py sends makes webob made becuase of something pyramid_tm does, the make seekable thing I think
benbangert
oh, during an upload test
dstufft
makes webob mad*
I'll have to figure out how to work around that, becuase I can't replace setup.py upload :/
benbangert
dstufft: the traceback you posted there is an exception raised by webob...
I dunno why thats pyramid_tm's fault?
dstufft
benbangert: yea, the except comes from webob, but pyramid_tm is the thing that calls request.make_body_seekable()
it's probably actually webob's fault, but pyramid_tm is triggering the code
is all I meant
benbangert
my guess, would be that pyramid_tm is attempting to ensure the body can be copied up before deciding to continue with the transaction
rather than trying other ops that may have side-effects it can't back-out of
dstufft
yea, it appears pyramid_tm does that if your attempts are > 1 so it can rewrite and retry
rewind*
benbangert
right, but I don't really understand why pyramid_tm is involved at all during a setup.py operation
dstufft
setup.py upload is the client that's making a request to a pyramid site
but yea, I dunno why everyone doesn't use Python 3..... :(
stevepiercy
blaflamme ok, that sounds reasonable, provided we use a style: a.reference.internal em {font-style: normal;} Sphinx applies HTML markup to links in lists and paragraphs differently
you want me to do the submodule dance on this?
nmix joined the channel
blr has quit
supplicant
how do I configure the pool_size on my beaker sessions when using ext:database? I have it working on an older pylons project, but in a newer pyramid one it doesn't seem to be having any effect, so I'm convinced I'm doing something wrong
blr joined the channel
benbangert
supplicant: the ext:database should contain the additional options to change
"the ext:database should contain the additional options to change"
otter768 joined the channel
otter768 has quit
mengu has quit
dstufft
Does webob allow patches that work around broken Python 3 behavior or do you have to patch Python itself
supplicant
might depend on what broken behavior, because there's broken stuff that won't be fixed, I'm sure, for hysterical raisins
inklesspen
historical rosins
mengu joined the channel
bkuberek joined the channel
podhmo has quit
podhmo joined the channel
dstufft
hrm
dstufft tries to figure out how to even patch this
mengu has quit
blr has quit
podhmo has quit
kusut joined the channel
wwitzel3 has quit
blaflamme has quit
wwitzel3 joined the channel
goodwill
dstufft: we have compat modules to work around py3 problems
dstufft: so yes
dstufft
goodwill: I'm not even sure a good way to work around this issue now that I think about it more :( It's a problem with cgi.FieldStorage, and fiixng it basically means you have to subclass FieldStorage and copy/paste a single method out of the python3 code base and patch that method
I mean I can do that, dunno if webob wants a whole method copy/pasted out of python3 though
hm
I'll submit a patch and y'all can decide if you hate it or not
so keeping using one for this one too isn't a big deal
goodwill
dstufft: actually I suggest a tests for 190 .. one that tests for py2 and one for py3
dstufft: probably also a test for stale* bits too
dstufft
goodwill: what would the tests for #190 test? I mean I can copy/paste the multipart test suite from the stdlib too... but it seems silly to duplicate the tests from the stdlib?