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

Pin pipenv to an older version #88

Merged

Conversation

bryfox
Copy link
Contributor

@bryfox bryfox commented Aug 29, 2023

CI is currently failing (example) because pipenv is seemingly unable to find dependencies from the rospypi index. I can reproduce this locally with pipenv versions 2023.7.23 and 2023.8.28. Locally, installing these dependencies directly with pip install --extra-index-url works fine, as does reverting to an older version of pipenv. Version 2023.6.18 was the version used in the latest successful CI run.

Prior versions of this PR attempted to remove the rosbag dependency and use an updated lockfile with latest pipenv, but that caused different errors, including std_messages to resolve to an incorrect version from pypi.org even though the index was specified.

This is a temporary workaround. We'll need to find a better fix here, but I don't have enough knowledge of this ecosystem to understand what's happening. I do see that version 2023.7.23 mentions changes related to compatibility checks.

The other changes here are minor:

  • Upgrade CI setup actions to latest versions
  • Specify python 3.8 as 3.7 is EOL

Re-run pipenv update.

I don't see this dependency imported anywhere, and it appears to be the
cause of `pipenv update` failures locally and in CI.
Revert "Specify 3.8 in pipfile"

This reverts commit a0416b5.

Revert "Use python 3.8 in CI"

This reverts commit 85a6157.

Revert "Update with latest pipenv"

This reverts commit 2a7eb18.

Revert "Remove rosbag dependency"

This reverts commit f186f1d.
@bryfox bryfox changed the title Remove rosbag dependency Pin pipenv to an older version Aug 30, 2023
@bryfox bryfox requested review from wkalt and james-rms August 30, 2023 14:21
@bryfox bryfox merged commit 174646a into main Aug 30, 2023
1 check passed
@bryfox bryfox deleted the bryan/fg-4768-py-data-platform-ci-fails-trying-to-install-rosbag branch August 30, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants