Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • testCP3
  • addCloudprofiler3
  • testCP2
  • testCP
  • addCloudprofiler2
  • addCloudprofiler
  • testNewDockerfile
  • UpdateDockerfile
  • KIEKER-1990
  • cp
  • KIEKER-1983-MooBench-Kieker-Python
12 results

moobench

  • Clone with SSH
  • Clone with HTTPS
  • Shinhyung Yang's avatar
    Shinhyung Yang authored
    This fix resolves two problems.
    
    1. The v69.3.0 release of the Python3 package setuptools enforces the
       PEP~625 proposal [0], which replaces hyphens with underbars in a
       package name. Therefore I made the following changes:
    
    Kieker-python/functions.sh
    - "${PIP}" install dist/kieker-monitoring-for-python-0.0.1.tar.gz
    + "${PIP}" install dist/kieker_monitoring_for_python-0.0.1.tar.gz
    
    2. Temurin JDK 21 image (based on Alpine Linux 3.19, 3.19.2) comes up
       with the v23.3.1 release of the Python3 package pip. Its v23.0
       enforces the PEP~668 proposal [1], which raises an error when
       installing a local package against the OS-installed Python
       environment. Therefore I made the following changes:
    
    Kieker-python/benchmark.sh
    + VENV_DIR="${HOME}/venv/moobench"
    + python3 -m venv ${VENV_DIR}
    + source ${VENV_DIR}/bin/activate
    +
      # configure base dir
      BASE_DIR=$(cd "$(dirname "$0")"; pwd)
    
      ...
    
      info "Done."
    
    + deactivate
    + rm -rf ${VENV_DIR}
    +
      exit 0
      # end
    
    [0]: https://github.com/pypa/setuptools/blob/v69.3.0/NEWS.rst
    [1]: https://github.com/pypa/pip/blob/23.0/NEWS.rst
    507a0269
    History
    Name Last commit Last update