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

Need to support python 3.12 #92

Closed
xiki-tempula opened this issue Mar 22, 2024 · 0 comments · Fixed by #93
Closed

Need to support python 3.12 #92

xiki-tempula opened this issue Mar 22, 2024 · 0 comments · Fixed by #93

Comments

@xiki-tempula
Copy link
Collaborator

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
    /tmp/pip-install-s_1hwqpj/alchemtest_0bb9d0ce4266426896888512ca32b04c/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 "/tmp/pip-install-s_1hwqpj/alchemtest_0bb9d0ce4266426896888512ca32b04c/setup.py", line 15, in <module>
        version=versioneer.get_version(),
                ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/pip-install-s_1hwqpj/alchemtest_0bb9d0ce4266426896888512ca32b04c/versioneer.py", line 1480, in get_version
        return get_versions()["version"]
               ^^^^^^^^^^^^^^
      File "/tmp/pip-install-s_1hwqpj/alchemtest_0bb9d0ce4266426896888512ca32b04c/versioneer.py", line 1412, in get_versions
        cfg = get_config_from_root(root)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/tmp/pip-install-s_1hwqpj/alchemtest_0bb9d0ce4266426896888512ca32b04c/versioneer.py", line 342, in get_config_from_root
        parser = configparser.SafeConfigParser()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
    [end of output]
orbeckst pushed a commit that referenced this issue Mar 30, 2024
* use the MolSSI cookiecutter for project structure
  - remove src directory and put alchemtest under the top level
  - update our CI with cookiecutter CI
* fix #92 (support Python 3.12)
* replace versioneer with versioningit
* fix rtd
* add CONTRIBUTING.md and preliminary CODE_OF_CONDUCT.md

NOTE: This commit touched almost every file (mostly due to move) so when running `git blame`,  **exclude this commit from git blame**.
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