Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opsdroid does not install with python 3.12 #2011

Closed
mprasil opened this issue Oct 5, 2023 · 1 comment
Closed

Opsdroid does not install with python 3.12 #2011

mprasil opened this issue Oct 5, 2023 · 1 comment

Comments

@mprasil
Copy link

mprasil commented Oct 5, 2023

Description

Opsdroid does not install with python 3.12. Most likely versioneer needs to be updated?

Steps to Reproduce

With docker one can reproduce that with:

docker run -ti --rm python:3.12-slim pip install opsdroid

Expected Functionality

Installation succeeds.

Experienced Functionality

Installation fails with:

Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "<pip-setuptools-caller>", line 34, in <module>
  File "/tmp/pip-install-l4nph302/opsdroid_b00332d724184742a9f10d42894092a7/setup.py", line 62, in <module>
    version=versioneer.get_version(),
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/pip-install-l4nph302/opsdroid_b00332d724184742a9f10d42894092a7/versioneer.py", line 1527, in get_version
    return get_versions()["version"]
           ^^^^^^^^^^^^^^
  File "/tmp/pip-install-l4nph302/opsdroid_b00332d724184742a9f10d42894092a7/versioneer.py", line 1454, in get_versions
    cfg = get_config_from_root(root)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/pip-install-l4nph302/opsdroid_b00332d724184742a9f10d42894092a7/versioneer.py", line 348, in get_config_from_root
    parser = configparser.SafeConfigParser()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]

Versions

  • Opsdroid version: 0.28.0
  • Python version: 3.12
@jacobtomlinson
Copy link
Member

This should be resolved with #2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants