Replies: 2 comments 9 replies
-
When it comes to which Python versions to support, my suggestion would be to stick to the list of versions the PSF still supports. e.g.
We can set things up so the GitHub action that executes PyTest runs consecutively for each supported Python version, I've been given access to try out GitHub actions on our public organisation and was planning on putting together a demo for a couple of other items in the codecamps next week, so I'll add this one to the list. Australian Synchrotron's standard at the moment for active projects is to require Python 3.9+ compatibility, this will likely change to Python 3.10 when Python 3.11 is released next month. For the most part we've been running MXCuBE core without issue on Python 3.9 and earlier this year I ran some tests with Python 3.10 and saw no issues there. |
Beta Was this translation helpful? Give feedback.
-
I would suggest that each site makes a summary of what their current situation is when it comes to mxcube version, environment it runs in and plans for updating. I could make a form/sheet for each site to fill in that would give us an idea of where we currently are that we then can start to discuss during our next developers meeting (in October). When it comes to python version, I agree with @oldfielj-ansto that it seems very reasonable to support the officially maintained/supported Python versions being 3.7-3.11. It would in my opinion require something very exceptional for excluding a officially maintained python version. @pkeller: I think the issue they had is that when calling an underlying C library in this case wxWidgets certain arguments are not coerced from float to int (so the type of the argument will be wrong). I'm not completely certain though, maybe you have some more information. I don't think it will effect us (perhaps older Qt bindings, but I doubt that it would be an issue in Qt5/6) @oldfielj-ansto, all: Ive revived our CI with GitHub Actions, so there is now a basic Build and test workflow . It tests against python 3.7-3.10. It was done very quickly and there is plenty of room for improvements, so we are happy to see what you guys are doing. Also, feel free to play with our GitHub Actions if it can help you to test things, Ill give you access (let me know if it does not work) :) |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I missed the August meeting where this was on the agenda, but it would be good if we could discuss how we are planning to move towards using a common branch at the different beam lines. There are separate discussions for mxcubecore and mxcubeqt.
I do have a selfish interest: I am trying to integrate the GPhL workflow at different beamlines, and currently I have to code independently in four completely different branches: ALBA, EMBL-Hamburg, ESRF, and SOLEIL. Having one branch that many/all beamlines were at least close to would be a huge help. Of course upgrading production code is a lot of work, but it would be useful to agree on what we are aiming at and how current plans look.
mxcubecore/develop is the official leading branch. It is shared between all of us, and is being regularly updated, mainly by work at the ESRF. How far would people be from adopting it, and are there things we need to sort out? What are people's plans? Could we agree on versions for dependencies - which version of Python to use, before anything else?
Beta Was this translation helpful? Give feedback.
All reactions