Ignore:
Timestamp:
20 Jan 2023, 10:58:52 (22 months ago)
Author:
uli
Message:

Upgrade more build tools (pip/buildout).

With the upgraded Paste tools (last commit), we can use modernly packaged
eggs and can use newer versions of zc.buildout and pip. This does not only
ease the build process but is also necessary to get everything
Python3-compatible.

Location:
main/waeup.kofa/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r17299 r17307  
    55=======================
    66
    7 * No changes yet
     7* Upgrade packages for helper tools to Python3-compatible versions. Requires
     8  new buildout run. Might require removal of existing eggs.
     9
    810
    9111.8.1 (2023-01-16)
    1012==================
     13
    1114
    1215* Upgrade `dolmen.beaker` dependency. Removes other outdated crypto
  • main/waeup.kofa/trunk/Dockerfile

    r17299 r17307  
    3131
    3232# we can work with official PyPI sources...
    33 RUN /home/kofa/py27/bin/pip download --no-binary --no-deps waeup.kofa==${KOFA_VERSION}
     33# RUN /home/kofa/py27/bin/pip download --no-binary --no-deps waeup.kofa==${KOFA_VERSION}
    3434## ...OR with local kofa sources (create a source pkg with `python setup.py sdist`)
    3535## Please keep one of the two lines above and below commented out.
    36 # COPY --chown=kofa:kofa dist/waeup.kofa-${KOFA_VERSION}.tar.gz /home/kofa
     36COPY --chown=kofa:kofa dist/waeup.kofa-${KOFA_VERSION}.tar.gz /home/kofa
    3737RUN tar -xzf waeup.kofa-${KOFA_VERSION}.tar.gz
    3838RUN rm waeup.kofa-${KOFA_VERSION}.tar.gz
     
    4949RUN xmlstarlet edit -L -P -S -N x="http://namespaces.zope.org/browser" --update "//x:beakerSession/@validate_key" --value "val_"`pwgen -s -1 16` etc/site.zcml.in
    5050
    51 # pin down `pip` and `setuptools` - just to ensure we have a fixed set of versions
    52 RUN /home/kofa/py27/bin/pip install --upgrade pip==20.3.4
     51# upgrade/pin down build helpers and run the build process
     52RUN /home/kofa/py27/bin/pip install --upgrade pip zc.buildout
    5353RUN /home/kofa/py27/bin/pip install --upgrade --force-reinstall setuptools==44.1.1
    54 # pin down `zc.buildout` - versions >= 3 make entry-points of installed eggs
    55 # invisible for `pgk_resources`
    56 RUN /home/kofa/py27/bin/pip install "zc.buildout<3"
    5754RUN /home/kofa/py27/bin/buildout
    5855
  • main/waeup.kofa/trunk/versions.cfg

    r17306 r17307  
    5454RestrictedPython = 3.5.2
    5555rwproperty = 1.0
    56 setuptools = 19.2
    5756six = 1.10.0
    5857snowballstemmer = 1.2.1
     
    7271z3c.testsetup = 0.6.1
    7372zc.async = 1.5.4
    74 zc.buildout = 2.5.0
    7573zc.catalog = 1.4.5
    7674zc.dict = 1.2.1
     
    155153zope.xmlpickle = 3.4.0
    156154
     155
    157156# packages that skipped py2 support in newer versions
    158157PasteDeploy = 2.1.1
     158setuptools = 44.1.1
     159
    159160
    160161# Packages already at newest version (supporting py2 and py3)
    161162Paste = 3.5.2
    162163PasteScript = 3.3.0
     164zc.buildout = 3.0.1
Note: See TracChangeset for help on using the changeset viewer.