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

Fixup for change to find_package(Python3) (#610) #617

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

bartlettroscoe
Copy link
Member

@bartlettroscoe bartlettroscoe commented Oct 9, 2024

See commits and commit messages for details

When changing to find_package(Python3) (see #610), the variable
PYTHON_VERSION_MAJOR no longer gets set.  That caused HAS_PYTHON3 to get set
to FALSE and for the test TriBITS_sphinx_rst_generator_UnitTests to not get
enabled (but is actually disabled using property DISABLED).

NOTE: The CDash feature that reports when tests go missing caught this
problem!  (I never noticed that when doing local testing).  Here is what that
CDash email looked like:

----

Summary: [tribits-checkins] FAILED (m=1): TriBITS/TriBITS -
tribits_cmake-3.25.2_makefiles_python-3.8_g++-11 - Continuous

A submission to CDash for the project TriBITS has missing tests. You have been
identified as one of the authors who have checked in changes that are part of
this submission or you are listed in the default contact list.

Details on the submission can be found at https://my.cdash.org/build/2685504.

Project: TriBITS
SubProject: TriBITS
Site: ubuntu-latest
Build Name: tribits_cmake-3.25.2_makefiles_python-3.8_g++-11
Build Time: 2024-10-09 16:55:55
Type: Continuous
Total Missing Tests: 1

*Missing Tests*
TriBITS_sphinx_rst_generator_UnitTests (https://my.cdash.org/viewTest.php?buildid=2685505)

-CDash

----

That is such a nice feature!
rabartlett1972
rabartlett1972 previously approved these changes Oct 9, 2024
Copy link
Collaborator

@rabartlett1972 rabartlett1972 left a comment

Choose a reason for hiding this comment

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

Allow to merge if passes tests

…UTABLE (#610)

This typo did not get discovered on the PR review that added this.
Now this is safer to run on a project's entire source tree and it is
documented to explain what this is for.
@bartlettroscoe bartlettroscoe changed the title Fix check for Python3 (#610) Fixup for change to find_package(Python3) (#610) Oct 10, 2024
Copy link
Collaborator

@rabartlett1972 rabartlett1972 left a comment

Choose a reason for hiding this comment

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

I fixed some problems not found in the review of #616. I need a few days to review something that I have written.

@bartlettroscoe bartlettroscoe merged commit 807a598 into master Oct 10, 2024
6 checks passed
bartlettroscoe added a commit to trilinos/Trilinos that referenced this pull request Oct 10, 2024
Origin repo remote tracking branch: 'github/master'
Origin repo remote repo URL: 'github = [email protected]:TriBITSPub/TriBITS.git'
Git describe: tribits_start-3502-g28a36351

At commit:

commit 3dca096437acbb7a16b88bee7d9569bccd8e6317
Author:  Samuel E. Browne <[email protected]>
Date:    Thu Jun 6 15:26:15 2024 -0600
Summary: Add Python3 requirement to user guide (#610)

Mostly, this was done to brings in the changes for transitioning to
find_package(Python3) (see TriBITSPub/TriBITS#610).

But the full set of TriBITS PRs merged in were:

* TriBITSPub/TriBITS#608 sebrowne/python3
* TriBITSPub/TriBITS#617 TriBITSPub/610-python3-2
* TriBITSPub/TriBITS#616 bartlettroscoe/610-python3
* TriBITSPub/TriBITS#615 bartlettroscoe/enable-disable-doc-update-2024-08-29
* TriBITSPub/TriBITS#611 bartlettroscoe/tril-13133-TriBITS-Update-License-and-Copyright-2
* TriBITSPub/TriBITS#614 bartlettroscoe/tribits-updates-2024-08-01
* TriBITSPub/TriBITS#613 TriBITSPub/612-improve-tribits-version-error
* TriBITSPub/TriBITS#609 bartlettroscoe/tril-13133-TriBITS-Update-License-and-Copyright
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this pull request Oct 11, 2024
Origin repo remote tracking branch: 'github/master'
Origin repo remote repo URL: 'github = [email protected]:TriBITSPub/TriBITS.git'
Git describe: tribits_start-3502-g28a36351

At commit:

commit 3dca096437acbb7a16b88bee7d9569bccd8e6317
Author:  Samuel E. Browne <[email protected]>
Date:    Thu Jun 6 15:26:15 2024 -0600
Summary: Add Python3 requirement to user guide (trilinos#610)

Mostly, this was done to brings in the changes for transitioning to
find_package(Python3) (see TriBITSPub/TriBITS#610).

But the full set of TriBITS PRs merged in were:

* TriBITSPub/TriBITS#608 sebrowne/python3
* TriBITSPub/TriBITS#617 TriBITSPub/610-python3-2
* TriBITSPub/TriBITS#616 bartlettroscoe/610-python3
* TriBITSPub/TriBITS#615 bartlettroscoe/enable-disable-doc-update-2024-08-29
* TriBITSPub/TriBITS#611 bartlettroscoe/tril-13133-TriBITS-Update-License-and-Copyright-2
* TriBITSPub/TriBITS#614 bartlettroscoe/tribits-updates-2024-08-01
* TriBITSPub/TriBITS#613 TriBITSPub/612-improve-tribits-version-error
* TriBITSPub/TriBITS#609 bartlettroscoe/tril-13133-TriBITS-Update-License-and-Copyright

Signed-off-by: Roscoe A. Bartlett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants