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

versioneer.py is broken in python 3.12 #7309

Closed
anmyachev opened this issue Jun 11, 2024 · 0 comments · Fixed by #7311
Closed

versioneer.py is broken in python 3.12 #7309

anmyachev opened this issue Jun 11, 2024 · 0 comments · Fixed by #7311
Assignees
Labels
bug 🦗 Something isn't working P1 Important tasks that we should complete soon

Comments

@anmyachev
Copy link
Collaborator

Found while trying to build conda packages:

  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/home/conda/feedstock_root/build_artifacts/modin-packages_xxx/work/setup.py", line 45, in <module>
      version=versioneer.get_version(),
              ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/conda/feedstock_root/build_artifacts/modin-packages_xxx/work/versioneer.py", line 1482, in get_version
      return get_versions()["version"]
             ^^^^^^^^^^^^^^
    File "/home/conda/feedstock_root/build_artifacts/modin-packages_xxx/work/versioneer.py", line 1414, in get_versions
      cfg = get_config_from_root(root)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/conda/feedstock_root/build_artifacts/modin-packages_xxx/work/versioneer.py", line 344, in get_config_from_root
      parser = configparser.SafeConfigParser()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

The version we are using is very old, we need to try updating to a new one.

@anmyachev anmyachev added bug 🦗 Something isn't working P1 Important tasks that we should complete soon labels Jun 11, 2024
@anmyachev anmyachev self-assigned this Jun 12, 2024
anmyachev added a commit to anmyachev/modin that referenced this issue Jun 12, 2024
…vendor'

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
YarShev pushed a commit that referenced this issue Jun 12, 2024
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦗 Something isn't working P1 Important tasks that we should complete soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant