Skip to content
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.11 to the testing matrix #22

Merged
merged 5 commits into from
Jan 17, 2024
Merged

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Oct 26, 2023

Companion to ome/omero-py#385, this PR makes the minimal set of adjustements to test omero-dropbox on Python 3.11.

The mox3 library is removed in favor of the standard library mock module and installed via pytest-mock. As a bonus, most of the unit tests currently marked as broken as reactivated and should be passing on Python 3.8-3.11.

While the changes do not strictly depend on ome/omero-py#385, both PRs will need to be deployed together in order to functionally test an OMERO.server with Dropbox in a Python 3.11 environment.

@sbesson sbesson requested a review from jburel October 26, 2023 16:01
@sbesson
Copy link
Member Author

sbesson commented Oct 26, 2023

Looks like the GitHub workflows have been deactivated due to the 60 days inactivity period.

@jburel jburel closed this Oct 26, 2023
@jburel jburel reopened this Oct 26, 2023
@jburel
Copy link
Member

jburel commented Oct 27, 2023

pytest-mock this should be added to the ttests_require section in setup.py (note that ``mox3 was not there)

.github/workflows/tox.yml Outdated Show resolved Hide resolved
@sbesson sbesson requested a review from jburel January 17, 2024 16:06
@jburel jburel merged commit 5863350 into ome:master Jan 17, 2024
5 checks passed
@sbesson sbesson deleted the python311 branch January 17, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants