-
Notifications
You must be signed in to change notification settings - Fork 667
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
Add python 3.9 support #2974
Comments
inversely, do we not support it currently? I.e. was anything we used broken by it? (likely not...) |
Highly doubt anything will change (at least until we decide to start type hinting everything). Just needs adding to the test matrix == reward :) |
Will take a while for the ecosystem to build out wheels for 3.9 too--I'm working on that for SciPy, but we're also trying to get out Linux ARM64 wheels at the same time so a bit crazy.. |
I installed develop on python 3.9 and could run the tests fine. I got an error (#2979) but it was unrelated to the version of python. I got many tests skipped, though (361) so some of them may have failed. |
Unfortunately, Here's what's happening if I try to add
How to reproduce this
$ poetry add mdanalysis This should fail with the above error message. |
To expand on what @markf94 has submitted, it's not that MDAnalysis code doesn't support Python 3.9, it's the package specification that needs to be updated, so it can work with stricter package manages such as Poetry. Looking at the MDAnalysis Roadmap, I understand if this doesn't happen until 2.0 is released. |
Indeed, we purposely aren't making 1.0.x py3.9 compatible. 1.0.x is now a legacy bugfix only release which will support py2.7, and py3.5-3.8 (although support for py2.7 and py3.5 is getting increasingly hard to guarantee). Work is currently in progress to bring py3.9 along to 2.0.0, however not all our optional dependencies have a py3.9 release (at least last I checked). edit: as far as I'm aware there are no code issues on our ends, it's just waiting for everything upstream to align correctly.
@Seanny123 I'm not sure I understand what you mean here. I've not used poetry before so maybe I'm completely wrong, but from the error message that @markf94 shows it seems to be correctly capturing from setup.py that the python version doesn't fit the specs? Any input on how we can improve our setup to better fit more package managers is appreciated. |
Yeah |
* Fixes #2974 * Python 3.9 officially supported * Add Python 3.9 to testing matrix * Adds macOS CI entry, formalises 3.9 support
* Fixes MDAnalysis#2974 * Python 3.9 officially supported * Add Python 3.9 to testing matrix * Adds macOS CI entry, formalises 3.9 support
* added get_connections * modified tests for atoms.bonds/angles/dihedrals etc * modified parsers and things to use get_connections or bonds * updated CHANGELOG * pep8 * undo half of PR 3160 * add intra stuff * Update package/MDAnalysis/core/groups.py Co-authored-by: Jonathan Barnoud <[email protected]> * tighten up base class checking * update docstring * suppres warnings * Use absolute file paths in ITPParser (#3108) Fixes #3037 Co-authored-by: Lily Wang <[email protected]> * Adds aromaticity and Gasteiger charges guessers (#2926) Towards #2468 ## Work done in this PR * Add aromaticity and Gasteiger charges guessers which work via the RDKIT converter. * BLD: handle gcc on MacOS (#3234) Fixes #3109 ## Work done in this PR * gracefully handle the case where `gcc` toolchain in use on MacOS has been built from source using `clang` by `spack` (so it really is `gcc` in use, not `clang`) ## Notes * we could try to add regression testing, but a few problems: - `using_clang()` is inside `setup.py`, which probably can't be safely imported because it has unguarded statements/ code blocks that run right away - testing build issues is typically tricky with mocking, etc. (though in this case, probably just need to move `using_clang()` somewhere else and then test it against a variety of compiler metadata strings * Remove ParmEd Timestep writing "support" (#3240) Fixes #3031 * Adding py3.9 to gh actions CI matrix (#3245) * Fixes #2974 * Python 3.9 officially supported * Add Python 3.9 to testing matrix * Adds macOS CI entry, formalises 3.9 support * fix changelog * special metaclass * move function down * tidy code Co-authored-by: Jonathan Barnoud <[email protected]> Co-authored-by: Aditya Kamath <[email protected]> Co-authored-by: Cédric Bouysset <[email protected]> Co-authored-by: Tyler Reddy <[email protected]> Co-authored-by: Irfan Alibay <[email protected]>
Is your feature request related to a problem?
Python 3.9 is now officially out 🎉 https://docs.python.org/3.9/whatsnew/3.9.html
We probably should aim to support it soon-ish?
Currently waiting on 3.9 to be released on conda before a test PR can be raised.
Additional context
Related issue: #2688
The text was updated successfully, but these errors were encountered: