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

Maya is no longer using a Preview Release number #3602

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

seando-adsk
Copy link
Collaborator

Remove code (currently not used) that detected this.

Remove code (currently not used) that detected this.
Comment on lines -264 to -271
if(MAYA_INCLUDE_DIRS AND EXISTS "${MAYA_INCLUDE_DIR}/maya/MDefines.h")
file(STRINGS ${MAYA_INCLUDE_DIR}/maya/MDefines.h MAYA_PREVIEW_RELEASE_VERSION REGEX "#define MAYA_PREVIEW_RELEASE_VERSION.*$")
if(MAYA_PREVIEW_RELEASE_VERSION)
string(REGEX MATCHALL "[0-9]+" MAYA_PREVIEW_RELEASE_VERSION ${MAYA_PREVIEW_RELEASE_VERSION})
else()
set(MAYA_PREVIEW_RELEASE_VERSION 0)
endif()
endif()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This file will be removed from future versions of Maya, so remove the check for it. We currently aren't using any preview release checks.

@@ -250,43 +247,6 @@ def createSingleSphereMayaScene(directory=None):
cmds.file(save=True, force=True, type='mayaAscii')
return tempMayaFile

def previewReleaseVersion():
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Completely removed this helper - its currently not used. We have other methods for detecting how to check for things in tests (ufe support fix level, etc).

@seando-adsk seando-adsk added build Related to building maya-usd repository unit test Related to unit tests (both python or c++) and removed build Related to building maya-usd repository labels Feb 8, 2024
@seando-adsk seando-adsk self-assigned this Feb 8, 2024
@seando-adsk
Copy link
Collaborator Author

Prefight failure was a test (GTest:AL_USDTransactionTests) timeout error on one particular run. Unrelated to my changes.

@seando-adsk seando-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 8, 2024
@seando-adsk seando-adsk merged commit d334faf into dev Feb 8, 2024
10 of 11 checks passed
@seando-adsk seando-adsk deleted the donnels/remove_maya_pr_checks branch February 8, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge unit test Related to unit tests (both python or c++)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants