oead icon indicating copy to clipboard operation
oead copied to clipboard

Error while generating package metadata

Open ptfmiller opened this issue 1 year ago • 0 comments

While I try to pip install bcml, here is what I get:

  Using cached oead-1.2.7.tar.gz (4.2 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      /private/var/folders/p0/83wz866d50xfhv49j51sfd6r0000gn/T/pip-install-8uo0j8yo/oead_7a24d08f414e47bbbc1c104cd092ebca/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/var/folders/p0/83wz866d50xfhv49j51sfd6r0000gn/T/pip-install-8uo0j8yo/oead_7a24d08f414e47bbbc1c104cd092ebca/setup.py", line 66, in <module>
          version=versioneer.get_version(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/p0/83wz866d50xfhv49j51sfd6r0000gn/T/pip-install-8uo0j8yo/oead_7a24d08f414e47bbbc1c104cd092ebca/versioneer.py", line 1480, in get_version
          return get_versions()["version"]
                 ^^^^^^^^^^^^^^
        File "/private/var/folders/p0/83wz866d50xfhv49j51sfd6r0000gn/T/pip-install-8uo0j8yo/oead_7a24d08f414e47bbbc1c104cd092ebca/versioneer.py", line 1412, in get_versions
          cfg = get_config_from_root(root)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/p0/83wz866d50xfhv49j51sfd6r0000gn/T/pip-install-8uo0j8yo/oead_7a24d08f414e47bbbc1c104cd092ebca/versioneer.py", line 342, in get_config_from_root
          parser = configparser.SafeConfigParser()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

From another repo, it looks like versioneer is deprecated.

ptfmiller avatar Nov 13 '23 11:11 ptfmiller