Re: Build failed in Jenkins: pgadmin4-master-python27 #556 - Mailing list pgadmin-hackers

From Murtuza Zabuawala
Subject Re: Build failed in Jenkins: pgadmin4-master-python27 #556
Date
Msg-id CAKKotZShgrwDXSOk+C8rBctJtOGjkk-engkmCDFMG=DdEuQFVQ@mail.gmail.com
Whole thread Raw
In response to Build failed in Jenkins: pgadmin4-master-python27 #556  (pgAdmin 4 Jenkins <jenkins@pgadmin.org>)
Responses Re: Build failed in Jenkins: pgadmin4-master-python27 #556
List pgadmin-hackers
Fix typo.

On Wed, Apr 4, 2018 at 5:30 PM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/556/display/redirect?page=changes>

Changes:

[Dave Page] Fix requirements for Python 2.6.

[Dave Page] SQLAlchemy stopped supporting Python 2.6.

------------------------------------------
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
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 c0cfc9f29b1e8ac1099a135ff7acf327576691fd (origin/master)
Commit message: "SQLAlchemy stopped supporting Python 2.6."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c0cfc9f29b1e8ac1099a135ff7acf327576691fd
 > git rev-list a705fb46a8df9d4db072894d8214a568c38a341a # 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/jenkins8279574611404352817.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: 'SQLAlchemy>=1.2.5               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/req/req_install.py",> line 82, in __init__
    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",> line 96, 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


Attachment

pgadmin-hackers by date:

Previous
From: pgAdmin 4 Jenkins
Date:
Subject: Build failed in Jenkins: pgadmin4-master-python34 #545
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Typo fix.