Changeset 17179


Ignore:
Timestamp:
29 Nov 2022, 15:09:46 (2 years ago)
Author:
uli
Message:

Upgrade beaker and dependencies.

The old version of beaker we used was using outdated cryptolibs that do not work on more recent operating systems. This upgrade introduces a new ZCML snippet in ftesting.zcml and site.zcml which replaces the former beaker.py submodule. Therefore this change is not backwards compatible and you must run buildout again to generate a new site.zcml (or at least change it manually).

Location:
main/waeup.kofa/branches/uli-upgrade-beaker
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-upgrade-beaker/CHANGES.txt

    r17094 r17179  
    7070
    7171* Add serial no to the coursetickets.pdf.
     72
     73* Upgraded beaker dependency. Caution! This change is not backwards compatible
     74  as it introduces a new ZCML snippet in site.zcml that will not be parsable
     75  with older versions of kofa.
    7276
    73771.7.1 (2021-04-20)
  • main/waeup.kofa/branches/uli-upgrade-beaker/etc/site.zcml.in

    r14672 r17179  
    11<configure xmlns="http://namespaces.zope.org/zope"
     2           xmlns:browser="http://namespaces.zope.org/browser"
    23           xmlns:kofa="http://namespaces.waeup.org/kofa"
    34           i18n_domain="${kofa_params:devel_pkg}">
     
    8081             principal="zope.manager" />
    8182   </configure>
     83
     84   <!-- session -->
     85   <browser:beakerSession
     86        key="waeup.kofa.session.id"
     87        secret="KofaRocks"
     88        timeout="3600"
     89        type="cookie"
     90        validate_key="thisMightBeChanged"
     91        />
     92
    8293</configure>
  • main/waeup.kofa/branches/uli-upgrade-beaker/src/waeup/kofa/ftesting.zcml

    r9855 r17179  
    11<configure
    22   xmlns="http://namespaces.zope.org/zope"
     3   xmlns:browser="http://namespaces.zope.org/browser"
    34   xmlns:kofa="http://namespaces.waeup.org/kofa"
    45   i18n_domain="waeup.kofa"
     
    7071  <grant role="zope.Manager" principal="zope.mgr" />
    7172
     73   <!-- session -->
     74   <browser:beakerSession
     75        key="waeup.kofa.session.id"
     76        secret="KofaRocks"
     77        timeout="3600"
     78        type="cookie"
     79        validate_key="thisMightBeChanged"
     80        />
     81
    7282</configure>
  • main/waeup.kofa/branches/uli-upgrade-beaker/src/waeup/kofa/tests/test_beaker.py

    r12110 r17179  
    2020        session = ISession(request)
    2121        self.assertTrue(session.__module__.startswith('dolmen.beaker'))
     22        self.assertTrue(session.get("_path", None) is not None)
    2223        return
  • main/waeup.kofa/branches/uli-upgrade-beaker/versions.cfg

    r16157 r17179  
    1010alabaster = 0.7.7
    1111Babel = 1.3
    12 Beaker = 1.6.4
     12Beaker = 1.11.0
    1313collective.recipe.sphinxbuilder = 0.8.2
    1414collective.recipe.template = 2.1
     
    1717distribute = 0.6.49
    1818docutils = 0.11
    19 dolmen.beaker = 0.1
     19dolmen.beaker = 0.4
    2020experimental.cssselect = 0.3
     21funcsigs = 1.0.2
    2122grok = 1.1.1
    2223grokcore.view = 1.13.5
     
    4748psutil = 2.1.3
    4849py = 1.0.2
    49 pycryptopp = 0.6.0.1206569328141510525648634803928199668821045408958
    5050Pygments = 2.0.2
    5151pyprof2calltree = 1.1.1
Note: See TracChangeset for help on using the changeset viewer.