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

Update Python from 3.10.x to 3.12.0 #2697

Open
8 of 27 tasks
jprestop opened this issue Sep 18, 2024 · 1 comment
Open
8 of 27 tasks

Update Python from 3.10.x to 3.12.0 #2697

jprestop opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue component: external dependency External dependency issue priority: high High Priority requestor: NOAA/EMC NOAA Environmental Modeling Center required: FOR OFFICIAL RELEASE Required to be completed in the official release for the assigned milestone type: task An actionable item of work
Milestone

Comments

@jprestop
Copy link
Collaborator

jprestop commented Sep 18, 2024

Describe the Task

In the METplus User's Telecon on 20241209, it was recommended by EMC that our team tries out a switch to 3.12 for METplus-6.1.0 and see how it goes and reports back. Note that it is important to use specifically Python 3.12.0 (and not later versions) as 3.12.0 is all that is available on WCOSS2. If we find there are problems, we can report back to NCO to see if they are willing to update their version.

Python needs to be updated from Python 3.10 to Python 3.12.x, consistent with the version on the NCEP/NCO WCOSS2 hosts.

Review the package versions in our requirements.txt files when making this update. Ensure that there are no problems with Python Embedding with MET.

A link to the Python versions and dates : https://devguide.python.org/versions/

Time Estimate

Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.

Sub-Issues

For the METplus Analysis Tools:

  • Upgrade other modules (i.e. pandas, numpy, matplotlib, plotly, etc.) to Python 3.12-compatible versions and make necessary changes
  • test/verify for METcalcpy
  • test/verify for METplotpy
  • update the requirements in the NCO and repository requirements.txt and toml files

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Review default alert labels
  • Select component(s)
  • Select priority
  • Select requestor(s)

Milestone and Projects

  • Select Milestone as a METplus-Wrappers-X.Y.Z version, Consider for Next Release, or Backlog of Development Ideas
  • For a METplus-Wrappers-X.Y.Z version, select the METplus-Wrappers-X.Y.Z Development project

Define Related Issue(s)

Consider the impact to the other METplus components.
This change needs to be made across all repositories

Task Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Add any new Python packages to the METplus Components Python Requirements table.
  • For any new datasets, an entry to the METplus Verification Datasets Guide.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Development issue
    Select: Milestone as the next official version
    Select: METplus-Wrappers-X.Y.Z Development project for development toward the next official release
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.
@jprestop jprestop added priority: high High Priority requestor: NOAA/EMC NOAA Environmental Modeling Center type: task An actionable item of work alert: NEED ACCOUNT KEY Need to assign an account key to this issue component: external dependency External dependency issue required: FOR OFFICIAL RELEASE Required to be completed in the official release for the assigned milestone labels Sep 18, 2024
@jprestop jprestop added this to the METplus-6.1.0 milestone Sep 18, 2024
@georgemccabe
Copy link
Collaborator

@John-Sharples suggested to review the package versions in our requirements.txt files when making this update.

@github-project-automation github-project-automation bot moved this to 🩺 Needs Triage in MET-12.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🩺 Needs Triage to 🟢 Ready in MET-12.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🟢 Ready to 🚧 Stalled in MET-12.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🟢 Ready to 🚧 Stalled in METplus-Analysis-6.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🟢 Ready to 🚧 Stalled in METplus-Wrappers-6.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🚧 Stalled to 🩺 Needs Triage in MET-12.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🚧 Stalled to 🩺 Needs Triage in METplus-Analysis-6.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🚧 Stalled to 🩺 Needs Triage in METplus-Wrappers-6.1.0 Development Nov 14, 2024
@JohnHalleyGotway JohnHalleyGotway moved this from 🩺 Needs Triage to 🛑 Not Ready in METplus-Analysis-6.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🩺 Needs Triage to 🛑 Not Ready in MET-12.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🩺 Needs Triage to 🛑 Not Ready in METplus-Wrappers-6.1.0 Development Nov 14, 2024
@jprestop jprestop moved this from 🛑 Not Ready to 🟢 Ready in MET-12.1.0 Development Dec 9, 2024
@jprestop jprestop moved this from 🛑 Not Ready to 🟢 Ready in METplus-Analysis-6.1.0 Development Dec 9, 2024
@jprestop jprestop moved this from 🛑 Not Ready to 🟢 Ready in METplus-Wrappers-6.1.0 Development Dec 9, 2024
@jprestop jprestop changed the title Update Python from 3.10.x to 3.12.x Update Python from 3.10.x to 3.12.0 Dec 9, 2024
@JohnHalleyGotway JohnHalleyGotway moved this from 🟢 Ready to 🩺 Needs Triage in MET-12.1.0 Development Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alert: NEED ACCOUNT KEY Need to assign an account key to this issue component: external dependency External dependency issue priority: high High Priority requestor: NOAA/EMC NOAA Environmental Modeling Center required: FOR OFFICIAL RELEASE Required to be completed in the official release for the assigned milestone type: task An actionable item of work
Projects
Status: 🩺 Needs Triage
Status: 🟢 Ready
Status: 🟢 Ready
Development

No branches or pull requests

4 participants