You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is pretty minor as it only affects release candidates and doesn't actually cause any problems as setuptools is smart enough to catch and fix it, but in PR #1605 I didn't properly account for release candidate versions like v5.4.1-rc2. Note both v5.4.1-rc2 and v5.4.1.rc2 will get sanitized to v5.4.1rc2 by pip and setuptools
# version needs to pass pip._vendor.packaging.version.Version()
version = version.replace("-", ".")
if version.startswith("v"):
version = version[1:]
was expecting something of the form "v5.4.1rc2", it doesn't properly catch v5.4.1-rc2 and instead transforms it into "5.4.1.rc2". As mentioned, pip and setuptools can still work with this, but in the build will give something like
XRootD library dir: /code/build/src
XRootD src include dir: /code/xrootd/src
XRootD bin include dir: /code/build/src
Version: 5.4.1.rc2
/usr/local/venv/lib/python3.9/site-packages/setuptools/dist.py:505: UserWarning: Normalizing '5.4.1.rc2' to '5.4.1rc2'
The text was updated successfully, but these errors were encountered:
This is pretty minor as it only affects release candidates and doesn't actually cause any problems as
setuptools
is smart enough to catch and fix it, but in PR #1605 I didn't properly account for release candidate versions likev5.4.1-rc2
. Note bothv5.4.1-rc2
andv5.4.1.rc2
will get sanitized tov5.4.1rc2
bypip
andsetuptools
As
xrootd/bindings/python/setup.py.in
Lines 62 to 66 in 753fd54
was expecting something of the form
"v5.4.1rc2"
, it doesn't properly catchv5.4.1-rc2
and instead transforms it into"5.4.1.rc2"
. As mentioned,pip
andsetuptools
can still work with this, but in the build will give something likeThe text was updated successfully, but these errors were encountered: