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

Closed
chenrui333 opened this issue Oct 17, 2023 · 3 comments
Closed

Support py3.12 #29

chenrui333 opened this issue Oct 17, 2023 · 3 comments

Comments

@chenrui333
Copy link

  ==> 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

@glyph
Copy link
Member

glyph commented Oct 25, 2023

I think the solution here is to drop versioneer and do what other Twisted projects are doing (i.e., incremental and nothing else)

@adiroiban
Copy link
Member

Happy to remove versioneer ... and maybe just use simple text values for versions , and nothing else :)

@graingert
Copy link
Member

Fixed by #35

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

4 participants