[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1003687: python-pip breaks python-virtualenv autopkgtest: invalid syntax



Source: python-pip, python-virtualenv
Control: found -1 python-pip/21.3.1+dfsg-3
Control: found -1 python-virtualenv/20.12.1+ds-1
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-pip the autopkgtest of python-virtualenv fails in testing when that autopkgtest is run with the binary packages of python-pip from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-pip             from testing    21.3.1+dfsg-3
python-virtualenv      from testing    20.12.1+ds-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python-pip to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-pip

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-virtualenv/18277593/log.gz

created virtual environment CPython2.7.18.final.0-64 in 446ms
creator CPython2Posix(dest=/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/ve, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/home/.local/share/virtualenv) added seed packages: pip==21.3.1, pkg_resources==0.0.0, setuptools==59.6.0, wheel==0.34.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
created virtual environment CPython2.7.18.final.0-64 in 185ms
creator CPython2Posix(dest=/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/sysve, clear=False, no_vcs_ignore=False, global=True) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/home/.local/share/virtualenv) added seed packages: pip==21.3.1, pkg_resources==0.0.0, setuptools==59.6.0, wheel==0.34.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
testMPipHelp
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/ve/lib/python2.7/site-packages/pip/__init__.py", line 6
    def main(args: Optional[List[str]] = None) -> int:
                 ^
SyntaxError: invalid syntax
ASSERT:Execute bare pip
testSystemPackagesNotAvailable
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named six
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/ve/lib/python2.7/site-packages/pip/__init__.py", line 6
    def main(args: Optional[List[str]] = None) -> int:
                 ^
SyntaxError: invalid syntax
testSystemPackagesAvailable
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/sysve/lib/python2.7/site-packages/pip/__init__.py", line 6
    def main(args: Optional[List[str]] = None) -> int:
                 ^
SyntaxError: invalid syntax
ASSERT:pip freeze lists system module from system-site-packages VE
testSetuptoolsAvailable
Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/ve/lib/python2.7/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/ve/lib/python2.7/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/ve/lib/python2.7/site-packages/pkg_resources/__init__.py", line 117
    f"{v} is an invalid version and will not be supported in "
                                                             ^
SyntaxError: invalid syntax
ASSERT:Import setuptools from regular VE
Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/sysve/lib/python2.7/site-packages/setuptools/__init__.py", line 16, in <module>
    import setuptools.version
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/sysve/lib/python2.7/site-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
File "/tmp/autopkgtest-lxc.tsxq3czm/downtmp/autopkgtest_tmp/sysve/lib/python2.7/site-packages/pkg_resources/__init__.py", line 117
    f"{v} is an invalid version and will not be supported in "
                                                             ^
SyntaxError: invalid syntax
ASSERT:Import setuptools from system-site-packages VE

Ran 4 tests.

FAILED (failures=4)
autopkgtest [03:23:41]: test python2

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: