Skip to content

Can't install prerelease using pip because version check doesn't like the version number. #55289

@IMarvinTPA

Description

@IMarvinTPA

File "\AppData\Local\Temp\pip-install-udfmg8eb\pyspark_1676b3c5251148c4a731b700963b9009\pyspark/install.py", line 74, in checked_versions
raise RuntimeError(
RuntimeError: Spark version should start with 'spark-' prefix; however, got 4.2.0.dev4

if re.match("^[0-9]+\\.[0-9]+\\.[0-9]+$", spark_version):
spark_version = "spark-%s" % spark_version

The regex needs to accept .dev# optionally to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions