Skip to content

Maintenance updates#249

Merged
corviday merged 23 commits intomasterfrom
py-sprint-25q1
Jun 12, 2025
Merged

Maintenance updates#249
corviday merged 23 commits intomasterfrom
py-sprint-25q1

Conversation

@corviday
Copy link
Contributor

@corviday corviday commented May 14, 2025

Task list:

  • Update to python 3.12
  • Update to PEP 621
  • Use new modelmeta version
  • Use new geospatial-python version
  • get Sphinx working with pyproject.toml
  • fix sphinx errors

This should not be merged until the changes to modelmeta and geospatial python are merged and new versions released for use.

resolves #245

@corviday corviday marked this pull request as draft May 14, 2025 01:05
jameshiebert and others added 20 commits May 19, 2025 12:08
Previous version of numpy didn't conform to PEP517 and failed to install
This gets us a lot more deprecation warnings
No specific purpose... just future-proofing
New versions of SQLAlchemy and Flask-SQLAlchemy don't allow
instantiating a flask app and then using it in the tests.

"RuntimeError: A 'SQLAlchemy' instance has already been registered on
this Flask app. Import and use that instance instead."
Removed Python 3.8 support since a) it's end-of-life and b) it is not
supported by new versions of flask and flask-sqlalchemy. Made minor
changes to the app setup procedure, so that the app (and the test_app)
get configured *before* extensions are initialized.
@corviday
Copy link
Contributor Author

corviday commented Jun 10, 2025

End to end climate explorer maintenance updates test:

  • delete some files from the test database
  • reindex files into the test database with new modelmeta
  • assign files to relevant ensembles
  • set up demo instance on beehive using the test database and this branch (including new modelmeta and geospatial-python)
  • make sure reindexed files are usable

@corviday
Copy link
Contributor Author

Demo looks good (the removed and reindexed data is all the pcic12 RP data). Next steps are to review and merge modelmeta and geospatial-python, update this branch, and then review and merge this one.

@corviday corviday marked this pull request as ready for review June 12, 2025 01:27
@corviday
Copy link
Contributor Author

Includes newly released versions of modelmeta and geospatial-python, and is hopefully ready to go.

@corviday corviday requested a review from QSparks June 12, 2025 01:28
Copy link
Contributor

@jameshiebert jameshiebert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@rod-glover rod-glover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just one question as noted.

@corviday corviday merged commit d27ab68 into master Jun 12, 2025
2 of 3 checks passed
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.

thredds tests need rewritten

4 participants