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

Ion-test-driver issue. #795

Open
github-actions bot opened this issue Apr 12, 2024 · 2 comments
Open

Ion-test-driver issue. #795

github-actions bot opened this issue Apr 12, 2024 · 2 comments
Assignees
Labels

Comments

@github-actions
Copy link

Ion-test-driver complained that behavior changed for the commit 5367d12 created by tgregg.
Refer to the workflow for more details.

@nirosys
Copy link
Contributor

nirosys commented Apr 15, 2024

Assert thrown in ion-test-driver's pip install step.

Successfully built amazon.ion docopt
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 389, in run
    to_install = resolver.get_installation_order(requirement_set)
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order
    weights = get_topological_weights(
  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights
    assert len(weights) == expected_node_count
AssertionError

There are multiple issues for what looks like the same error, going to use this one to track the investigation.

@nirosys
Copy link
Contributor

nirosys commented Apr 20, 2024

This error appears to be an issue that occurs in pip 22.0, which was added to the the GHA ubuntu image ~a week ago. Looks like 22.0 has been included in some image for quite a while, I'm not sure exactly what changed yet.

I'm testing out an update to ion-java's workflow to use setup-python to use a fixed python version, which also forces a pip update, installing 24.0 (at the time of writing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants