marvin: newer python setuptools doesn't like -SNAPSHOT in marvin version (#7120)

This commit is contained in:
Rohit Yadav 2023-01-24 19:58:07 +05:30 committed by GitHub
parent 8838943a76
commit abef381aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ def runSetupScript(args):
if __name__ == "__main__": if __name__ == "__main__":
version = sys.argv[1] version = sys.argv[1].replace("-SNAPSHOT", "")
remainingArgs = sys.argv[2:] remainingArgs = sys.argv[2:]
replaceVersion(setupScript, version) replaceVersion(setupScript, version)
runSetupScript(remainingArgs) runSetupScript(remainingArgs)