-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix Windows regression in omero_ext.path #402
Conversation
This partly reverts commit efbb1a4 which disabled the CI builds on Windows 2022 as Ice 3.6.5 requires additional patches for building and led to some regression in the Python 3.12 support work. This commit reintroduced Windows 2019 as a target operating system with a Python version (3.9) with >1 year of support. It also upgrade GitHub actions for Node.js 20.
The try/except block was removed in f054810 which led to regression on Windows systems where pwd is not installed.
Access to windows can be limited for testing, we should probably re-activate the build on windows via GHA and disable the table tests which were the source of the problem last time |
I don't understand, isn't that exactly what this PR does? |
Sorry I missed the line when checking the action. |
@sbesson I think I have a Windows testing system (MyDesktop provided by UoD) where I can install from conda (ie. I can successfully install omero-py release as
So I think if it is of interest, I could test an artifact from, say conda-forge which you could push in from this PR ? But if the GHA test is sufficient, then we can leave it too. |
Do you have a more precise warning of what is actually failing? You don't need
Is there some pre-built mechanism to do that? I could certainly build a wheel package from this PR if that's useful. |
I checked out this PR locally and installed ( |
@sbesson thanks, on a second look, I think already my git clone cmd failed (which I did not see on Friday, sorry)
Further, my experience with the fresh release install of omero-py using anaconda on this Windows VM is that the login to omero works. I will approve, this ^^^ seems just too hard to crack. |
135a712 partly reverts commit efbb1a4 which disabled the CI builds on Windows 2022 as Ice 3.6.5 requires additional patches for building and led to some regression in the Python 3.12 support work. This commit reintroduces Windows 2019 as a target operating system with a Python version (3.9) with > 1 year of support. It also upgrade the underlying GitHub actions for Node.js 20.
8f16016 reintroduces the try/except block removed in f054810 which led to regression on Windows systems where pwd is not installed.
Usin a Windows system using OMERO.py 5.19.0, any script or command e.g.
omero login
trying to importomero_ext.path
should fail with aModuleNotFoundError
. With this PR, the same script or command should complete successfully.Given it is a regression, proposing to schedule this for an emergency
5.19.1
patch release once testing is complete./cc @mabruce @erindiel