Print

Print


  Branch: refs/heads/stable-5.4.x
  Home:   https://github.com/xrootd/xrootd
  Commit: 635c2bcfdc61407e2ffaa8db559c5baadd64cefd
      https://github.com/xrootd/xrootd/commit/635c2bcfdc61407e2ffaa8db559c5baadd64cefd
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

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

  Log Message:
  -----------
  [RPM] Add python3-setuptools to BuildRequires

For setuptools to be picked up during the RPM build BuildRequires needs
to specify either python2-setuptools (for Python 2) or python3-setuptools
(for Python 3).


  Commit: 2a11053aece49233156f29e45083c08fbaba138e
      https://github.com/xrootd/xrootd/commit/2a11053aece49233156f29e45083c08fbaba138e
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M packaging/wheel/setup.py

  Log Message:
  -----------
  [Python] Use CPython libraries over distuils

As distutils and Easy Install are deprecated

c.f.:
* https://setuptools.pypa.io/en/stable/deprecated/distutils-legacy.html
* https://setuptools.pypa.io/en/stable/deprecated/easy_install.html

it is preferable to convert use of distutils to either use existing CPython
libraries or use setuptool's versions of them. This patch applies

* distutils.spawn.find_executable -> shutil.which

Henry Schreiner pointed out that shutil.which (added in Python 3.3) is preferable
to setuptools._distutils.spawn.find_executable.

This patch was meant to also change:

* distutils.setup -> setuptools.setup
* distutils.sysconfig -> CPython's sysconfig

but it seems that these are still required given the current state of the build
and will need to be revised in a later PR.

The change

distutils.core.Extension -> setuptools.Extension

could be applied in:

* bindings/python/setup_pypi.py
* bindings/python/setup_standalone.py

but isn't as these files are obsolete and should be removed.

Co-authored-by: Henry Schreiner <[log in to unmask]>


  Commit: d9703f68e491fec88e587b5540cc88050b544753
      https://github.com/xrootd/xrootd/commit/d9703f68e491fec88e587b5540cc88050b544753
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

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

  Log Message:
  -----------
  [Python] Remove unused Python imports


  Commit: ef56fdc29472da020af0bcfe7fdf87ed1197dbc9
      https://github.com/xrootd/xrootd/commit/ef56fdc29472da020af0bcfe7fdf87ed1197dbc9
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M packaging/wheel/install.sh

  Log Message:
  -----------
  [Python] Try to install sdist with pip during packaging, fall back to setup.py


  Commit: fd609b4f0faec471d9e6f4aaf54b1dc52b3d5104
      https://github.com/xrootd/xrootd/commit/fd609b4f0faec471d9e6f4aaf54b1dc52b3d5104
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M packaging/wheel/install.sh
    M packaging/wheel/publish.sh

  Log Message:
  -----------
  [PyPI] Try to use build to make sdist, else fall back to setup.py sdist

Also add check for wheel to avoid error during publish.sh


  Commit: 679c5716a03f5a96903c342516902584da76afb0
      https://github.com/xrootd/xrootd/commit/679c5716a03f5a96903c342516902584da76afb0
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

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

  Log Message:
  -----------
  [CI] Add sdist building with publishing to CentOS 7 RPM stage


  Commit: b339451c09f98c3ab7531c7c1510c924367db5d1
      https://github.com/xrootd/xrootd/commit/b339451c09f98c3ab7531c7c1510c924367db5d1
  Author: Matthew Feickert <[log in to unmask]>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

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

  Log Message:
  -----------
  [CI] Add Python 2 bindings test job to GHA wokrflow

As long as Python 2 is still supported by XRootD it should be explicitly
tested in the CI. This GitHub Actions workflow job adds testing of the
built CPython 2 bindings.


Compare: https://github.com/xrootd/xrootd/compare/8efb408b0ead...b339451c09f9

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