To avoid errors in modern versions of pip
, ensure that the version name created for the Python bindings is sanitized to be compliant with PEP 440
c.f.:
This essentially means that the version number needs to pass pip._vendor.packaging.version.Version()
Example:
from pip._vendor.packaging.version import Version
Version("v20220128-34c8a39") # pip._vendor.packaging.version.InvalidVersion: Invalid version: 'v20220128-34c8a39'
Version("2022.128") # <Version('2022.128')>
Version("2022.128+a28a91c") # <Version('2022.128+a28a91c')>
Version("6.0.0") # <Version('6.0.0')>
https://github.com/xrootd/xrootd/pull/1605
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1