Print

Print


  Branch: refs/heads/stable-5.4.x
  Home:   https://github.com/xrootd/xrootd
  Commit: 8db4e8e8b735f67887ee0878393ff28631f32491
      https://github.com/xrootd/xrootd/commit/8db4e8e8b735f67887ee0878393ff28631f32491
  Author: Michal Simon <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M src/XrdCl/XrdClFS.cc

  Log Message:
  -----------
  [XrdCl] xrdfs: support rm of multiple files.


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

  Changed paths:
    M bindings/python/setup.py.in
    M packaging/wheel/setup.py

  Log Message:
  -----------
  [pip] Sanitize version to be PEP 440 compliant

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.:
* https://www.python.org/dev/peps/pep-0440/
* pip GitHub Issue #8368

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')>
```


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

  Changed paths:
    M bindings/python/setup.py.in
    M packaging/wheel/setup.py

  Log Message:
  -----------
  [Python] Use context manager for opening files


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

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

  Log Message:
  -----------
  [CI] Move xrootd.egg-info off PYTHONPATH

As discovered in XRootD Issue #1604 there are instances where if a Git tag
is created, then the current xrootd.egg-info that is generated in the top
level of the repository by the current packaging/wheel/publish.sh workflow
will pollute the PYTHONPATH (which includes the current working directory by
default --- this is one of the reasons src directory structures are currently
recommended by the PyPA) causing problems with trying to install the built sdist
from the top level of the repo with `python3 -m pip install dist/xrootd*.tar.gz`.

Ideally the publish.sh workflow should be refactored to make this not a problem,
but for the time being just use the easy workaround of changing paths so that the
xrootd.egg-info directory is not on PYTHONPATH and install the sdist normally.


  Commit: 94ac98387cf793b9117cd2a103d362071b9c9c3d
      https://github.com/xrootd/xrootd/commit/94ac98387cf793b9117cd2a103d362071b9c9c3d
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 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: bb97768302a963bbc396026170a7587e9a93f7fe
      https://github.com/xrootd/xrootd/commit/bb97768302a963bbc396026170a7587e9a93f7fe
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 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: d8e27af92cd69ffa2538f6f1296da885fd080fdd
      https://github.com/xrootd/xrootd/commit/d8e27af92cd69ffa2538f6f1296da885fd080fdd
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

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

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


  Commit: 91cc2e23494f0ed60ca8861a00eea3b5ed372960
      https://github.com/xrootd/xrootd/commit/91cc2e23494f0ed60ca8861a00eea3b5ed372960
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 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: a5ec511ab4bb1de3d067f102150fb84f82c483e0
      https://github.com/xrootd/xrootd/commit/a5ec511ab4bb1de3d067f102150fb84f82c483e0
  Author: Michal Simon <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

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

  Log Message:
  -----------
  [RPM] Fix python packaging.


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

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

  Log Message:
  -----------
  [CI] Add Fedora 35 rpm build to GitHub Actions CI workflow


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

  Changed paths:
    M bindings/python/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Remove use of --record in Python installs

PYTHON_INSTALLED is no longer used anywhere in the codebase, so there is no need to use the
--record option for deprecated `python setup.py install` installs.


  Commit: 6b5910de6bf0fa52a2ce05f299237a16970a73a9
      https://github.com/xrootd/xrootd/commit/6b5910de6bf0fa52a2ce05f299237a16970a73a9
  Author: Andrew Hanushevsky <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M src/XrdPosix/XrdPosixFileRH.cc

  Log Message:
  -----------
  [Posix] Make sure pointer is set to 0 to avoid memory corruption.


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

  Changed paths:
    M packaging/debian/control
    M packaging/debian/python3-xrootd.install

  Log Message:
  -----------
  [Debian] Add python3-pip, python3-setuptools as required packages

Also use site-packages over dist-pacakges


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

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

  Log Message:
  -----------
  [CI] Add CI for ubuntu-latest virtual environment

Add cmake build and .deb build jobs.

Use of sudo is needed as https://github.com/actions/virtual-environments
requires it as runner is non-root by default (though has sudo powers).


  Commit: 429a09ac6130df08f72b089f5c8383327472fd81
      https://github.com/xrootd/xrootd/commit/429a09ac6130df08f72b089f5c8383327472fd81
  Author: Michal Simon <[log in to unmask]>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M src/XrdFfs/XrdFfsWcache.cc

  Log Message:
  -----------
  Fix OSX build.


Compare: https://github.com/xrootd/xrootd/compare/990fe1916a8b...429a09ac6130

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