Skip to content

Conversation

sudha-murthy
Copy link
Contributor

Description

Update python version to 3.12 and also update the supporting packages. The default group in conda environment was already removed in DAS-2361

Jira Issue ID

DAS-2389

Local Test Steps

  • git clone the current branch
  • do
    bin/build-image,
    bin/build-test,
    bin/run-test
  • All the tests should complete successfully.

PR Acceptance Checklist

  • [X ] Jira ticket acceptance criteria met.
  • [ X] CHANGELOG.md updated to include high level summary of PR changes.
  • [X ] docker/service_version.txt updated if publishing a release.
  • [X ] Tests added/updated and passing.
  • [X ] Documentation updated (if needed).

@sudha-murthy sudha-murthy requested a review from a team August 21, 2025 17:52
Copy link
Contributor

@joeyschultz joeyschultz left a comment

Choose a reason for hiding this comment

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

This looks good to me. I ran the unit tests and they all succeeded. I have one nit about whether we have an unnecessary addition to the pip_test_requirements.txt, but I'll give my approval as I don't find that to be a blocking comment.

pre-commit~=4.2.0
pycodestyle~=2.14.0
pylint ~= 3.3.7
astroid ~= 3.3.10
Copy link
Contributor

Choose a reason for hiding this comment

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

I notice that astroid is now listed in pip_test_requirements as an explicit dependency. I think we could remove it and allow pylint to handle it unless there is a specific need for it that I'm not aware of.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will recheck.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it - 62e8584

RUN conda create -y --name hoss --file conda_requirements.txt python=3.11 -q \
--channel conda-forge \
--override-channels
RUN conda config --remove channels defaults
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need the RUN conda config --remove channels defaults if you are creating a new instance of a docker image?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no. I think it is there to remove any old ones

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it - 62e8584

Copy link
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.

It looks like I had a lot of the same comments that other people did. Did you also verify the regression tests are all still passing? both the regression and internal ones?

edited: I'm going to guess no?

AssertionError: Test output does not match reference file, HOSS bounding box spatial, 3-D (well ordered) request.

3 of the regressions failed.

RUN conda create -y --name hoss --file conda_requirements.txt python=3.11 -q \
--channel conda-forge \
--override-channels
RUN conda config --remove channels defaults
Copy link
Member

Choose a reason for hiding this comment

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

This is overkill since you have --override-channels on the next command, but it doesn't hurt I guess.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it -62e8584

Copy link
Member

Choose a reason for hiding this comment

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

There are no changes to the functionality of the service, this should be a patch version probably?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated it - bd2f805

pre-commit~=4.2.0
pycodestyle~=2.14.0
pylint ~= 3.3.7
astroid ~= 3.3.10
Copy link
Member

Choose a reason for hiding this comment

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

Why did you need to add asteroid? seems like we don't import it anywhere and you can build and run the tests without it explicitly added here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought I needed it. will recheck.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it. - 62e8584

CHANGELOG.md Outdated
## v1.2.0
### 2025-08-21

This version of HOSS updates the consa environment to support Python 3.12. This also updates the
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This version of HOSS updates the consa environment to support Python 3.12. This also updates the
This version of HOSS updates the conda environment to support Python 3.12. This also updates the

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated - 62e8584

CHANGELOG.md Outdated
### 2025-08-21

This version of HOSS updates the consa environment to support Python 3.12. This also updates the
dependent packages to their latest supportable versions. Also updates harmony library version.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
dependent packages to their latest supportable versions. Also updates harmony library version.
dependent packages to their latest supportable versions. Also updates Harmony Service Library version.

But that's still not a complete sentence.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated - 62e8584

@sudha-murthy
Copy link
Contributor Author

sudha-murthy commented Aug 22, 2025

It looks like I had a lot of the same comments that other people did. Did you also verify the regression tests are all still passing? both the regression and internal ones?

edited: I'm going to guess no?

AssertionError: Test output does not match reference file, HOSS bounding box spatial, 3-D (well ordered) request.

3 of the regressions failed.

Which ones failed for you Matt?
The Harmony regression tests for HOSS passed for me.
Ran a couple of the DAS harmony regression tests for SMAP . Those passed as well

@flamingbear
Copy link
Member

Which ones failed for you Matt?
The Harmony regression tests for HOSS passed for me.

I rebuilt both hoss and maskfill from the branches, and they pass now. don't know what that was from. sorry.

@sudha-murthy
Copy link
Contributor Author

Which ones failed for you Matt?
The Harmony regression tests for HOSS passed for me.

I rebuilt both hoss and maskfill from the branches, and they pass now. don't know what that was from. sorry.

Let me know if anything else needs to be updated for PR to be approved.

Copy link
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.

thanks for the updates. Looks alright to me now.

@sudha-murthy sudha-murthy merged commit eae00a9 into main Aug 25, 2025
4 checks passed
@sudha-murthy sudha-murthy deleted the DAS-2389 branch August 25, 2025 13:24
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.

4 participants