RPAframework installation fails in python 3.12

I tried installing rpaframework using pip install rpaframework, it throws below error. Python version is 3.12.0.

Using cached sspilib-0.1.0-cp312-cp312-win_amd64.whl (567 kB)
Building wheels for collected packages: pendulum
  Building wheel for pendulum (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pendulum (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      Traceback (most recent call last):
        File "C:\Users\SESA672171\AppData\Local\Temp\pip-install-72mxw6rl\pendulum_d170e2bd71374dbba0287f494b4b2df0\build.py", line 5, in <module>
          from distutils.command.build_ext import build_ext
      ModuleNotFoundError: No module named 'distutils'
      Traceback (most recent call last):
        File "C:\Users\SESA672171\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\SESA672171\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\SESA672171\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\SESA672171\AppData\Local\Temp\pip-build-env-1_o4swzp\overlay\Lib\site-packages\poetry\core\masonry\api.py", line 58, in build_wheel
          return WheelBuilder.make_in(
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\SESA672171\AppData\Local\Temp\pip-build-env-1_o4swzp\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 88, in make_in
          wb.build(target_dir=directory)
        File "C:\Users\SESA672171\AppData\Local\Temp\pip-build-env-1_o4swzp\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 123, in build
          self._build(zip_file)
        File "C:\Users\SESA672171\AppData\Local\Temp\pip-build-env-1_o4swzp\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 172, in _build
          self._run_build_script(self._package.build_script)
        File "C:\Users\SESA672171\AppData\Local\Temp\pip-build-env-1_o4swzp\overlay\Lib\site-packages\poetry\core\masonry\builders\wheel.py", line 266, in _run_build_script
          subprocess.check_call([self.executable.as_posix(), build_script])
        File "C:\Users\SESA672171\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['C:/Users/SESA672171/AppData/Local/Programs/Python/Python312/python.exe', 'build.py']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pendulum
Failed to build pendulum
ERROR: Could not build wheels for pendulum, which is required to install pyproject.toml-based projects

Appreciate any help

Python version 3.12 is not supported yet. You get supported versions with templates when creating a new robot.

How to know the supported version?, i did not understand it

When you create a new robot from VS Code you get default conda.yaml file which has currently supported python version.
Example:

# For more details on the format and content:
# https://github.com/robocorp/rcc/blob/master/docs/recipes.md#what-is-in-condayaml
# Tip: Adding a link to the release notes of the packages helps maintenance and security.

channels:
  - conda-forge

dependencies:
  - python=3.10.12                # https://pyreadiness.org/3.10
  - pip=23.2.1                    # https://pip.pypa.io/en/stable/news
  - robocorp-truststore=0.8.0     # https://pypi.org/project/robocorp-truststore/
  - pip:
    - rpaframework==27.5.1        # https://rpaframework.org/releasenotes.html
``

ok, any idea when support will be added for python 3.12

Currently no ETA. What functionality do you need from 3.12 that is not available on 3.10?
If you check Python 3.12 Readiness - Python 3.12 support table for most popular Python packages you can see that only ~30% of packages support 3.12

Just want to know so I can switch to python 3.10 or will stay in 2.12. Thanks for sharing the info