LISTSERV mailing list manager LISTSERV 16.5

Help for XROOTD-DEV Archives


XROOTD-DEV Archives

XROOTD-DEV Archives


XROOTD-DEV@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

XROOTD-DEV Home

XROOTD-DEV Home

XROOTD-DEV  February 2022

XROOTD-DEV February 2022

Subject:

[xrootd/xrootd] 8db4e8: [XrdCl] xrdfs: support rm of multiple files.

From:

simonmichal <[log in to unmask]>

Reply-To:

xrootd developers' list for Scalla/xrootd repository and related issues <[log in to unmask]>

Date:

Mon, 14 Feb 2022 08:02:43 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (266 lines)

  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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use