Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 04 16:55
    blaisep commented #234
  • Sep 04 16:49
    blaisep commented #234
  • Aug 27 17:27
    ooduor opened #235
  • Aug 27 17:26

    ooduor on ooduor-with-meta-description

    Add Missing site_description to… (compare)

  • Aug 26 18:22
    clickio opened #234
  • Aug 02 14:10
    VirtUalProtoss opened #233
  • Jul 02 22:45
    slav0nic commented #210
  • Jul 02 09:34
    slav0nic commented #232
  • Jul 01 11:16
    slav0nic opened #232
  • Jun 30 11:52
    slav0nic commented on fe24a9d
  • Jun 27 11:22
    codecov-io commented #231
  • Jun 27 11:19
    codecov-io commented #231
  • Jun 27 11:13
    codecov-io commented #231
  • Jun 27 11:13
    slav0nic synchronize #231
  • Jun 26 19:21
    codecov-io commented #231
  • Jun 26 19:21
    codecov-io commented #231
  • Jun 26 19:19
    codecov-io commented #231
  • Jun 26 19:11
    slav0nic opened #231
  • Jun 26 18:33
    codecov-io commented #230
  • Jun 26 18:30
    codecov-io commented #230
Sergey Maranchuk
@slav0nic
@miohtama , @ericof can someone look #227 and #228
Steve Piercy
@stevepiercy
@miohtama I'm so fortunate. I think I'm just going to break it down into smaller units where I can control the IDs on the server side.
Érico Andrei
@ericof
@slav0nic I will tomorrow
Sergey Maranchuk
@slav0nic
@ericof any progress? =) check at least #227, also #220 , and please rebuild travis (after merge #227) for #228. #229
Érico Andrei
@ericof
@slav0nic Merged #220, #227
Sergey Maranchuk
@slav0nic
tnx
Érico Andrei
@ericof
@slav0nic I will wait for #228 and #229 and make a release, ok?
Sergey Maranchuk
@slav0nic
ok, will rebase #228 now and sync #229 tonight
i also reverted websauna/websauna@f8a5151 (changes related to setup.py), it was already fixes on latest pgcli, and don't see any problems with urllib3
Érico Andrei
@ericof
Ok, perfect
Sergey Maranchuk
@slav0nic
Érico Andrei
@ericof
@slav0nic Done. Now #229?
Sergey Maranchuk
@slav0nic
yep, check pls
Érico Andrei
@ericof
@slav0nic Done. I will review everything and prepare a release until Wednesday
Sergey Maranchuk
@slav0nic
@ericof, i think you can close #225
Érico Andrei
@ericof
@/all
Websauna 1.0a13 is out!
  • Closes #212: Pin to Redis version 2.10.6.
  • Closes #213: Remove unused FormView.customize_schema().
  • Closes #209: Use pgcrypto instead of uuid-ossp (Postgres).
  • Closes #215: UUIDModelSet now supports a label_column parameter on its constructor.
  • Add Missing icon_class Property
  • Upgrades Celery to version 4.3.
  • Upgrades redis-py to version 3.2.
  • Upgrades pytz to version 2019.1.
  • Support pytest 4.x.
  • Refactor validator for unique values.
Thanks to all involved. Now, let's test MySQL support and prepare for a beta version
Mikko Ohtamaa
@miohtama
Oooh @ericof Thank you
Érico Andrei
@ericof
@miohtama Always a pleasure :-)
Sergey Maranchuk
@slav0nic
@ericof #231 ( trivial ), #230 (required some updates for other plugins)
Mikko Ohtamaa
@miohtama
@slav0nic I think this is related to pyramid_tm 2.0 upgrade
Sergey Maranchuk
@slav0nic
>>> pkg_resources.get_distribution('pyramid_tm').version
'2.2.1'
>>> from pyramid_tm import reify 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'reify' from 'pyramid_tm'
i don't see any changesets in pyramid_tm repo related to this functionality
Mikko Ohtamaa
@miohtama
hmmhmhmhmmhmhm
Oh yes
I think I proposed a PR for pyramid_tm
but it was never accepted, as they did more complete rewrite with Pyramid 1.8+ and pyramid_tm 2.0
they adopted some pipeline changes in Pyramid itself
Sergey Maranchuk
@slav0nic
@miohtama, https://github.com/websauna/websauna/blob/5524757e545d27f1198b645626b9bea0a29e9c30/websauna/system/model/retry.py also have question related to this code, is it still needed? And what wrong with native tm retry?
or it is for Celery?
Mikko Ohtamaa
@miohtama
This code can be used with any function, including Celery tasks
which I have a tendency to split smaller commits
make sure that all transactions complete within one second so that they do not block the database
with locs
This code should be ported to pyramid_tm core itself
Sergey Maranchuk
@slav0nic
@miohtama, tnx, missed occ.html in official docs, so pyramid_tm retry work only on request level (retry full request transaction)
Sergey Maranchuk
@slav0nic
@miohtama, latest zope transaction pkg have some internal things for solve conflicts http://dpaste.com/2H0DWSY
Mikko Ohtamaa
@miohtama
ooh
Sergey Maranchuk
@slav0nic

old tyle was something like:

for attempt in transaction.manager.attempts():
    with attempt as t:
       ...

also zope.sqlalchemy have defined should_retry https://github.com/zopefoundation/zope.sqlalchemy/blob/master/src/zope/sqlalchemy/datamanager.py#L154-L164
but now example how use it :P as i understand, it will fire only if you use Attempts or tm.run

Mikko Ohtamaa
@miohtama
@slav0nic So much magic in _manager.run
Extracting note from the function instead of giving it explicitly by a parameter
Must be Jim Fulton's doings!
Maksym Shalenyi
@enkidulan
Websauna has been mentioned in this week "The PyCoder’s Weekly" newsletter :)
clickio
@clickio
does anybody have a docker image for this? i get stuck at install
Mikko Ohtamaa
@miohtama
@clickio Also not sure if @ericof created an official Docker image in some point
Érico Andrei
@ericof
No official image (yet)
Steve Piercy
@stevepiercy

WebSauna is featured in the Jul 8, 2019, PythonBytes podcast.

https://pythonbytes.fm/episodes/show/138/will-pyoxidizer-weld-shut-one-of-python-s-major-gaps