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

2019.2.1 - pip.installed state fails with pip versions between 10.0 and 18.0 #54773

Closed
OrlandoArcapix opened this issue Sep 26, 2019 · 4 comments
Labels
Duplicate Duplicate of another issue or PR - will be closed
Milestone

Comments

@OrlandoArcapix
Copy link
Contributor

Description of Issue

The import of pip.exceptions fails, causing the pip_state module load to fail, with pip versions 10.0 thru 18.0.

Setup

Install pip 18.0.

Create a pip.installed state.

Steps to Reproduce Issue

Apply pip.installed state.

Versions Report

           Salt: 2019.2.1

Dependency Versions:
           cffi: 1.12.3
       cherrypy: unknown
       dateutil: 2.7.2
      docker-py: 3.5.0
          gitdb: 2.0.5
      gitpython: 2.1.11
          ioflo: Not Installed
         Jinja2: 2.9.6
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: 0.31.0
           Mako: 1.1.0
   msgpack-pure: Not Installed
 msgpack-python: 0.5.6
   mysql-python: 1.2.5
      pycparser: 2.19
       pycrypto: 2.6.1
   pycryptodome: 3.7.3
         pygit2: Not Installed
         Python: 2.7.5 (default, Apr  9 2019, 14:30:50)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.3.0
           RAET: Not Installed
          smmap: 2.0.5
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: centos 7.6.1810 Core
         locale: UTF-8
        machine: x86_64
        release: 3.10.0-957.12.2.el7.x86_64
         system: Linux
        version: CentOS Linux 7.6.1810 Core```
@OrlandoArcapix
Copy link
Contributor Author

PR #54772 submitted to resolve this issue

@OrlandoArcapix
Copy link
Contributor Author

See also #54755

@cmcmarrow cmcmarrow added this to the Approved milestone Sep 26, 2019
@smitelli
Copy link

If anyone's in a rush and needs a workaround right now, you can try installing the Python 2 version of pip 18.1 (and, presumably, any future version) via your system's package manager and re-run the salt* command that failed.

@dwoz dwoz added the Duplicate Duplicate of another issue or PR - will be closed label Oct 13, 2019
@dwoz
Copy link
Contributor

dwoz commented Oct 13, 2019

Duplicate of #54762, resolved by #54807. This will be fixed in 2019.2.2

@dwoz dwoz closed this as completed Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue or PR - will be closed
Projects
None yet
Development

No branches or pull requests

4 participants