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 #509

Closed
chenrui333 opened this issue Oct 29, 2023 · 1 comment
Closed

Support py3.12 #509

chenrui333 opened this issue Oct 29, 2023 · 1 comment

Comments

@chenrui333
Copy link

chenrui333 commented Oct 29, 2023

While trying to migrate zurl to test against py3.12, ran into the following test failure

/private/tmp/magic-wormhole--spake2-20231029-6748-d23kmi/spake2-0.8/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
  LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "<pip-setuptools-caller>", line 34, in <module>
  File "/private/tmp/magic-wormhole--spake2-20231029-6748-d23kmi/spake2-0.8/setup.py", line 62, in <module>
    version=versioneer.get_version(),
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/tmp/magic-wormhole--spake2-20231029-6748-d23kmi/spake2-0.8/versioneer.py", line 1480, in get_version
    return get_versions()["version"]
           ^^^^^^^^^^^^^^
  File "/private/tmp/magic-wormhole--spake2-20231029-6748-d23kmi/spake2-0.8/versioneer.py", line 1412, in get_versions
    cfg = get_config_from_root(root)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/tmp/magic-wormhole--spake2-20231029-6748-d23kmi/spake2-0.8/versioneer.py", line 342, in get_config_from_root
    parser = configparser.SafeConfigParser()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
error: subprocess-exited-with-error

log, https://github.com/Homebrew/homebrew-core/actions/runs/6685443985/job/18163767072
relates to Homebrew/homebrew-core#152753

@chenrui333
Copy link
Author

looks like it got fixed, warner/python-spake2#15

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