-
Notifications
You must be signed in to change notification settings - Fork 94
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
feature prepared for py311 #1923
Conversation
Tests not suceeded, a segfault stops it in a way that it looks good tests/_test_mscolab/test_file_manager.py::Test_FileManager::test_fetch_operation_creator |
we need to lookup for grid_b, test_mss_plot_driver.py triggers this
|
We missed the deprecation in matplotlib 3.5 |
interestingly this version now shows the test which blocks all tests |
@@ -96,7 +96,7 @@ jobs: | |||
&& source /opt/conda/etc/profile.d/conda.sh \ | |||
&& source /opt/conda/etc/profile.d/mamba.sh \ | |||
&& mamba activate mss-${{ inputs.branch_name }}-env \ | |||
&& pytest -vv -n 6 --dist loadfile --max-worker-restart 0 tests \ | |||
&& pytest -vv -n 6 --dist loadfile --max-worker-restart 4 tests \ | |||
|| (for i in {1..5} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solves the situation when a worker errors. without all tests of that worker in the queue would be skipped
- pygeoif <1.0.0 | ||
- isodate | ||
- lxml | ||
- netcdf4 | ||
- hdf4 | ||
- pillow | ||
- pytz | ||
- pyqt >=5, <5.13 | ||
- qt >=5.10, <5.13 | ||
- pyqt >=5.15.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is needed to get recent python versions used. This also enables updating a lot dependent packages.
# empty http_auth definition | ||
server_url = "http://example.com" | ||
http_auth = config_loader(dataset="MSS_auth") | ||
assert http_auth == {} | ||
data = auth.get_auth_from_url_and_name(server_url, http_auth, overwrite_login_cache=False) | ||
assert data == (None, None) | ||
# checking if the test setup changes this | ||
assert constants.AUTH_LOGIN_CACHE == {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test on github sometimes seems like to have a bias from another test, related to TestMigration. It happens only here in serial tests. And it does not happen on each run. In that case at some point constants.AUTH_LOGIN_CACHE is not empty.
I cannot get this to build with python 3.11, boa itself seems to break:
leads to:
|
@@ -243,7 +243,6 @@ def fail_if_open_message_boxes_left(): | |||
except RuntimeError: | |||
pass | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems wrong to me. Top-level functions should be separated by 2 newlines according to pep8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ouch, but there are more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
mamba install python=3.11
mamba mambabuild .
mamba install --use-local mss
worked and after installing the dev dependencies the test suite passes as well. Starting msui looked good too.
Are there any blockers to get this up to py312 as well? I couldn't get my steps to work when I change 3.11 to 3.12, for some reason it tries to install an ancient mss version in the last step (mss-1.2.1-py27_0).
interesting, some other than in the recipe - xmlschema <2.5.0 helps, but we should have a fix upstream |
once we can build basemap for py312 we can try |
The PR enables python 3.11
Fixes #1750
Does this PR introduce a breaking change?
This PR enables newer packages of matplotlib, qt and their dependencies
If the changes in this PR are manually verified, list down the scenarios covered::
a build by boa was verified
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Does this PR results in some Documentation changes?
If yes, include the list of Documentation changes
Checklist:
<type>: <subject>