-
Notifications
You must be signed in to change notification settings - Fork 49
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
Colcon is incopatible with pyparsing
3
#451
Comments
+1 here. Any solution for that? |
Can either of you confirm that colcon actually breaks with pyparsing 3.x, or was this just a semver best practices thing, to not assume that a new major version will always be safe to take? To check it, install colcon-core from source with that requirement dropped from the setup file. Alternatively, try running colcon from a venv where you have a newer pip, since pip > 20.3 now has a backtracking-capable resolver that can detect and correct these situations. |
Some additional notes and steps to reproduce.
Reproduction guide with docker # Start a Unbutu 18.04 image
docker run --rm -it ubuntu:bionic /bin/bash
# Remaining commands run in the image:
apt update && apt install -y python3-pip
pip3 install colcon-common-extensions
# The following command will fail `pyparsing` version checks.
colcon --help |
Unfotunately I cannot. While I can see this is an early versioning check validation failure, rather than a runtime error, I am not familiar enough with the python ecosystem to understand where the version check is configured. I dug around yesteray to no avail. As such, I'm not familiar enough with how to circumvent the version check and try running with version 3. |
@KazNX Per my previous message: "To check it, install colcon-core from source with that requirement dropped from the setup file." |
I am getting the same error, but this is a dependency from the |
@Acuadros95 pypa/packaging#481 is closed but this issue continues. Any idea? |
@pablogs9 The fix is not released yet, see pypa/packaging#483 |
Hi,
I've just done a pip3 update and found this has broken colcon due to a version mismatch with
pyparsing
. Exception message below.The text was updated successfully, but these errors were encountered: