Skip to content

Support py3.12 #29

Description

@chenrui333
  ==> python3.12 -m pip --python=/home/linuxbrew/.linuxbrew/Cellar/magic-wormhole/0.13.0/libexec/bin/python install --verbose --no-deps --no-binary=:all: --ignore-installed --no-compile /tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0
  Using pip 23.2.1 from /home/linuxbrew/.linuxbrew/lib/python3.12/site-packages/pip (python 3.12)
  Processing /tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0
    Preparing metadata (setup.py): started
    Running command python setup.py egg_info
    /tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0/versioneer.py:467: 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 "/tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0/setup.py", line 41, in <module>
        version=versioneer.get_version(),
                ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0/versioneer.py", line 1405, in get_version
        return get_versions()["version"]
               ^^^^^^^^^^^^^^
      File "/tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0/versioneer.py", line 1339, in get_versions
        cfg = get_config_from_root(root)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/magic-wormhole--constantly-20231017-7702-1ep4os7/constantly-15.1.0/versioneer.py", line 399, 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#151475

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions