Thread: Build failed in Jenkins: pgadmin4-master-python27 #574

Build failed in Jenkins: pgadmin4-master-python27 #574

From
pgAdmin 4 Jenkins
Date:
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/574/display/redirect?page=changes>

Changes:

[Dave Page] Add required HTMLmin version - the Flask-htmlmin package doesn't seem to

------------------------------------------
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building in workspace <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.postgresql.org/git/pgadmin4.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.postgresql.org/git/pgadmin4.git
 > git --version # timeout=10
 > git fetch --tags --progress git://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision bb49d6929335977f7de3bcb12bbb2389352e94b0 (origin/master)
Commit message: "Add required HTMLmin version - the Flask-htmlmin package doesn't seem to pull in the right version."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bb49d6929335977f7de3bcb12bbb2389352e94b0
 > git rev-list 0493b86d4d4e53e5bdfcb08c4b5eb771302a88a9 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
PYTHON_VERSION=2.7

[EnvInject] - Variables injected successfully.
[pgadmin4-master-python27] $ /bin/sh -xe /tmp/jenkins3988895377542599815.sh
+ <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/ci/ci_runner.sh>
EXECUTING: Create pgAdmin config

EXECUTING: Python tests

Creating Python 2.7 virtual environment...

New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/bin/python>
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/python-2.7/bin/python
Invalid requirement: 'htmlmin==0.1.12                 python_version >= '2.7''
Traceback (most recent call last):
  File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/lib/python2.7/site-packages/pip/_internal/req/req_install.py",>
line252, in from_line
 
    req = Requirement(req)
  File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/lib/python2.7/site-packages/pip/_vendor/packaging/requirements.py",>
line97, in __init__
 
    requirement_string[e.loc:e.loc + 8]))
InvalidRequirement: Invalid requirement, parse error at "u'python_v'"

ERROR: Failed to install the application requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure