You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "IMarvinTPA (via GitHub)" <gi...@apache.org> on 2026/04/10 13:58:28 UTC

[I] Can't install prerelease using pip because version check doesn't like the version number. [spark]

IMarvinTPA opened a new issue, #55289:
URL: https://github.com/apache/spark/issues/55289

   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
   
   https://github.com/apache/spark/blob/26ae8c1546235f6d0100fbf4c036ac9331700acb/python/pyspark/install.py#L62-L63
   
   The regex needs to accept .dev# optionally to work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Can't install prerelease using pip because version check doesn't like the version number. [spark]

Posted by "IMarvinTPA (via GitHub)" <gi...@apache.org>.
IMarvinTPA commented on issue #55289:
URL: https://github.com/apache/spark/issues/55289#issuecomment-4224402682

   The fixed regex: ^[0-9]+\\.[0-9]+\\.[0-9]+(?:\\.dev[0-9]+)?$
   `"^[0-9]+\\.[0-9]+\\.[0-9]+(?:\\.dev[0-9]+)?$"`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Can't install prerelease using pip because version check doesn't like the version number. [spark]

Posted by "joshuaharris951-cmd (via GitHub)" <gi...@apache.org>.
joshuaharris951-cmd commented on issue #55289:
URL: https://github.com/apache/spark/issues/55289#issuecomment-4225242674

   Yeah, that makes sense — the current check is too strict. Allowing an
   optional .dev# suffix should fix cases like 4.2.0.dev4 without breaking
   normal versions.
   
   The updated regex looks good to me 👍
   
   On Fri, Apr 10, 2026, 9:19 AM IMarvinTPA ***@***.***> wrote:
   
   > *IMarvinTPA* left a comment (apache/spark#55289)
   > <https://github.com/apache/spark/issues/55289#issuecomment-4224402682>
   >
   > The fixed regex: ^[0-9]+\.[0-9]+\.[0-9]+(?:\.dev[0-9]+)?$
   > "^[0-9]+\\.[0-9]+\\.[0-9]+(?:\\.dev[0-9]+)?$"
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/spark/issues/55289#issuecomment-4224402682>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/B72KXLM7DTGED4VWKJI7DDD4VD7IDAVCNFSM6AAAAACXT72LBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMRUGQYDENRYGI>
   > .
   > You are receiving this because you are subscribed to this thread.Message
   > ID: ***@***.***>
   >
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Can't install prerelease using pip because version check doesn't like the version number. [spark]

Posted by "IMarvinTPA (via GitHub)" <gi...@apache.org>.
IMarvinTPA commented on issue #55289:
URL: https://github.com/apache/spark/issues/55289#issuecomment-4251550346

   Silly question, but will there be a pre5 to use in the near future?  How was this not found during any of the previous pre releases?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Can't install prerelease using pip because version check doesn't like the version number. [spark]

Posted by "kiyeonjeon21 (via GitHub)" <gi...@apache.org>.
kiyeonjeon21 commented on issue #55289:
URL: https://github.com/apache/spark/issues/55289#issuecomment-4229396636

   I'd like to work on this. I'll create a JIRA ticket and submit a PR with the regex fix for both `checked_versions` and `convert_old_hadoop_version`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Can't install prerelease using pip because version check doesn't like the version number. [spark]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #55289: Can't install prerelease using pip because version check doesn't like the version number.
URL: https://github.com/apache/spark/issues/55289


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org