Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 31e3d717ad191e966ddbd4802f85982bfb5618bd
      https://github.com/xrootd/xrootd/commit/31e3d717ad191e966ddbd4802f85982bfb5618bd
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M bindings/python/CMakeLists.txt

  Log Message:
  -----------
  [Python] Install Python bindings with pip if available

As directly invoking `python setup.py` is considered deprecated behavior
by the PyPA, use `python -m pip install` to install the Python bindings
if the Python interpreter has a valid version of pip associated with it.

If there is a valid pip, build and install the Python bindings with
`python -m pip install`.

If there is no valid pip, warn the user and give them instructions on how to
get pip on their machine. Attempt to still install the Python bindings by falling
back on the deprecated `python setup.py build` and `python setup.py install` which
will also invoke Easy Install if setuptools v0.60.0+ is used.


  Commit: a6dbe2be2f611ce5ec18776b8a37f8ce3d6b4bb8
      https://github.com/xrootd/xrootd/commit/a6dbe2be2f611ce5ec18776b8a37f8ce3d6b4bb8
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M bindings/python/CMakeLists.txt
    M cmake/XRootDDefaults.cmake

  Log Message:
  -----------
  [CMake] Add PYTHON_VERBOSE flag to enable --verbose pip install


  Commit: c6d031087c905c3488d52a684f9f9c412ca9395c
      https://github.com/xrootd/xrootd/commit/c6d031087c905c3488d52a684f9f9c412ca9395c
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  [CI] Enable PIP_VERBOSE CMake option for builds in CI


  Commit: d004070148aceccc483bcc13937131e417b7965a
      https://github.com/xrootd/xrootd/commit/d004070148aceccc483bcc13937131e417b7965a
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M packaging/rhel/xrootd.spec.in

  Log Message:
  -----------
  [RPM] Add python2-pip to BuildRequires

Ensure pip is available for Python 2 so that it can be attempted to
be used for installation.


  Commit: 4103891a2dbeb308f11f3c8865f549ef50dd5843
      https://github.com/xrootd/xrootd/commit/4103891a2dbeb308f11f3c8865f549ef50dd5843
  Author: simonmichal <[log in to unmask]>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M .github/workflows/build.yml
    M bindings/python/CMakeLists.txt
    M cmake/XRootDDefaults.cmake
    M packaging/rhel/xrootd.spec.in

  Log Message:
  -----------
  Merge pull request #1586 from matthewfeickert/fix/use-pip-for-builds-if-available

fix: Install Python bindings with `pip` if available


Compare: https://github.com/xrootd/xrootd/compare/77c008b554f0...4103891a2dbe

########################################################################
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