Skip to content

TRT-635: Update to harmony-service-lib-py==2.8.0.#38

Merged
owenlittlejohns merged 2 commits intomainfrom
TRT-635-harmony-service-lib-update
Sep 22, 2025
Merged

TRT-635: Update to harmony-service-lib-py==2.8.0.#38
owenlittlejohns merged 2 commits intomainfrom
TRT-635-harmony-service-lib-update

Conversation

@owenlittlejohns
Copy link
Copy Markdown
Member

Description

This PR updates the harmony-serivce-lib-py dependency (and pystac to make sure that everything still works). There are minimal meaningful updates beyond import paths being changed and one place where there was a fallback for authorisation (back when EDL credentials were still an option within the service). That's no longer supported, though, and was already on the way to deprecation when this code was using it.

I also removed the extraneous fetch-tags argument from the CI/CD, following the demonstration from @flamingbear that it was unnecessary with fetch-depth: 0.

Jira Issue ID

N/A

Local Test Steps

  • Pull this branch.
  • Build the image and run the tests: ./bin/build-image && ./bin/build-test && ./bin/run-test. All tests should pass.
  • Start your local Harmony in a Box, using this service (LOCALLY_DEPLOYED_SERVICES=harmony-gdal-adapter)
  • Run the HGA regression tests notebook locally against harmony_host_url='http://localhost:3000'. All tests should still pass.

PR Acceptance Checklist

  • Jira ticket acceptance criteria met.
  • version.txt and CHANGELOG.md updated if any service code is changed.
  • Tests added/updated and passing.
  • Documentation updated (if needed).

@owenlittlejohns
Copy link
Copy Markdown
Member Author

The Snyk scans initially failed because bumping the dependencies made them no longer compatible with Python 3.9. But the service image is using Python 3.11, so I've added the .snyk configuration file to try and make Snyk use the correct Python version.

Comment thread requirements.txt
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I didn't do anything to the other dependencies - primarily because this PR is really just meant to see if the CI/CD updates work, and bumping harmony-service-lib was on my list of obvious things to update soon.

Message({"format": {"mime": "application/x-netcdf4"}}), "", None
Message({"format": {"mime": "application/x-netcdf4"}}),
config=self.config,
catalog=None,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

A good next step would be to use a pystac.Catalog object here, as Harmony expects. But at least there is a proper Config object now.

Copy link
Copy Markdown
Member

@flamingbear flamingbear left a comment

Choose a reason for hiding this comment

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

All of these changes make sense. tests passed and regressions against localhost also passed.

Copy link
Copy Markdown
Member

@flamingbear flamingbear left a comment

Choose a reason for hiding this comment

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

Oops, approved

@owenlittlejohns owenlittlejohns merged commit bf0e796 into main Sep 22, 2025
4 checks passed
@owenlittlejohns owenlittlejohns deleted the TRT-635-harmony-service-lib-update branch September 22, 2025 22:34
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