-
Notifications
You must be signed in to change notification settings - Fork 102
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
Removal of python-future compatibility #6377
Conversation
For numerical division, use / when the result is expected to be a float or // when the floor division is desired For path concatenation, use / systematically
1923167
to
2cab58d
Compare
|
For OMERO.fs, I don't think it's an import
For the CLI tag test, I left the import as the
|
The changes look good |
Which use case are we trying to solve here? To the best of my knowledge of the GitHub workflows are executing the tests so I am not even sure the Python Ice bindings are a requirements for building. |
It is when you build the gateway. |
Building with 3.12 leads to
see https://github.com/jburel/openmicroscopy/actions/runs/8302622326/job/22725266554 |
Thanks @jburel, the
|
@sbesson I have pushed commits to your PR so we run the build with Python 3.10, 3.11 an 3.12 |
See also ome/omero-py#390
This PR reviews and cleans up all the code ensuring Python 2/3 compatibility including:
future
andpast
modulessys.version
builtins