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

Build failing due to problem with actions/setup-python & Python 3.7 #1802

Closed
3 of 5 tasks
tomviner opened this issue Oct 14, 2024 · 6 comments
Closed
3 of 5 tasks

Build failing due to problem with actions/setup-python & Python 3.7 #1802

tomviner opened this issue Oct 14, 2024 · 6 comments
Labels
build issues building OTIO ci

Comments

@tomviner
Copy link
Contributor

Required:


  • I believe this isn't a duplicate topic
  • This report is not related to an adapter

Select One:

  • Build problem
  • Incorrect Functionality or bug
  • New feature or functionality

Description

The py_build_test (ubuntu-latest, 3.7) job has failed the last couple of times it ran. E.g. https://github.com/AcademySoftwareFoundation/OpenTimelineIO/actions/runs/11280378915/job/31373224050

The error message has been reported on the setup-python actions repo, by another project having the same error:
actions/setup-python#962

I can't see a recent change to Python 3.7 in the actions repo, so I'm not sure the cause. So hopefully, we can just await a fix and re-run the actions.

@reinecke reinecke added build issues building OTIO ci labels Oct 24, 2024
@jminor
Copy link
Collaborator

jminor commented Oct 25, 2024

The error message says:

Run actions/[email protected]
Version 3.7 was not found in the local cache
Error: Version 3.7 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

but that list does include 3.7 x64 for Linux.

Maybe that list changed since the failure? I pressed the "Re-run jobs" button to see if it works now.

@jminor
Copy link
Collaborator

jminor commented Oct 25, 2024

Run-running the jobs succeeded - yay!

However, from reading this actions/setup-python#962 (thanks for the link @tomviner ) it seems that we will likely encounter this again as ubuntu-latest moves forward, and older versions of Python drop off. We can either set our runners to use older Ubuntu releases, or drop support for older Python releases (or run those separately). This overlaps with OTIO/ASWF policy for which VFX Platform versions to support: https://vfxplatform.com

@reinecke or @meshula can you remind me of how many years of VFX Platform we're supposed to support?

@meshula
Copy link
Collaborator

meshula commented Oct 25, 2024

current year plus 3 reflects our current consensus. Python 3.7 has dropped off the support list by that measure. Note that 3.7 is incompatible with some platforms we support (eg, apple silicon support is in 3.9.1+).

@jminor
Copy link
Collaborator

jminor commented Oct 25, 2024

The badge on our README shows 2020-2023, so we should update that. Is "current" the calendar year (2024) or the latest VFX (2025)? That difference puts VFX 2021 w/ Python 3.7 in or out of bounds.

@jminor
Copy link
Collaborator

jminor commented Oct 25, 2024

Oh, never mind. I see that VFX 2025 is only in draft, so we should support 2024-2021.

@jminor
Copy link
Collaborator

jminor commented Oct 25, 2024

Okay, I filed this: #1804 to track the change we need to do. Since the build is working now, I'll close this issue. Thanks for flagging this @tomviner

@jminor jminor closed this as completed Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build issues building OTIO ci
Projects
None yet
Development

No branches or pull requests

4 participants