8000 Replace periodictable and SciPy with QCElemental · Issue #776 · cclib/cclib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Replace periodictable and SciPy with QCElemental #776

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

Open
berquist opened this issue Oct 6, 2019 · 4 comments
Open

Replace periodictable and SciPy with QCElemental #776

berquist opened this issue Oct 6, 2019 · 4 comments
Assignees
Milestone

Comments

@berquist
Copy link
Member
berquist commented Oct 6, 2019

As discussed in #604,

This would radically change library compatibility:

  • Only Python >= 3.6 would be supported. Python 2 support would be dropped, which is perhaps ok, but 3.5 isn't EOL until September 2020 (https://devguide.python.org/#status-of-python-branches).
  • Since Python 2 would be dropped, we can also drop six.
  • Other old code can be dropped.
  • It would bring in transitive dependencies on pint and pydantic, neither of which have dependencies of their own. These are not as mature and stable as SciPy, though we wouldn't depend directly on their features. The physical constants might come with units attached, which could be nice.

I've set the milestone to 2.x, not because we want to wait a long time to do this, but because it's a breaking change in terms of Python support. We could finally use f-strings and type hints.

@dgasmith
Copy link

What would you need from us to make this change?

@berquist
Copy link
Member Author

Nothing specifically, see #781, it's more that it completely changes which versions we support.

@langner
Copy link
Member
langner commented Nov 6, 2019

Could reiterate what problem we're solving by using QCElemental?

@berquist
Copy link
Member Author
berquist commented Nov 9, 2019

We'd replace our dependence on periodictable and SciPy with just QCElemental. Since we don't have a hard dependence on SciPy, it also removes some boilerplate that checks for its existence. I'm not including all the code we can remove by dropping 2.7.

So, there are no new features that it would provide.

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

Successfully merging a pull request may close this issue.

3 participants
0