GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `Test Python Package Installation` tests are flaky · Issue #1122 · github/codeql-action

Test Python Package Installation tests are flaky #1122

New issue
Copy link
New issue
Copy link
Closed
#1124
Closed
Test Python Package Installation tests are flaky#1122
#1124
Copy link

Description

@aeisenberg
aeisenberg
opened on Jun 24, 2022
Issue body actions

These tests often fail for external reasons. We should add some sort of retry on failure for these tests.

Activity

  1. aeisenberg commented on Jun 24, 2022

    @aeisenberg
    aeisenberg
    on Jun 24, 2022
    ContributorAuthor
    More actions

    On a deeper look, this is not a flaky test, it is just failing. Python2 + poetry is not a combination that can be easily supported. Best suggestion is to remove that combination and state that we can't run on it.

    More information: actions/setup-python#374

  2. aeisenberg
    closed this as completedin #1124on Jun 24, 2022
  3. RasmusWL commented on Jun 28, 2022

    @RasmusWL
    RasmusWL
    on Jun 28, 2022
    Member
    More actions

    I looked over actions/setup-python#374 a bit, and I don't think that's the cause of it, since we're not using the setup-python action in those tests at all.

    Instead I think we're running into a similar problem, the poetry installation (under Python 3) on windows is not able to find the Python 2 executable.

    From the logs of a failure.

    Found poetry.lock, will install packages with poetry
    + C:\hostedtoolcache\windows\Python\3.10.5\x64\python.exe -m poetry install --no-root
    ...
    The currently activated Python version 3.10.5 is not supported by the project (^2.7).
    Trying to find and use a compatible version. 
      NoCompatiblePythonVersionFound
      Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
    
  4. aeisenberg commented on Jun 28, 2022

    @aeisenberg
    aeisenberg
    on Jun 28, 2022
    ContributorAuthor
    More actions

    Right, I don't think it is caused by actions/setup-python#374, but it is the same underlying issue. Thanks for taking a deeper look here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.