-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Remove unused Python setup files from old workflows #1656
chore: Remove unused Python setup files from old workflows #1656
Conversation
@simonmichal This PR is ready for review given Nick's sign off in #1594 (comment). |
9cca232
to
59e292e
Compare
* Remove bindings/python/setup_pypi.py as it is Python 2 only and no longer being used in any workflows for installation of the Python bindings. c.f. Issue 1594 for more information. * Remove dopy.sh as well as it only exists as setup_pypi.py does.
* Remove bindings/python/setup_standalone.py as it is no longer used as one can effectively replace all of its functionality with `python -m pip install --upgrade xrootd`. c.f. Issue 1594 for more information.
59e292e
to
9a6a723
Compare
@matthewfeickert i'm not sure if the following have anything to do (in the future) with this PR, but using a tag like v5.4.2-alice1 lead to have in the installation output the following:
is there anything to worry about the future? |
@adriansev My assumption is that the installed from pip._vendor.packaging.version import Version
Version("5.4.2") # <Version('5.4.2')>
Version("5.4.3rc1") # <Version('5.4.3rc1')>
Version("5.4.2.alice1") # pip._vendor.packaging.version.InvalidVersion: Invalid version: '5.4.2.alice1' and my assumption is that this is happening to you on a fork that you have where you've made this tag as the existing xrootd/packaging/wheel/publish.sh Lines 3 to 6 in 62d1170
which uses tags to set version info (I learned how the existing system XRootD uses works only by making PRs like #1585, so I don't think that any of this should be obvious). This PR should be totally unrelated from any of the above though, as none of the files being removed here participate in the build or the install (so you should be able to get the same warning on |
Resolves #1594
bindings/python/setup_pypi.py
as it is Python 2 only and no longer being used in any workflows for installation of the Python bindings.dopy.sh
as well as it only exists as setup_pypi.py does.bindings/python/setup_standalone.py
as it is no longer used as one can effectively replace all of its functionality withpython -m pip install --upgrade xrootd
.