saltstack-formulas / docker-formula

Install and set up Docker
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
136 stars 330 forks source link

[BUG] pip.installed fails on Windows #305

Closed noelmcloughlin closed 3 years ago

noelmcloughlin commented 3 years ago

Bug details

Describe the bug

pip.installed fails on windows

Steps to reproduce the bug

          ID: docker-software-desktop-install^M
    Function: pip.installed^M
        Name: docker^M
      Result: False^M
     Comment: Failed to install packages: docker. Error: Collecting docker^M^M
                Downloading docker-5.0.2-py2.py3-none-any.whl (145 kB)^M^M
              Requirement already satisfied: requests!=2.18.0,>=2.14.2 in c:\salt\bin\lib\site-packages (from docker) (2.25.1)^M^M
              Collecting pywin32==227^M^M
                Downloading pywin32-227-cp37-cp37m-win_amd64.whl (9.1 MB)^M^M
              Collecting websocket-client>=0.32.0^M^M
                Downloading websocket_client-1.2.1-py2.py3-none-any.whl (52 kB)^M^M
              Requirement already satisfied: idna<3,>=2.5 in c:\salt\bin\lib\site-packages (from requests!=2.18.0,>=2.14.2->docker) (2.8)^M^M
              Requirement already satisfied: chardet<5,>=3.0.2 in c:\salt\bin\lib\site-packages (from requests!=2.18.0,>=2.14.2->docker) (3.0.4)^M^M
              Requirement already satisfied: certifi>=2017.4.17 in c:\salt\bin\lib\site-packages (from requests!=2.18.0,>=2.14.2->docker) (2020.12.5)^M^M
              Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\salt\bin\lib\site-packages (from requests!=2.18.0,>=2.14.2->docker) (1.24.3)^M^M
              Installing collected packages: websocket-client, pywin32, docker^M^M
                Attempting uninstall: pywin32^M^M
                  Found existing installation: pywin32 300^M^M
                  Uninstalling pywin32-300:^M^M
                    Successfully uninstalled pywin32-300 ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\cygwin64\\tmp\\pip-uninstall-wrv4vb7d\\win32\\win32api.pyd'^M^M
              Consider using the `--user` option or check the permissions.^M
     Started: 16:25:55.407695^M
    Duration: 24940.793 ms^M

Expected behaviour

Attempts to fix the bug

Additional context

saltstack-formulas-travis commented 3 years ago

:tada: This issue has been resolved in version 2.3.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: