Build failed in Jenkins: pgadmin4-master-python26 #685 - Mailing list pgadmin-hackers

From pgAdmin 4 Jenkins
Subject Build failed in Jenkins: pgadmin4-master-python26 #685
Date
Msg-id 1687339281.220.1522843331754.JavaMail.jenkins@jenkins.pgadmin.org
Whole thread Raw
In response to Build failed in Jenkins: pgadmin4-master-python26 #684  (pgAdmin 4 Jenkins <jenkins@pgadmin.org>)
List pgadmin-hackers
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/685/display/redirect?page=changes>

Changes:

[Dave Page] SQLAlchemy stopped supporting Python 2.6.

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building in workspace <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/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 b7c86da58605a7e9f474b1a9f4508d9bfc0bdff6 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
PYTHON_VERSION=2.6

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

EXECUTING: Python tests

Creating Python 2.6 virtual environment...

New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/bin/python>
Installing setuptools, pip...done.
Running virtualenv with interpreter /usr/local/python-2.6/bin/python
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of
pipwill drop support for Python 2.6
 
Collecting wheel==0.29.0
  Using cached wheel-0.29.0-py2.py3-none-any.whl
Collecting argparse; python_version == "2.6" (from wheel==0.29.0)

<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:339:
SNIMissingWarning:An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not
availableon this platform. This may cause the server to present an incorrect TLS certificate, which can cause
validationfailures. You can upgrade to a newer version of Python to solve this. For more information, see
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning

<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:137:
InsecurePlatformWarning:A true SSLContext object is not available. This prevents urllib3 from configuring SSL
appropriatelyand may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this.
Formore information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
 
  InsecurePlatformWarning
  Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: argparse, wheel
Successfully installed argparse-1.4.0 wheel-0.29.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of
pipwill drop support for Python 2.6
 
Ignoring psycopg2: markers 'python_version >= "2.7"' don't match your environment
Ignoring pycryptodome: markers 'python_version >= "2.7"' don't match your environment
Ignoring python-dateutil: markers 'python_version >= "2.7"' don't match your environment
Ignoring Flask-HTMLmin: markers 'python_version >= "2.7"' don't match your environment
Invalid requirement: 'SQLAlchemy>=1.2.5               python_version >= '2.7''
Traceback (most recent call last):
  File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_install.py",>
line82, in __init__
 
    req = Requirement(req)
  File
"<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/packaging/requirements.py",>
line96, 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


pgadmin-hackers by date:

Previous
From: pgAdmin 4 Jenkins
Date:
Subject: Build failed in Jenkins: pgadmin4-master-python35 #555
Next
From: pgAdmin 4 Jenkins
Date:
Subject: Build failed in Jenkins: pgadmin4-master-python33 #556