Update git submodules

* Update devstack from branch 'master'
  to 50e3c06ec245e8a5e7ca24015b0c152e3bc40a5c
  - Fix dbcounter installation on Jammy
    
    There are two problems with dbcounter installation on Jammy. The first
    is straightforward. We have to use `py_modules` instead of `modules` to
    specify the source file. I don't know how this works on other distros
    but the docs [0] seem to clearly indicate py_modules does this.
    
    The second issue is quite an issue and requires story time. When
    pip/setuptools insteall editable installs (as is done for many of the
    openstack projects) it creates an easy-install.pth file that tells the
    python interpreter to add the source dirs of those repos to the python
    path. Normally these paths are appended to your sys.path. Pip's isolated
    build env relies on the assumption that these paths are appeneded to the
    path when it santizes sys.path to create the isolated environemnt.
    
    However, when SETUPTOOLS_SYS_PATH_TECHNIQUE is set to rewrite the paths
    are not appended and are inserted in the middle. This breaks pip's
    isolated build env which broke dbcounter installations. We fix this by
    not setting SETUPTOOLS_SYS_PATH_TECHNIQUE to rewrite. Upstream indicates
    the reason we set this half a decade ago has since been fixed properly.
    
    The reason Jammy and nothing else breaks is that python3.10 is the first
    python version to use pip's isolated build envs by default.
    
    I've locally fiddled with a patch to pip [1] to try and fix this
    behavior even when rewrite is set. I don't plan to push this upstream
    but it helps to illustrate where the problem lies. If someone else would
    like to upstream this feel free.
    
    Finally this change makes the jammy platform job voting again and adds
    it to the gate to ensure we don't regress again.
    
    [0] https://docs.python.org/3/distutils/sourcedist.html#specifying-the-files-to-distribute
    [1] https://paste.opendev.org/show/bqVAuhgMtVtfYupZK5J6/
    
    Change-Id: I237f5663b0f8b060f6df130de04e17e2b1695f8a
This commit is contained in:
Clark Boylan 2022-05-21 02:17:33 -07:00 committed by Gerrit Code Review
parent 3d5f7ac44d
commit a7deb78006
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit 34c28426767dea608b1bf54ad2bc7fdc27b49f16
Subproject commit 50e3c06ec245e8a5e7ca24015b0c152e3bc40a5c