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

Support py3.12 #434

Open
chenrui333 opened this issue Oct 22, 2023 · 0 comments
Open

Support py3.12 #434

chenrui333 opened this issue Oct 22, 2023 · 0 comments

Comments

@chenrui333
Copy link

chenrui333 commented Oct 22, 2023

Right now there is some py3.12 build issue as error log shown as below:

Running command Getting requirements to build wheel
    /private/tmp/dvc--adlfs-20231022-19146-16lp2sj/adlfs-2023.10.0/versioneer.py:432: SyntaxWarning: invalid escape sequence '\s'
      ] = '''
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
        main()
      File "/opt/homebrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
        return hook(config_settings)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/private/tmp/pip-build-env-fdeqj_ya/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
        return self._get_build_requires(config_settings, requirements=['wheel'])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/private/tmp/pip-build-env-fdeqj_ya/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
        self.run_setup()
      File "/private/tmp/pip-build-env-fdeqj_ya/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 507, in run_setup
        super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
      File "/private/tmp/pip-build-env-fdeqj_ya/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 341, in run_setup
        exec(code, locals())
      File "<string>", line 11, in <module>
      File "/private/tmp/dvc--adlfs-20231022-19146-16lp2sj/adlfs-2023.10.0/versioneer.py", line 1[524](https://github.com/Homebrew/homebrew-core/actions/runs/6601493460/job/17932587191?pr=152042#step:3:525), in get_version
        return get_versions()["version"]
               ^^^^^^^^^^^^^^
      File "/private/tmp/dvc--adlfs-20231022-19146-16lp2sj/adlfs-2023.10.0/versioneer.py", line 1451, in get_versions
        cfg = get_config_from_root(root)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/private/tmp/dvc--adlfs-20231022-19146-16lp2sj/adlfs-2023.10.0/versioneer.py", line 346, in get_config_from_root
        parser = configparser.SafeConfigParser()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
    error: subprocess-exited-with-error

relates to Homebrew/homebrew-core#152042

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

1 participant