Skip to content

Conflicting communication about pip versions in action output #233

@sondrelg

Description

@sondrelg

Describe the bug

Find this output a little confusing:

Upgrading PIP...
Looking in links: /tmp/tmpi5vup_pn
Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.10.0-rc.1/x64/lib/python3.10/site-packages (56.0.0)
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.0-rc.1/x64/lib/python3.10/site-packages (21.1.3)
Collecting pip
Downloading pip-21.2.4-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Successfully installed pip-21.2.4
Error: WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.

Seems like the warning shouldn't be output here.

Which version of the action are you using?

  • v1
  • v2
  • Some other tag (such as v2.0.1 or master)

Environment

  • self-hosted
  • Linux
  • Windows
  • Mac

If applicable, please specify if you're using a container

Python Versions

This is on the Python 3.10 release candidate

      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.10.0-rc.1

Run/Repo Url
https://github.com/sondrelg/container-retention-policy/runs/3325363194?check_suite_focus=true

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions