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

Bikeshed update fails #2946

Closed
CxRes opened this issue Nov 10, 2024 · 4 comments
Closed

Bikeshed update fails #2946

CxRes opened this issue Nov 10, 2024 · 4 comments

Comments

@CxRes
Copy link

CxRes commented Nov 10, 2024

Reporting as requested: https://github.com/solid/solid-prep/actions/runs/11762046460/job/32764503788?pr=15#step:3:823

bikeshed update
    Bringing data files up-to-date...
    Updating via manifest...
    Gathering local manifest data...
    Fetching remote manifest data...
    FATAL ERROR: Something's gone wrong with the remote data; I can't read its timestamp. Please report this!
     ✘  Did not generate, due to errors exceeding the allowed error level.
  Command `bikeshed update` failed with exit code: 2.
  Error: Process completed with exit code 2.
@tabatkins
Copy link
Collaborator

You are stuck on an old Bikeshed, because your CI is configured to use an old Ubuntu which only has Python 3.8. (Bikeshed bumped its minimum Python version to 3.9 some time ago. Unfortunately, I didn't realize this means that pip install bikeshed will just silently install the last 3.7-supporting Bikeshed version; had I realized this, I would have made an informative error message...)

The fix is to update your CI job's Ubuntu version to one that starts with Python 3.9 or higher; I recommend ubuntu-latest.

@tabatkins tabatkins pinned this issue Nov 10, 2024
@tabatkins
Copy link
Collaborator

(Amusingly, I changed the format of the datafiles a while ago, which should have triggered this error in older versions a long time ago. But the CI that built the datafiles over in https://github.com/speced/bikeshed-data/ was also stuck on an old Ubuntu, and thus was stuck on an old Bikeshed, so it kept emitting the old datafile format. I fixed that last Monday, thus the current errors.)

CxRes added a commit to CxRes/solid-prep that referenced this issue Nov 10, 2024
Update the OS in CI to Ubuntu-latest to ensure that the bikeshed works.
See: speced/bikeshed#2946 (comment)
@CxRes
Copy link
Author

CxRes commented Nov 10, 2024

Your fix works, but I am not sure if I follow. My Windows box has Python 3.9.2 and I still get the same error when running bikeshed.

@CxRes
Copy link
Author

CxRes commented Nov 10, 2024

Uninstalling and reinstalling bikeshed worked. pip would not upgrade bikeshed from 3.x to 4.x without that.

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

No branches or pull requests

2 participants