Ignore:
Timestamp:
20 Jan 2023, 10:58:52 (2 years 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.