Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that offline installation method requires python3.11 #1840

Open
herrBez opened this issue Mar 27, 2024 · 0 comments
Open

Document that offline installation method requires python3.11 #1840

herrBez opened this issue Mar 27, 2024 · 0 comments
Labels
:Docs Changes to the documentation enhancement Improves the status quo

Comments

@herrBez
Copy link

herrBez commented Mar 27, 2024

The Rally Installation Documentation page states that the minimum requirement for running Rally is python >= 3.8. When following the offline installation method the installation fails with python3.9 because some of the dependencies like yappi, zstandard and aiohttp in the distribution package are tight to version 3.11 of python.

Such constraint should be either documented or the missing wheel files should be included in the distribution package (e.g., yappi 1.4.0 for python 3.8, 3.9, 3.10).

Workaround
As a workaround we can execute on a machine able to reach the internet:

  1. unzip the distribution package
  2. Until the ./install.sh does not succeed:
    a. execute ./install.sh file
    b. download the packages manually (e.g., pip download yappi==1.4.0) and copy it into the bin folder
    c. repeat from step 2
  3. create a new tar.gz with the dependencies for the desired python version (tar -czvf esrally-dist-linux-2.10.0-39.tar.gz esrally-dist-2.10.0/

Rally version (get with esrally --version): 2.10.0

Configuration file (located in ~/.rally/rally.ini): N/A

JVM version: N/A

OS version: Rocky Linux 9 on GCP (RHEL on-premise)

Description of the problem including expected versus actual behavior:

Steps to reproduce:

  1. Follow the offline installation method on a VM with python3.9 (e.g., Rocky Linux 9 on GCP)

Provide logs (if relevant):

Installing Rally 2.10.0...
[Omitted]
Processing ./bin/urllib3-1.26.18-py2.py3-none-any.whl (from esrally==2.10.0)
INFO: pip is looking at multiple versions of esrally to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement yappi==1.4.0 (from esrally) (from versions: none)
ERROR: No matching distribution found for yappi==1.4.0
@herrBez herrBez added enhancement Improves the status quo :Docs Changes to the documentation labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Docs Changes to the documentation enhancement Improves the status quo
Projects
None yet
Development

No branches or pull requests

1 participant