Can't install: Building wheel for systemd-python (pyproject.toml) did not run successfully.

Describe the bug
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Affected versions

Question
Information

Yin-Yang version
https://github.com/oskarsh/Yin-Yang/commit/dfc7e850f6f05658bda10c33d9a7d77264a26557 and https://github.com/oskarsh/Yin-Yang/pull/206/commits/eddc3dcd40bea1bd38f0383d310f0391463f87c6

Relevant application version
How is this different to the previous question?

Python version
3.11.3

Qt version
5.15.9

Additional notes
Tried https://github.com/oskarsh/Yin-Yang/issues/203#issuecomment-1565329482 to no avail:
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> python3
Python 3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.executable)
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/.venv/bin/python3
>>> print(sys.version)
3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ]
>>> exit()
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> sudo zypper install python311-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  python311-devel

1 new package to install.
Overall download size: 362.6 KiB. Already cached: 0 B. After the operation, additional 1.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python311-devel-3.11.3-1.2.x86_64 (Main Repository (OSS))                                   (1/1), 362.6 KiB
Retrieving: python311-devel-3.11.3-1.2.x86_64.rpm ........................................................[done (1.6 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: python311-devel-3.11.3-1.2.x86_64 ..................................................................[done]
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> bash
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
g"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shremote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 5.89 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ./scripts/install.shexit^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> sudo zypper install gcc
[sudo] password for root:
Loading repository data...
Reading installed packages...
'gcc' is already installed.
No update candidate for 'gcc-13-1.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang>

PS /home/rokejulianlockhart> sudo zypper install systemd-devel
[sudo] password for root:
Retrieving repository 'KDE:Unstable:Qt' metadata .....................................................................[done]
Building repository 'KDE:Unstable:Qt' cache ..........................................................................[done]
Retrieving repository 'Main Repository (DEBUG)' metadata .............................................................[done]
Building repository 'Main Repository (DEBUG)' cache ..................................................................[done]
Retrieving repository 'Main Repository (Sources)' metadata ...........................................................[done]
Building repository 'Main Repository (Sources)' cache ................................................................[done]
Retrieving repository 'home:ecsos' metadata ..........................................................................[done]
Building repository 'home:ecsos' cache ...............................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  systemd-devel

1 new package to install.
Overall download size: 530.3 KiB. Already cached: 0 B. After the operation, additional 500.7 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: systemd-devel-253.4-2.1.x86_64 (Main Repository (OSS))                                      (1/1), 530.3 KiB
Retrieving: systemd-devel-253.4-2.1.x86_64.rpm ...........................................................[done (2.1 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: systemd-devel-253.4-2.1.x86_64 .....................................................................[done]
PS /home/rokejulianlockhart> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 7.09 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
PS /home/rokejulianlockhart/Yin-Yang> ## Create virtual environment for pypi packages
PS /home/rokejulianlockhart/Yin-Yang> python3 -m venv .venv
PS /home/rokejulianlockhart/Yin-Yang> source .venv/bin/activate
source: The term 'source' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS /home/rokejulianlockhart/Yin-Yang> # Install pip requirements
PS /home/rokejulianlockhart/Yin-Yang> pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.23.5 (from -r requirements.txt (line 1))
  Downloading numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 7.3 MB/s eta 0:00:00
Collecting psutil==5.9.4 (from -r requirements.txt (line 2))
  Downloading psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.2/280.2 kB 6.3 MB/s eta 0:00:00
Collecting PySide6==6.4.1 (from -r requirements.txt (line 3))
  Downloading PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1 (from -r requirements.txt (line 4))
  Downloading PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.6/114.6 MB 5.2 MB/s eta 0:00:00
Collecting PySide6-Essentials==6.4.1 (from -r requirements.txt (line 5))
  Downloading PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.7/81.7 MB 6.9 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil==2.8.2 in /home/rokejulianlockhart/.local/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (2.8.2)
Collecting shiboken6==6.4.1 (from -r requirements.txt (line 7))
  Downloading shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.6/168.6 kB 6.1 MB/s eta 0:00:00
Requirement already satisfied: six==1.16.0 in /usr/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (1.16.0)
Collecting suntime==1.2.5 (from -r requirements.txt (line 9))
  Downloading suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234 (from -r requirements.txt (line 10))
  Downloading systemd-python-234.tar.gz (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.6/53.6 kB 3.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: systemd-python
  Building wheel for systemd-python (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for systemd-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      systemd/_journal.c:21:10: fatal error: Python.h: No such file or directory
         21 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for systemd-python
Failed to build systemd-python
ERROR: Could not build wheels for systemd-python, which is required to install pyproject.toml-based projects
PS /home/rokejulianlockhart/Yin-Yang> # Install Yin-Yang
PS /home/rokejulianlockhart/Yin-Yang> ./scripts/install.sh^C
PS /home/rokejulianlockhart/Yin-Yang> deactivate
deactivate: The term 'deactivate' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS /home/rokejulianlockhart/Yin-Yang> cd ..
PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
fatal: destination path 'Yin-Yang' already exists and is not an empty directory.
rokejulianlockhart@RQN6C6:~> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~> python3 -m venv .venv
tivate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shrokejulianlockhart@RQN6C6:~> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~> pip3 install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

[notice] A new release of pip is available: 23.0.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~> ./scripts/install.sh^C
(.venv) rokejulianlockhart@RQN6C6:~> deactivate
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
fatal: destination path 'Yin-Yang' already exists and is not an empty directory.
rokejulianlockhart@RQN6C6:~> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 6.94 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang> cd Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang> pwd
/home/rokejulianlockhart/Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang> if pwd != "Yin-Yang"; then
> cd Yin-Yang
> fi
/home/rokejulianlockhart/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang> cd ..
rokejulianlockhart@RQN6C6:~> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart
rokejulianlockhart@RQN6C6:~/Yin-Yang> cd ..
rokejulianlockhart@RQN6C6:~> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~> deactivate
tea: command not found: deactivate
rokejulianlockhart@RQN6C6:~> exit
exit
PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> bash
oskarsh/Yin-Yang && cd Yin-Yang
if pwd != "Yin-Yang"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shrokejulianlockhart@RQN6C6:~> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (759/759), done.
remote: Total 3259 (delta 1587), reused 1933 (delta 1451), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 7.05 MiB/s, done.
Resolving deltas: 100% (2087/2087), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Downloading numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 7.3 MB/s eta 0:00:00
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> ./scripts/install.sh^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> pip install --upgrade pip^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang> pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (23.1.2)
rokejulianlockhart@RQN6C6:~/Yin-Yang> sudo zypper install python3-devel
[sudo] password for root:
Retrieving repository 'KDE:Unstable:Applications' metadata ...........................................................[done]
Building repository 'KDE:Unstable:Applications' cache ................................................................[done]
Loading repository data...
Reading installed packages...
'python3-devel' not found in package names. Trying capabilities.
Resolving package dependencies...

The following NEW package is going to be installed:
  python310-devel

1 new package to install.
Overall download size: 331.8 KiB. Already cached: 0 B. After the operation, additional 937.8 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python310-devel-3.10.11-1.2.x86_64 (Main Repository (OSS))                                  (1/1), 331.8 KiB
Retrieving: python310-devel-3.10.11-1.2.x86_64.rpm .......................................................[done (3.9 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: python310-devel-3.10.11-1.2.x86_64 .................................................................[done]
rokejulianlockhart@RQN6C6:~/Yin-Yang> sudo zypper install python311-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  python311-devel

1 new package to install.
Overall download size: 362.6 KiB. Already cached: 0 B. After the operation, additional 1.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): n
rokejulianlockhart@RQN6C6:~/Yin-Yang> bash
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
rokejulianlockhart@RQN6C6:~/Yin-Yang> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
g"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shremote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (760/760), done.
Receiving objects:  10% (326/3259)
remote: Total 3259 (delta 1587), reused 1933 (delta 1450), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 5.52 MiB/s, done.
Resolving deltas: 100% (2087/2087), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> ./scripts/install.sh
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> python3
Python 3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.executable)
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/.venv/bin/python3
>>> print(sys.version)
3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ]
>>> exit()
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> sudo zypper install python311-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  python311-devel

1 new package to install.
Overall download size: 362.6 KiB. Already cached: 0 B. After the operation, additional 1.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python311-devel-3.11.3-1.2.x86_64 (Main Repository (OSS))                                   (1/1), 362.6 KiB
Retrieving: python311-devel-3.11.3-1.2.x86_64.rpm ........................................................[done (1.6 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: python311-devel-3.11.3-1.2.x86_64 ..................................................................[done]
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> bash
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
g"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shremote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 5.89 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ./scripts/install.shexit^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> sudo zypper install gcc
[sudo] password for root:
Loading repository data...
Reading installed packages...
'gcc' is already installed.
No update candidate for 'gcc-13-1.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang>

You need to install developer dependencies for systemd for the python package to find the lib. Should be systemd-dev or something similar, depending on your distro.

@l0drex
PS /home/rokejulianlockhart> zypper search systemd-dev
Loading repository data...
Reading installed packages...

S  | Name          | Summary                                      | Type
---+---------------+----------------------------------------------+--------
i+ | systemd-devel | Development files for libsystemd and libudev | package
PS /home/rokejulianlockhart>

Is there a specific file that the package you refer to contains, so that I can probe (zypper se --provides) https://build.opensuse.org/project/show/openSUSE:Factory for it?

The dependency that requires this is systemd-python, maybe this helps you: https://pypi.org/project/systemd/

@l0drex, does that answer

Is there a specific file that the package you refer to contains, so that I can probe (zypper se --provides)?

?

I don't know any specific file, but there might be more details on the linked page that can help you to find the correct  package

Are there any updates on this? I've got the same issue, also on openSUSE with systemd-devel intstalled.

I have a similar build failure, but it's apparently for a missing Python.h.
Happens at Building wheel for systemd-python (setup.py) ... error.
What is this (setup.py)?
 systemd-devel is installed.
A package systemd-python can't be found in the repos.
Observed on SUSE Tumbleweed.
# ......./Yin-Yang/scripts/install.sh
Uninstalling old version, if it exists
Removing config and .desktop file
Removing program and terminal execution
Removing manifest
Removing systemd units
Yin-Yang uninstalled succesfully
have a nice day ...
Installing dependencies …
Requirement already satisfied: setuptools in /opt/yin-yang/.venv/lib64/python3.11/site-packages (65.5.0)
Collecting setuptools
  Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
  Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: pip in /opt/yin-yang/.venv/lib64/python3.11/site-packages (23.2.1)
Collecting pip
  Obtaining dependency information for pip from https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl.metadata
  Using cached pip-23.3.1-py3-none-any.whl.metadata (3.5 kB)
Collecting wheel
  Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/fa/7f/4c07234086edbce4a0a446209dc0cb08a19bb206a3ea53b2f56a403f983b/wheel-0.41.3-py3-none-any.whl.metadata
  Using cached wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
Using cached pip-23.3.1-py3-none-any.whl (2.1 MB)
Using cached wheel-0.41.3-py3-none-any.whl (65 kB)
Installing collected packages: wheel, setuptools, pip
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
  Attempting uninstall: pip
    Found existing installation: pip 23.2.1
    Uninstalling pip-23.2.1:
      Successfully uninstalled pip-23.2.1
Successfully installed pip-23.3.1 setuptools-68.2.2 wheel-0.41.3
Collecting psutil==5.9.6 (from -r requirements.txt (line 1))
  Using cached psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting PySide6==6.6.0 (from -r requirements.txt (line 2))
  Using cached PySide6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (5.1 kB)
Collecting PySide6-Addons==6.6.0 (from -r requirements.txt (line 3))
  Using cached PySide6_Addons-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (3.7 kB)
Collecting suntime==1.2.5 (from -r requirements.txt (line 4))
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==235 (from -r requirements.txt (line 5))
  Using cached systemd-python-235.tar.gz (61 kB)
  Preparing metadata (setup.py) ... done
Collecting requests~=2.31.0 (from -r requirements.txt (line 6))
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting shiboken6==6.6.0 (from PySide6==6.6.0->-r requirements.txt (line 2))
  Using cached shiboken6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (2.3 kB)
Collecting PySide6-Essentials==6.6.0 (from PySide6==6.6.0->-r requirements.txt (line 2))
  Using cached PySide6_Essentials-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (3.5 kB)
Collecting python-dateutil (from suntime==1.2.5->-r requirements.txt (line 4))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting charset-normalizer<4,>=2 (from requests~=2.31.0->-r requirements.txt (line 6))
  Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests~=2.31.0->-r requirements.txt (line 6))
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests~=2.31.0->-r requirements.txt (line 6))
  Using cached urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests~=2.31.0->-r requirements.txt (line 6))
  Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting six>=1.5 (from python-dateutil->suntime==1.2.5->-r requirements.txt (line 4))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (283 kB)
Using cached PySide6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (6.7 kB)
Using cached PySide6_Addons-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (125.2 MB)
Using cached PySide6_Essentials-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (82.1 MB)
Using cached shiboken6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (169 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
Building wheels for collected packages: systemd-python
  Building wheel for systemd-python (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/systemd
      copying systemd/__init__.py -> build/lib.linux-x86_64-cpython-311/systemd
      copying systemd/journal.py -> build/lib.linux-x86_64-cpython-311/systemd
      copying systemd/daemon.py -> build/lib.linux-x86_64-cpython-311/systemd
      creating build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_daemon.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_journal.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_login.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_id128.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      running build_ext
      building 'systemd/_journal' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/systemd
      gcc -Wsign-compare -DNDEBUG -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -fPIC -DPACKAGE_VERSION=\"235\" -DLIBSYSTEMD_VERSION=254 -I/opt/yin-yang/.venv/include -I/usr/include/python3.11 -c systemd/_journal.c -o build/temp.linux-x86_64-cpython-311/systemd/_journal.o -std=c99 -Werror=implicit-function-declaration
      systemd/_journal.c:21:10: fatal error: Python.h: No such file or directory
         21 | #include <Python.h>
            |          ^~~~~~~~~~

Looks like you are missing python-dev

I'm lost. All python versions have their -devel here (i = installed). Does Y&Y require a specific python version maybe?
localhost% zypper search '/^python[0-9_-]*(-dev(el.*)?*)?$/'
Loading repository data...
Reading installed packages...

S  | Name            | Summary                                                           | Type
---+-----------------+-------------------------------------------------------------------+--------
i  | python          | Python Interpreter                                                | package
i+ | python-devel    | Include Files and Libraries Mandatory for Building Python Modules | package
   | python38        | Python 3 Interpreter                                              | package
   | python38-devel  | Include Files and Libraries Mandatory for Building Python Modules | package
   | python39        | Python 3 Interpreter                                              | package
   | python39-devel  | Include Files and Libraries Mandatory for Building Python Modules | package
i  | python310       | Python 3 Interpreter                                              | package
i+ | python310-devel | Include Files and Libraries Mandatory for Building Python Modules | package
i  | python311       | Python 3 Interpreter                                              | package
i  | python311-devel | Include Files and Libraries Mandatory for Building Python Modules | package
   | python312       | Python 3 Interpreter                                              | package
   | python312-devel | Include Files and Libraries Mandatory for Building Python Modules | package

From duckduckgo I can find this package: https://opensuse.pkgs.org/tumbleweed/opensuse-oss-x86_64/python39-systemd-235-3.3.x86_64.rpm.html
Can you install that and try again?

Installed python310-systemd and pyton311-systemd instead (didn't want to install yet another python version) -- installation completed. Thank you.
Maybe add the python-systemd to the required dependencies?


turns out starlette 0.13 requires requests

This only became apparent when running the full matrix tests

:broken_heart: Tests Failed

Expand to view the summary

Build stats

Build Cause: [Pull request #848 opened]

Start Time: 2020-06-03T08:43:39.888+0000

Duration: 21 min 55 sec

Test stats :test_tube:

Test
Results

Failed
17

Passed
8869

Skipped
5964

Total
14850

Test errors
Expand to view the tests failures

Name: Test / Python-python-3.6-3 / test_failing_celery_task – tests.contrib.celery.django_tests

Age: 1
Duration: 0.207
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-python-3.6-3 / test_successful_celery_task_instrumentation – tests.contrib.celery.django_tests

Age: 1
Duration: 0.049
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-python-3.5-2 / test_failing_celery_task – tests.contrib.celery.django_tests

Age: 1
Duration: 0.2
Error Details: ImportError: No module named 'future'

Name: Test / Python-python-3.5-2 / test_successful_celery_task_instrumentation – tests.contrib.celery.django_tests

Age: 1
Duration: 0.051
Error Details: ImportError: No module named 'future'

Name: Test / Python-pypy-3-3 / test_failing_celery_task – tests.contrib.celery.django_tests

Age: 1
Duration: 2.566
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-pypy-3-3 / test_successful_celery_task_instrumentation – tests.contrib.celery.django_tests

Age: 1
Duration: 0.61
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-python-2.7-3 / test_task_failure – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.289
Error Details: ImportError: No module named future.utils

Name: Test / Python-python-2.7-3 / test_task_instrumentation – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.061
Error Details: ImportError: No module named future.utils

Name: Test / Python-python-3.6-2 / test_task_failure – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.307
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-python-3.6-2 / test_task_instrumentation – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.056
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-python-3.5-1 / test_task_failure – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.35
Error Details: ImportError: No module named 'future'

Name: Test / Python-python-3.5-1 / test_task_instrumentation – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.055
Error Details: ImportError: No module named 'future'

Name: Test / Python-pypy-2-3 / test_task_failure – tests.contrib.celery.flask_tests

Age: 1
Duration: 2.204
Error Details: ImportError: No module named future

Name: Test / Python-pypy-2-3 / test_task_instrumentation – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.466
Error Details: ImportError: No module named future

Name: Test / Python-pypy-3-2 / test_task_failure – tests.contrib.celery.flask_tests

Age: 1
Duration: 2.624
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / Python-pypy-3-2 / test_task_instrumentation – tests.contrib.celery.flask_tests

Age: 1
Duration: 0.462
Error Details: ModuleNotFoundError: No module named 'future'

Name: Test / windows-3.5-none / test_get_config – tests.transports.test_urllib3

Age: 1
Duration: 0.48
Error Details: AssertionError: assert '1' == '2'   - 1   + 2

Steps errors
Expand to view the steps failures

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-2.7 celery-4-flask-1.0

Duration: 0 min 23 sec

Start Time: 2020-06-03T08:51:55.259+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-2.7 celery-4-flask-1.0

Duration: 0 min 19 sec

Start Time: 2020-06-03T08:52:57.429+0000

log

Name: Error signal

Description: Python-python-2.7-celery-4-flask-1.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:53:17.116+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.5 celery-4-flask-1.0

Duration: 0 min 21 sec

Start Time: 2020-06-03T08:53:03.097+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.5 celery-4-flask-1.0

Duration: 0 min 19 sec

Start Time: 2020-06-03T08:53:52.054+0000

log

Name: Error signal

Description: Python-python-3.5-celery-4-flask-1.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:54:11.733+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.5 celery-4-django-2.0

Duration: 0 min 27 sec

Start Time: 2020-06-03T08:52:43.057+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.5 celery-4-django-2.0

Duration: 0 min 26 sec

Start Time: 2020-06-03T08:53:48.820+0000

log

Name: Error signal

Description: Python-python-3.5-celery-4-django-2.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:54:14.604+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.6 celery-4-flask-1.0

Duration: 0 min 21 sec

Start Time: 2020-06-03T08:52:41.532+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.6 celery-4-flask-1.0

Duration: 0 min 21 sec

Start Time: 2020-06-03T08:53:22.082+0000

log

Name: Error signal

Description: Python-python-3.6-celery-4-flask-1.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:53:43.175+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.6 celery-4-django-2.0

Duration: 0 min 29 sec

Start Time: 2020-06-03T08:52:47.826+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh python-3.6 celery-4-django-2.0

Duration: 0 min 28 sec

Start Time: 2020-06-03T08:53:30.475+0000

log

Name: Error signal

Description: Python-python-3.6-celery-4-django-2.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:53:58.691+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh pypy-2 celery-4-flask-1.0

Duration: 1 min 4 sec

Start Time: 2020-06-03T08:52:59.448+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh pypy-2 celery-4-flask-1.0

Duration: 1 min 59 sec

Start Time: 2020-06-03T08:54:27.962+0000

log

Name: Error signal

Description: Python-pypy-2-celery-4-flask-1.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:55:26.753+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh pypy-3 celery-4-flask-1.0

Duration: 1 min 11 sec

Start Time: 2020-06-03T08:55:22.949+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh pypy-3 celery-4-flask-1.0

Duration: 1 min 1 sec

Start Time: 2020-06-03T08:56:46.202+0000

log

Name: Error signal

Description: Python-pypy-3-celery-4-flask-1.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T08:57:47.494+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh pypy-3 celery-4-django-2.0

Duration: 2 min 44 sec

Start Time: 2020-06-03T08:56:11.020+0000

log

Name: Shell Script

Description: ./tests/scripts/docker/run_tests.sh pypy-3 celery-4-django-2.0

Duration: 2 min 41 sec

Start Time: 2020-06-03T08:58:34.032+0000

log

Name: Error signal

Description: Python-pypy-3-celery-4-django-2.0 tests failed : hudson.AbortException: script returned exit code 2

Duration: 0 min 0 sec

Start Time: 2020-06-03T09:00:14.844+0000

log

Name: Restore files previously stashed

Description: coverage-python-2.7-psycopg2-newest

Duration: 0 min 0 sec

Start Time: 2020-06-03T09:04:32.902+0000

log

Log output
Expand to view the last 100 lines of log output

[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.319059Z 1 [Note] [MY-012356] [InnoDB] Validated 6/6  tablespaces
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.338279Z 1 [Note] [MY-010006] [Server] Using data dictionary with version '80017'.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.342204Z 0 [Note] [MY-011332] [Server] Plugin mysqlx reported: 'IPv6 is available'
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.347593Z 0 [Note] [MY-011323] [Server] Plugin mysqlx reported: 'X Plugin ready for connections. bind-address: '::' port: 33060'
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.348023Z 0 [Note] [MY-011323] [Server] Plugin mysqlx reported: 'X Plugin ready for connections. socket: '/var/run/mysqld/mysqlx.sock''
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.348496Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.368090Z 0 [Note] [MY-010902] [Server] Thread priority attribute setting in Resource Group SQL shall be ignored due to unsupported platform or insufficient privilege.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.392714Z 0 [Note] [MY-012487] [InnoDB] DDL log recovery : begin
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.393065Z 0 [Note] [MY-012488] [InnoDB] DDL log recovery : end
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.393542Z 0 [Note] [MY-011946] [InnoDB] Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.397205Z 0 [Note] [MY-011946] [InnoDB] Buffer pool(s) load completed at 200603  9:03:19
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.412464Z 0 [Note] [MY-010913] [Server] You have not provided a mandatory server-id. Servers in a replication topology must have unique server-ids. Please refer to the proper server start-up parameters documentation.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.439598Z 0 [Note] [MY-010182] [Server] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.440010Z 0 [Note] [MY-010304] [Server] Skipping generation of SSL certificates as certificate files are present in data directory.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.441318Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.441596Z 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --sha256_password_auto_generate_rsa_keys as key files are present in data directory.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.441918Z 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --caching_sha2_password_auto_generate_rsa_keys as key files are present in data directory.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.442567Z 0 [Note] [MY-010252] [Server] Server hostname (bind-address): '*'; port: 3306
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.442900Z 0 [Note] [MY-010253] [Server] IPv6 is available.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.443198Z 0 [Note] [MY-010264] [Server]   - '::' resolves to '::';
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.443540Z 0 [Note] [MY-010251] [Server] Server socket created on IP: '::'.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.447283Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.467842Z 0 [Note] [MY-011025] [Repl] Failed to start slave threads for channel ''.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.469991Z 5 [Note] [MY-010051] [Server] Event Scheduler: scheduler thread started with id 5
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.470979Z 0 [Note] [MY-011240] [Server] Plugin mysqlx reported: 'Using SSL configuration from MySQL Server'
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.472200Z 0 [Note] [MY-011243] [Server] Plugin mysqlx reported: 'Using OpenSSL for TLS connections'
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:19.472770Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.20'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
[2020-06-03T09:04:23.478Z] 2020-06-03T09:03:20.436326Z 8 [Note] [MY-010914] [Server] Got an error reading communication packets
[2020-06-03T09:04:23.478Z] 2020-06-03 09:03:15+00:00 [Note] [Entrypoint]: GENERATED ROOT PASSWORD: ii0feiChohph5teeh7cum3muiR3ohLee
[2020-06-03T09:04:23.478Z] 2020-06-03 09:03:15+00:00 [Note] [Entrypoint]: Creating database eapm_tests
[2020-06-03T09:04:23.478Z] 2020-06-03 09:03:15+00:00 [Note] [Entrypoint]: Creating user eapm
[2020-06-03T09:04:23.478Z] 2020-06-03 09:03:15+00:00 [Note] [Entrypoint]: Giving user eapm access to schema eapm_tests
[2020-06-03T09:04:23.478Z]
[2020-06-03T09:04:23.478Z] 2020-06-03 09:03:15+00:00 [Note] [Entrypoint]: Stopping temporary server
[2020-06-03T09:04:23.479Z] 2020-06-03 09:03:18+00:00 [Note] [Entrypoint]: Temporary server stopped
[2020-06-03T09:04:23.479Z]
[2020-06-03T09:04:23.479Z] 2020-06-03 09:03:18+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
[2020-06-03T09:04:23.479Z]
[2020-06-03T09:04:23.479Z] *******************************************************
[2020-06-03T09:04:23.479Z] ***************Docker Containers Summary***************
[2020-06-03T09:04:23.479Z] *******************************************************
[2020-06-03T09:04:23.479Z] CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS              PORTS                 NAMES
[2020-06-03T09:04:23.479Z] c59f65948bae        mysql               "docker-entrypoint.s…"   About a minute ago   Up About a minute   3306/tcp, 33060/tcp   tests_mysql_1
[2020-06-03T09:04:23.479Z] + ./scripts/docker/docker-get-logs.sh pypy-3/mysqlclient-newest
[2020-06-03T09:04:23.742Z] + PYTHON_VERSION=
[2020-06-03T09:04:23.742Z] + docker-compose down -v
[2020-06-03T09:04:24.315Z] Stopping tests_mysql_1 ...
[2020-06-03T09:04:26.234Z]
Stopping tests_mysql_1 ... done
Removing tests_mysql_1 ...
[2020-06-03T09:04:26.234Z]
Removing tests_mysql_1 ... done
Removing network tests_default
[2020-06-03T09:04:26.234Z] Removing volume tests_pypgdata
[2020-06-03T09:04:26.234Z] Removing volume tests_pymongodata30
[2020-06-03T09:04:26.234Z] Removing volume tests_pymongodata32
[2020-06-03T09:04:26.234Z] Removing volume tests_pymongodata34
[2020-06-03T09:04:26.234Z] Removing volume tests_pymongodata36
[2020-06-03T09:04:26.234Z] Removing volume tests_pyesdata7
[2020-06-03T09:04:26.234Z] Removing volume tests_pyesdata6
[2020-06-03T09:04:26.234Z] Removing volume tests_pyesdata5
[2020-06-03T09:04:26.234Z] Removing volume tests_pyesdata2
[2020-06-03T09:04:26.235Z] Removing volume tests_pycassandradata3
[2020-06-03T09:04:26.235Z] Removing volume tests_pymssqldata
[2020-06-03T09:04:26.235Z] Removing volume tests_mysqldata
[2020-06-03T09:04:26.235Z] + [[ -n '' ]]
[2020-06-03T09:04:26.366Z] Running in /var/lib/jenkins/workspace/thon_apm-agent-python-mbp_PR-848/src/github.com/elastic/apm-agent-python/tests
[2020-06-03T09:04:26.412Z] Archiving artifacts
[2020-06-03T09:04:26.506Z] Running in /var/lib/jenkins/workspace/thon_apm-agent-python-mbp_PR-848/src/github.com/elastic/apm-agent-python
[2020-06-03T09:04:26.549Z] Recording test results
[2020-06-03T09:04:26.973Z] Stashed 1 file(s)
[2020-06-03T09:04:29.382Z] Post stage
[2020-06-03T09:04:29.692Z] + pip3 install --user coverage
[2020-06-03T09:04:31.082Z] Collecting coverage
[2020-06-03T09:04:31.656Z]   Downloading https://files.pythonhosted.org/packages/2a/3e/fc18ecef69f174c13493576f46966053c1da07fd8721962530dc1a10b1ca/coverage-5.1-cp36-cp36m-manylinux1_x86_64.whl (227kB)
[2020-06-03T09:04:31.656Z] Installing collected packages: coverage
[2020-06-03T09:04:31.656Z] Successfully installed coverage-5.1
[2020-06-03T09:04:31.946Z] Running in /var/lib/jenkins/workspace/thon_apm-agent-python-mbp_PR-848/src/github.com/elastic/apm-agent-python
[2020-06-03T09:04:32.986Z] Error when executing always post condition:
[2020-06-03T09:04:32.986Z] hudson.AbortException: No such saved stash ‘coverage-python-2.7-psycopg2-newest’
[2020-06-03T09:04:32.986Z] 	at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:159)
[2020-06-03T09:04:32.986Z] 	at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
[2020-06-03T09:04:32.986Z] 	at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
[2020-06-03T09:04:32.986Z] 	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
[2020-06-03T09:04:32.986Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2020-06-03T09:04:32.986Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2020-06-03T09:04:32.986Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2020-06-03T09:04:32.986Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2020-06-03T09:04:32.986Z] 	at java.lang.Thread.run(Thread.java:748)
[2020-06-03T09:04:32.986Z]
[2020-06-03T09:04:33.135Z] Stage "Building packages" skipped due to earlier failure(s)
[2020-06-03T09:04:33.244Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-06-03T09:04:33.346Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2020-06-03T09:04:33.448Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2020-06-03T09:04:33.489Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2020-06-03T09:04:33.592Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2020-06-03T09:04:33.696Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2020-06-03T09:04:34.343Z] Running on Jenkins in /var/lib/jenkins/workspace/thon_apm-agent-python-mbp_PR-848
[2020-06-03T09:04:34.646Z] [INFO] getVaultSecret: Getting secrets
[2020-06-03T09:04:34.717Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-03T09:04:35.556Z] + chmod 755 generate-build-data.sh
[2020-06-03T09:04:35.556Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-848/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-848/runs/1 FAILURE 1255397
[2020-06-03T09:04:36.107Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-848/runs/1/steps/?limit=10000 -o steps-info.json
[2020-06-03T09:04:37.968Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-848/runs/1/tests/?status=FAILED -o tests-errors.json


Access react-dart components from JS?

Is there a way to access react-dart components created in Dart from JavaScript?

I am curious about this too..

So sorry for the delayed response @jhochman; I should really check back on the issues page more frequently.
There's not currently an established pattern for exposing react-dart components for use in JavaScript, though something like that could definitely be possible in the future.
Just curious, what are your use cases for this?


Module 4 exercises [MARVIN AYEH]

WS2_M4E1_Template.docx

Well done, Marvin. You clearly grasped the material outlined in Module 4 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


Add calicoctl container example

@tomdee For https://github.com/projectcalico/calico/issues/26

I think for most commands people will need to configure a ETCD_ENDPOINTS - could you include the rkt arg to specify that? Then LGTM.


Phone authentication not working while download the app from google play store as beta version testing?

I am faced problem phone authentication login when we download the app from google play store as beta version testing . but its working in debug and signed apk.
Please see the attachment .

This issue tracker is for feature requests and bugs related to the Firebase-UI open sourced lib. Please ask on Stack Overflow or via another more appropriate channel.


Laravel 11.22.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v11.22.0 branch.
Before merging, you need to:

Checkout the shift-ci-v11.22.0 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8.2. If you are running a different version of PHP you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP environment.


Getting exception putting perPage[eq]=0 in url wherever items per page has been used

Bug report
Title
Getting exception putting perPage[eq]=0 in url wherever items per page has been used
Preconditions
1. framework Version. Master

Steps to reproduce
1. step1-use items per page filter
2. step2-then put  perPage[eq]=0 in url

Actual result

Fixed in Master

still getting same issue if we have already applied any filter for any column and then repeat the steps  ---
step1-use items per page filter
step2-then put  perPage[eq]=0 in url

every where getting above error but while doing same for automatic generated coupons in cart rule then getting below screen-

fixed in both customer end as well as on admin end


fix(sequencer): fix ABCI event handling

Summary
we were ignoring ABCI events (bad). needed to fix this for hermes testing
Changes

return ABCI events emitted in deliver_tx

Testing
i ran it with hermes, this fixes errors due to no events

@SuperFluffy mentioned on the call, but basically this is a bug, hermes expected ABCI events to be returned in response to doing certain IBC actions, so if they don't happen then hermes just thinks the tx failed and errors.


revise custom_jvp / custom_vjp rule jaxpr staging

Initial travis tests (not sure why GitHub didn't link to them automatically).


Pbateman828 first

Addresses Issue: #166

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

Sure, will do. @BlakeGuilloud


Add calls for consent reporting to fides-js and privacy-center

Is your feature request related to a specific problem?
https://github.com/ethyca/fides/pull/3777 adds endpoints related to consent reporting which fides-js and privacy-center need to be updated to call.
Describe the solution you'd like
For fides-js
When notices are shown, PATCH http://localhost:8080/api/v1/notices-served. Example payload:
{
  "browser_identity": {
    "fides_user_device_id": "3e2e5f7c-5367-47d4-b672-9427626c71db"
  },
  "privacy_notice_history_ids": [
    "pri_52008ca3-406e-420f-8509-9429c73ef859"
  ],
  "privacy_experience_id": "pri_6ec7166a-28a8-49d9-9984-9b429d393d11",
  "user_geography": "us_ca",
  "acknowledge_mode": false,
  "serving_component": "overlay"
}

This will return an array of served_notice_history_id
Then when we do a PATCH http://localhost:8080/api/v1/privacy-preferences, include the served_notice_history_id:
{
  "browser_identity": {
    "fides_user_device_id": "3e2e5f7c-5367-47d4-b672-9427626c71db"
  },
  "preferences": [
    {
      "privacy_notice_history_id": "pri_52008ca3-406e-420f-8509-9429c73ef859",
      "preference": "opt_in",
      "served_notice_history_id": "ser_e83dd23c-cc82-44bc-9046-824089f80e2e"
    }
  ],
  "policy_key": "default_consent_policy",
  "privacy_experience_id": "pri_6ec7166a-28a8-49d9-9984-9b429d393d11",
  "user_geography": "us_ca",
  "method": "button"
}

For privacy center
PATCH http://localhost:8080/api/v1/consent-request/<consent_request_id>/notices-served
{
  "browser_identity": {
    "fides_user_device_id": "3e2e5f7c-5367-47d4-b672-9427626c71db"
  },
  "privacy_notice_history_ids": [
    "pri_52008ca3-406e-420f-8509-9429c73ef859"
  ],
  "privacy_experience_id": "pri_6ec7166a-28a8-49d9-9984-9b429d393d11",
  "user_geography": "us_ca",
  "acknowledge_mode": false,
  "serving_component": "privacy_center"
}

which returns a list of served_notice_history_id
PATCH http://localhost:8080/api/v1/consent-request/<consent_request_id>/privacy-preferences
and include the served_notice_history_ids
{
  "browser_identity": {
    "fides_user_device_id": "3e2e5f7c-5367-47d4-b672-9427626c71db"
  },
  "preferences": [
    {
      "privacy_notice_history_id": "pri_52008ca3-406e-420f-8509-9429c73ef859",
      "preference": "opt_in",
      "served_notice_history_id": "ser_64565af7-0686-4e69-9100-352d1d11dfce"
    }
  ],
  "policy_key": "default_consent_policy",
  "privacy_experience_id": "pri_6ec7166a-28a8-49d9-9984-9b429d393d11",
  "user_geography": "us_ca",
  "method": "button"
}

Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Two PR's:

fides-js: https://github.com/ethyca/fides/pull/3845
Privacy center: https://github.com/ethyca/fides/pull/3847

The privacy center one is more straightforward. The fides-js one is blocked by a decision on if we want to storing an entry to /notices-served on GPC, on banner show, on modal show, or just once.

moving to done


Avoid recompiling everything when git status changes

Complete this sentence
THIS PULL REQUEST IS READY TO MERGE
Feature or improvement description
This pull request changes the versioning system as it was initially implemented in CMake. This does not affect the build for Windows with Visual Studio.
The existing implementation inserts the git hash (AKA the version) into the source code through a compiler flag and preprocessor directive. Therefore, anytime the git status changes the compile command changes so everything has to be recompiled. This pull request changes the method for monitoring the git status and passes the version through an included header file similar to the method in the vs-build Visual Studio solution.
Also, I've removed the intel branch of the TravisCI tests until we get a proper license.
Related issue, if one exists
None
Impacted areas of the software
The build system through CMake
Additional supporting information
This is important when dealing with multiple branches as the git status changes frequently. Also, it will enable improved performance in the automated testing.
Test results, if applicable
Only the existing TravisCI tests are necessary.

I like the idea that the version is set via a configure_file command of cmake!  Just to be sure, my understanding is that the workflow is something like this:

everything is compiled with the preprocessor definition -DGIT_INCLUDE_FILE=src\git.h. So when the file NWTC_IO is compiled, the preprocessor includes the file src\git.h and then the variable QueryGitVersion ends up being set.
nwtclibs depends on check_git_repository
check_git_repository looks if the repository hash has changed or if it's dirty, and if so a new git.h file is written based on the template git.h.in.

If that's correct, a change of git.h should trigger a recompilation of NWTC_IO. Is that something handled by cmake? I'm not sure I see how this dependency would be triggered, but I might have missed something in the cmake files.

Thanks for asking these questions @ebranlard. After doing more testing, I'm closing this pull request without merging while I work on an improved solution.


After swap-ing a window, mouse doesn't follow with mouse_follows_focus on

I have mouse_follows_focus on, and when I execute yabai -m window --swap [any direction], the current window moves as expected, but the mouse doesn't follow it, remaining in place. If it matters, I did not disable SIP, but it didn't look like anything that requires SIP disabled should affect this.
Compounding the problem, I have my keys bound like this:
shift + alt - h : yabai -m window --swap west || yabai -m window --display west

When I move the window to the next display, the mouse stays in place and another window on the "current" display retains focus, regardless of the focus_follows_mouse setting.  The upshot is that if I press A-S-h twice, intending to move window A to the west twice, and it crosses a display border, I end up moving multiple different windows on the originating display.  To illustrate (x is mouse, * is focused window):
|------|   |------|
|      |   |    x |
|   A  |   | B  C*|
|------|   |------|
A-S-h
|------|   |------|
|      |   |    x |   C moved west, still focused, but mouse is in B
|   A  |   | C* B |
|------|   |------|
A-S-h
|------|   |------|
|      |   |    x |   C moved display west, but now B is focused
| A  C |   |  B*  |
|------|   |------|
A-S-h
|------|   |------|
| A  C |   |    x |   B moved display west, now nothing (Finder) is focused
| B    |   |      |
|------|   |------|

Swap does not trigger mouse-follows-focus. This is intentional, but I am open to discussion based on feedback.

I did find how to do it:
Note: when I try to focus to the window swapped, it doesn't work because I'm already in that window, even after swap. So what I did was to focus the previous window and focus again to the swapped window:
This is my contribution, fixed:
hyper - right : window=$(yabai -m query --windows --window | jq -r '.id') \
    && (yabai -m window --swap largest || yabai -m window --swap next || yabai -m window --swap prev ) \
    && yabai -m window --focus $window \
    && yabai -m window --focus prev \
    && yabai -m window --focus $window


pointercancel handler

on 1.5.1, pointercancel is nerver removed and not delayed like mouse/touch events

I have the same problem. any update in this?


Should dates be fixed to be valid?

Hello!  I'm new to this project, and had been using Moment in the past, and I noticed that when I input a date such as: dayjs('2015-02-29') (which doesn't exist) it automatically fixes the date to read 2015-03-01.
I suppose I'm just checking to see if this behavior is really wanted; it seems kind of bizarre to have dates wrap around like this and correct themselves.  If this is the wanted behavior, then completely ignore this, but I just feel like the date 02-29 in non-leap years, and other nonexistent dates, should be invalid rather than changed.

I think it's a config validation bug, not a wanted behavior.
Thus, I think date like this ('2015-02-29') is not common in real project. In order to keep our package in a tiny size, I might not going to update the validator at the moment.
Still, feel free to ask us to fix this if you think it's necessary.

Прошу прощения!Это нелепая ошибка.Всего доброго!

@iamkun I understand that, but the dates wrap around as well for dates such as 01/60/2015, which in ISO as 2015-01-60 gets parsed into March 1st (correct date math, yes, but bizarre to let them wrap this far).

That might be the weird part of javascript. If you pass this to JS like this new Date(2015, 1, 60) , you will get the same result instead of an error.

Closing this due to inactivity. Feel free to re-open it any time.


Cannot login

I get to the "Read preferences" in the popup window, but when I click authorize the popup window goes blank and I am not signed in on the main page.

Hi @james2432
Check if you are using the https url: https://osmcha.mapbox.com/

Login only works on HTTPS, if that is the case there should be a 301 redirect or an HSTS Preloading insctruction to not use HTTP

Sorry @james2432, we'll be fixing this soon.


how to use the model created

I want to use the model created to  extract the features of the image，can you tell me how to use your code

See the prediction code: https://github.com/dgurkaynak/tensorflow-cnn-finetune/issues/4#issuecomment-384371453
If you want to just extract the feature, not the prediction stuff, you can get directly the output of model instead of accuracy, like:
features = sess.run(model.prob, feed_dict={x: batch_tx, y: batch_ty, is_training: False})


Database Setup

Write up on the way!

A few notable changes I made:

For the production server, I removed the webpack-dev-server and moved the server.js file from /backend to the root of the project. This acts as the prod server and now serves both the API and React views. This eliminates the need for CORS.

I changed the prod server port number back to 4100 to avoid disrupting development for other teams
For development purposes I added in a new command npm start hot which still uses webpack-dev-server for it's module hot reloading capabilities (we can add this to the prod server , but I'm not sure it's worth the effort). I recommend using this new command for development, but remember to also start the dev backend server by running npm start in /backend.
There is some duplicate code now between the server.js files in root and /backend, so please keep that in mind when making changes.

I removed backend/data because it contained potentially sensitive data. If you need these files, we can share them in Slack.
I renamed the API routes to /api/API_NAME to follow typical API development conventions. I also changed the route for the API Demo page from /api/demo to /demo.
I added the API Demo to the top of the sidebar and added the sidebar to the Demo page itself.

Ok so a few notable changes in my last three commits:

I added id to the Link schema and made it the primary key. I made url unique instead, but it's no longer the primary key. I think id is a more usable and readable primary key than url. All the API functions with url still exist but have been reworked in my following point.
I renamed and reorganized the API routes to make them more human readable/understandable. This means I changed the route URLs and how some of the arguments are passed (query args, param args, body args, etc.).
I moved the call to start the server (listen) from server.js into a new file index.js. Now server.js simply defines the server, while index.js is responsible for running the server.
I reorganized all database files in the backend to the backend/db directory. I added two new scripts that drop tables and initialize tables. These are the new npm scripts for database setup:

npm run init-db: Drops all tables and initializes all tables according to the models. Useful if you're changing the table schemas.
npm run import-examples: Imports examples entries from backend/data/data.json into the database using the script Matthew wrote.
npm run init-import: Does both of the above - drops tables, inits tables, imports examples.

I added tests for all the API routes. Currently we have tests that send requests and check for successful HTTP status codes. These are the new npm scripts for testing:

npm run test: Runs the tests.
npm run test-clean: Drops tables, inits tables, imports examples, and then runs the tests.


use json serialization

Hi,
love it ! great idea to use redis !
it it possible to use json format in addition to pikle ?
handler = RedisStreamLogHandler(as_pkl=True)
handler = RedisStreamLogHandler(as_json=True)

Thanks for the job

Hi @lemoidului , thanks four your feedback!
The JSON serialisation option should be available in the v1.2.0 release :wink:


Menu: fix router NavigationDuplicated error when using<EMAIL_ADDRESS>

Please make sure these boxes are checked before submitting your PR, thank you!
close #17044
relevant #17145

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

为什么我升级完还是一样的问题

I had upgrade element to 2.13.0 but the issue still exist! The vue-router version in my project is 3.1.5

https://github.com/vuejs/vue-router/blob/dfc289202703319cf7beb38d03c9258c806c4d62/src/util/errors.js#L23
The error in vue router is updated, so it cannot be caught in this way in current version(3.3.4).


Medical Imaging

Is it possible to use in machine learning for medical imaging using MRI dataset?

Yes, it is

You can definitely use capsule net for medical imaging but then you will have to be careful about the architecture. You need to be aware of what type of entities the capsules represent and also the number of capsules in the final capsule layer are appropriate.
What exactly are you talking about in medical imaging? Like detection problems or generative problems?

I want to do segmentation on ischemic stroke using ISLES 2017 dataset. How do we decide those parameters such as number of capsules, the vector length, and else so that CapsNet could be implemented for 5D (or 4D) dataset. Of course conv3D will be used for architecture, but is it still possible to use basic architecture?

Thanks a lot!
So from my understanding, in determining the number of hyperparameters I should test few (or lots) of combinations? Is there any method that I could use to optimize my experiment?

@AuliaRizky Everytime when you apply a network to a new kind of dataset you need to run the model with various combinations of hyperparameters for the network. But I would like to suggest a research paper for you to understand the basics required for at least the convergence of capsule network. Following is the paper:
Empirical Study on convergence of Capsule Networks with various hyperparameters
http://people.cs.vt.edu/~bhuang/courses/opt18/projects/capsule.pdf

@parinaya-007 Can you explain to me how to changes information of pixels (scalar) to pose parameter (which is a vector) after applying convolution?
I have read "Transforming Auto-encoders" by Hinton that should explained it, but I am not fully understand.
And thanks for the paper!


Unsound error while check if object instance of another

🔎 Search Terms
unsound, instanceof, instance, object, types, error
🕗 Version & Regression Information

This is unsound error
All versions in playground have this bug

⏯ Playground Link
https://www.typescriptlang.org/play?#code/MYewdgziA2CmB00QHMAUAVAngB1gUQCcCQCACAS0gBcBDMYWEAM1NVQEpSBeAPlIGZ27IA
💻 Code
console.log(TypeError instanceof (() => 3));

🙁 Actual behavior
TypeScript successfully transpiles the code
🙂 Expected behavior
Throws error because the right-side operand has not prototype
Additional information about the issue
No response

The right side of instanceof must just be of the type any or assignable to the Function interface. Having a prototype is no requirement. () => 3 is assignable to Function.

The right side of instanceof must just be of the type any or assignable to the Function interface. Having a prototype is no requirement. () => 3 is assignable to Function.

Right side must be of Constructor type, not a Function, since not all functions have a prototype. You can see it in the MDN documentation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof

Right side must be of Constructor type, not a Function,

I was referring to the TypeScript side, which has a clear error message when you provide another type (e.g. {}). So the current behavior is working as intended and not a bug. You might want to rephrase it to a feature request if you think this should be changed.

You can see it in the MDN documentation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof

The documentation of this site provides examples where you're not dealing with constructors and just plain functions.
function C() {}

const o = new C();

// true, because: Object.getPrototypeOf(o) === C.prototype
o instanceof C;

To expand on Martin's comment: basically TS makes no distinction between function f(): T {} (which does have a prototype and might actually be a constructor) and () => T (which doesn't).  Both are the exact same type to the compiler.  So that's why the instanceof check is allowed.

https://github.com/microsoft/TypeScript/pull/56197#issuecomment-1777656189:

I'm starting to doubt why I didn't just Won't Fix the linked issue. Who would ever do this? It seems like an impossible mistake to make.

I can see an argument that when refactoring an area of code from classes to non-class functions. #56197 should handle this kind of case:
const ThisUsedToBeAClass = () => {};

TypeError instanceof ThisUsedToBeAClass;

...though I've never seen this in the wild.

I guess the problem is that #56197 only fixes this when we can see the value declaration of the expression. For cases like
const obj1: () => void = function f() { }
const obj2: () => void = () => { }

{} instanceof obj1;
{} instanceof obj2;

There's nothing distinguishing the bottom two lines from the type system's perspective

Perhaps it'd make sense to add an understanding of that to the system? Help it differentiate between arrow functions and the other kinds?

I think it's a hard sell, since it creates the possible mistake of people accidently requiring a function-with-a-prototype when they don't actually care (which is by far the common case).

Hmm, yeah. I started going through the process of filing an issue asking that the info be stored on the ts.Type. But even more so than { (): ... } vs () => ..., +1 that the possible mistake probability is high... ah well.


Update UICatalog, PPNQASampleApp, InternationalMountain apps and fix som...

...e test cases
To be clear what I did:

I update the new versions of UICatalog, PPNQASampleApp, InternationalMountain apps from sources:

UICatalog: https://developer.apple.com/library/ios/samplecode/UICatalog/Introduction/Intro.html (at the time I download it, its version is 11.3)
PPNQASampleApp : https://github.com/darraghgrace/ios-driver-sample-app
InternationalMountains: https://developer.apple.com/library/ios/samplecode/InternationalMountains/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008756-Intro-DontLinkElementID_2

Update e2e.uicatalogapp and e2e.nativegesture test packages to be compatible with the newly updated apps (from step 1). All tests in these packages passed. The other tests do not pass, but will be fixed in another pull request.
Adding logging and exception handling when finding device UUID

In DeviceUUIDsMap.java:

Fixed regex matching logic to match with another device status: "Shutting Down". Get status of all simulators and put it in a HashMap (simulatorState)

In SimulatorSettings.java:

Checking if there is an UUID for the requested device. If there isn't, throw NotFoundException. If there is, continue to check the state of that device.
If the status of that device is "Shutting Down", wait SLEEP_TIME_BETWEEN_TRIES and then re-check its status. The number of the trying loop will be controlled by NUMBER_TRIES_GETTING_UUID constant variable.
If after NUMBER_TRIES_GETTING_UUID retry times, the device is still in "Shutting Down" state, raise an NotActiveException with information about it.
if the device passes the "Shutting Down" state, simply return its UUID.

@lukeis @mach6 @freynaud could you take a look at this PR?  It's a squashed version of #359.  I think most of the changes are just replacing sample app code that was previously copied in from other projects.  The important changes are described in bullets 2 and 3 above.

@lukeis @mmccartney @freynaud @thanhcs assigning to myself for follow-up!

please make sure the CLA is signed before accepting any PR.
thanks,
François
On Fri, Apr 10, 2015 at 1:05 AM, Doug Simmons<EMAIL_ADDRESS>wrote:

@lukeis https://github.com/lukeis @mmccartney
https://github.com/mmccartney @freynaud https://github.com/freynaud
@thanhcs https://github.com/thanhcs assigning to myself for follow-up!
—
Reply to this email directly or view it on GitHub
https://github.com/ios-driver/ios-driver/pull/363#issuecomment-91377512.

I just did. Thanks.

I create a new class DeviceNotAvailableException that extends SessionNotCreatedException. Throw that exception instead of NotActiveException

:+1: congrats and thank you @thanhcs ... code is merged

:+1: Thanks a lot for reviewing my code and accept it :)

@mach6 thanks much for taking the time to do this indepth review :)
@thanhcs nice work and great job handling all the code review comments. Big changes are hard to deal with for everyone involved!

Big thank you to @lukeis for taking time to help us. :) I wouldn't know how to target this PR if you didn't teach me and my classmates how to set everything up at the beginning of this semester.
Thanks professor @mmccartney for teaching and helping me review the code before committing it.
First PR in my life :+1:


Incorrect query mentioned

The below query will get all the Arc machines which are sending heartbeat - With or without extension.
How does this help in converting to extension managed?
Identify machines with Log Analytics agent already installed | Run the following log query in Log Analytics to support conversion of existing Log Analytics agent deployments to extension-managed agent:Heartbeat| where TimeGenerated > ago(30d)| where ResourceType == "machines" and (ComputerEnvironment == "Non-Azure")| summarize by Computer, ResourceProvider, ResourceType, ComputerEnvironment
-- | --

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 297753ce-0861-7dbb-7eb2-1f7b8d29ac73
Version Independent ID: fd645122-e5fb-0f61-9150-2bf8b02c316a
Content: How to plan and deploy Azure Arc-enabled servers - Azure Arc
Content Source: articles/azure-arc/servers/plan-at-scale-deployment.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@ManasaDevadas Thanks for your comment! We will review and provide an update as appropriate.

@ManasaDevadas - It is assumed that a customer will 1) have already tracked the servers/machines that were used to test/evaluate Arc-enabled servers, and 2) in preparation to onboard your machines to Arc-enabled servers, also want to identify which machines already have the LA agent installed (which would have been done manually, scripted method, etc.) Remember, we are talking about non-Azure VMs, and therefore the LA agent would not have been installed using the VM extension framework. This is also part of the planning phase before you've actually onboarded physical servers/machines to Arc.
If you want to query all Arc-enabled servers to identify what extensions are installed on the target machine, you can run the following query in Azure Resource Graph Explorer:
Resources
| where type == 'microsoft.hybridcompute/machines'
| extend
JoinID = toupper(id),
ComputerName = tostring(properties.osProfile.computerName),
OSName = tostring(properties.osName)
| join kind=leftouter(
Resources
| where type == 'microsoft.hybridcompute/machines/extensions'
| extend
MachineId = toupper(substring(id, 0, indexof(id, '/extensions'))),
ExtensionName = name
) on $left.JoinID == $right.MachineId
| summarize Extensions = make_list(ExtensionName) by id, ComputerName, OSName
| order by tolower(OSName) asc
It can be modified further to only return Arc-enabled machines that have the LA agent extension installed.
Hope that helps.  Since there isn't an issue with the article, I'm going to proceed with closing this issue. I plan on adding this query to our documentation in next month's sprint. If I misunderstood your point, please clarify and I'll follow-up with you.
#please-close


Make auto template

[x] Use different template instead of <> (more unique)
[x] Make all variables in some kind of templating engine
[x] Split README.md and README_template.md

Variables in files:

README.md
docs/CONTRIBUTING.md
pyproject.toml
app.py
main,py
LICENSE

Variables in paths:

src/<project_path_name>

Fixed in #5