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

Theme can not be installed on Python 3.12 due to issue with versioneer.py #21

Closed
mithro opened this issue Mar 17, 2024 · 0 comments · Fixed by #22
Closed

Theme can not be installed on Python 3.12 due to issue with versioneer.py #21

mithro opened this issue Mar 17, 2024 · 0 comments · Fixed by #22

Comments

@mithro
Copy link

mithro commented Mar 17, 2024

Installing pip dependencies: - Ran pip subprocess with arguments:
['/home/tim/github/im-tomu/fomu-workshop/docs/env/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/tim/github/im-tomu/fomu-workshop/docs/condaenv.gelbol3p.requirements.txt', '--exists-action=b']
Pip subprocess output:
Collecting sphinx_symbiflow_theme (from -r /home/tim/github/im-tomu/fomu-workshop/docs/requirements.txt (line 6))
  Cloning http://github.com/f4pga/sphinx_f4pga_theme.git (to revision main) to /tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559
  Resolved http://github.com/f4pga/sphinx_f4pga_theme.git to commit 745bc1f21bb8d67651ee29fb1f1fe1439910462d
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'

Pip subprocess error:
  Running command git clone --filter=blob:none --quiet http://github.com/f4pga/sphinx_f4pga_theme.git /tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559
  warning: redirecting to https://github.com/f4pga/sphinx_f4pga_theme.git/
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      /tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559/versioneer.py:432: SyntaxWarning: invalid escape sequence '\s'
        ] = '''
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559/setup.py", line 24, in <module>
          version=versioneer.get_version(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559/versioneer.py", line 1524, in get_version
          return get_versions()["version"]
                 ^^^^^^^^^^^^^^
        File "/tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559/versioneer.py", line 1451, in get_versions
          cfg = get_config_from_root(root)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-install-qs48mrm_/sphinx-symbiflow-theme_a608b63fc2b44e7a9300cf68c4565559/versioneer.py", line 346, in get_config_from_root
          parser = configparser.SafeConfigParser()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
      [end of output]
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

Successfully merging a pull request may close this issue.

1 participant