Skip to content

Warn when Bikeshed is invoked with a Python < 3.9? #191

@tabatkins

Description

@tabatkins

Several months back I bumped Bikeshed's minimum Python version to 3.9. This means that if you install from pip with an older Python, you'll get the last version that advertised support for Python 3.7, which is already old and getting older.

I didn't realize that I needed to do something about this at the time (had I known, I would have published a final update before the bump that caused it to die with a deprecation message), and I'm not sure how to fix it now, but spec-prod might be able to intercept the problem.

Could y'all detect when the running Python is less than 3.9, and if Bikeshed is used, die with an error asking to upgrade to an OS distro that supports Python 3.9? That would make people's build failures a lot less confusing. I think a change I pushed on Monday, to change the datafile manifest file format, will make all spec-prod usage on <3.9 fail with a confusing message now (see https://github.com/WICG/shared-storage/actions/runs/11693566639/job/32565381014 for an example).

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