question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conflicting communication about pip versions in action output

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dmitry-shibanovcommented, Aug 15, 2022

Hello @addisonklinke. Thank you for your report. I think it’s an expected behaviour because these versions were rebuilt.

0reactions
addisonklinkecommented, Aug 22, 2022

@dmitry-shibanov Are you saying I should be able to avoid the warning if I use one of those Python versions? For exapmle 3.9.6 instead of 3.9.5

Read more comments on GitHub >

github_iconTop Results From Across the Web

ResolutionImpossible error message · Issue #8377 · pypa/pip
When a user tries to install a combination of packages, due to conflicting dependencies, pip is unable to complete the install.
Read more >
ResolutionImpossible from pip despite no apparent version ...
Why is pip complaining about conflicting dependencies when there are in fact no specific versions or ranges requested at all, never mind ...
Read more >
How do you manage conflicting packages in your ...
I use pip-tools compile to on my requirements.txt. It takes human specified requirements and locks down exact resolved version (e.g. I want ...
Read more >
Understanding Python Packages pip Dependency Resolver ...
Differences in how conflicts are dealt with in the new and legacy dependency resolvers (older and newer versions of pip ).
Read more >
Best Practices - Apache Airflow
If possible, use XCom to communicate small messages between tasks and a good way of passing larger data between tasks is to use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found