Python argcomplete is broken for Python 3.11
<!-- --------Before Creating a New Issue-----------
* Limit report to a single issue.
* Search the issue tracker to verify the issue has not already been reported.
* Complete all instructions between `template comment markers <>.
* Keep report contents limited to the necessary information required to fix the issue.
* When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. -->
# Description
<!-- What is the current behavior and what is the expected behavior? -->
<!-- If the issue is visual/graphical, please attach screenshots of the problem. -->
<!-- Add the issue details below this line and before the "Steps to reproduce" heading. -->
# Steps to reproduce
<!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. -->
<!-- If this issue is specific to a project, please attach the necessary files to this issue. -->
<!-- Add the steps to reproduce using the numbers below -->
<!-- Add new step numbers before the "KiCad Version" heading. -->
1. Open pcbnew scripting editor with Python 3.11
2. Type
```python
import pcbnew
b = pcbnew.GetBoard(
```
At this point, you will receive an error `AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?`
This happens because the inspect module has updated and dropped a deprecated call that is used by wxPython.
This will require monkey-patching something like the following:
```python
import inspect
if not hasattr(inspect, 'getargspec'):
inspect.getargspec = inspect.getfullargspec
```
# KiCad Version
```
Application: KiCad x86_64 on x86_64
Version: (7.99.0-333-g97920a1ea4), debug build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
Platform: Debian GNU/Linux bookworm/sid, 64 bit, Little endian, wxGTK, lightdm-xsession, x11
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.87.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=ON
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF
```
issue