Skip to content

[21009] Do not require PYTHON_VERSION to be defined in .bat files (backport #4770)#4798

Merged
EduPonz merged 1 commit into2.13.xfrom
mergify/bp/2.13.x/pr-4770
May 24, 2024
Merged

[21009] Do not require PYTHON_VERSION to be defined in .bat files (backport #4770)#4798
EduPonz merged 1 commit into2.13.xfrom
mergify/bp/2.13.x/pr-4770

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented May 17, 2024

Description

@MiguelCompany identified an error introduced in #4759 as the PYTHON_VERSION does not necessarily need to be defined when executing the fastdds.bat or ros-discovery.bat scripts.
The change simply requires a specific version of Python only if PYTHON_VERSION is defined.

Tested on Windows.

@Mergifyio backport 2.14.x 2.13.x

Cherry-pick on #4765 and #4766

Contributor Checklist

  • Commit messages follow the project guidelines.

  • The code follows the style guidelines of this project.

  • N/A Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally

  • N/A Any new/modified methods have been properly documented using Doxygen.

  • N/A Any new configuration API has an equivalent XML API (with the corresponding XSD extension)

  • Changes are ABI compatible.

  • Changes are API compatible.

  • N/A New feature has been added to the versions.md file (if applicable).

  • N/A New feature has been documented/Current behavior is correctly described in the documentation.

  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • N/A Check CI results: changes do not issue any warning.
  • N/A Check CI results: failing tests are unrelated with the changes.

This is an automatic backport of pull request #4770 done by [Mergify](https://mergify.com).

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit 39e8957)
@MiguelCompany MiguelCompany added this to the v2.13.5 milestone May 17, 2024
@MiguelCompany MiguelCompany self-requested a review May 17, 2024 05:40
@github-actions github-actions bot added the ci-pending PR which CI is running label May 17, 2024
@JesusPoderoso
Copy link
Copy Markdown
Contributor

@richiprosima please test this

@JesusPoderoso JesusPoderoso self-requested a review May 20, 2024 06:03
Copy link
Copy Markdown
Contributor

@JesusPoderoso JesusPoderoso left a comment

Choose a reason for hiding this comment

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

LGTM

@JesusPoderoso
Copy link
Copy Markdown
Contributor

Ci issues seem unrelated to the PR.
Ready to Merge!

@JesusPoderoso JesusPoderoso added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. first-to-merge and removed ci-pending PR which CI is running labels May 21, 2024
@EduPonz EduPonz merged commit db64268 into 2.13.x May 24, 2024
@EduPonz EduPonz deleted the mergify/bp/2.13.x/pr-4770 branch May 24, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

first-to-merge ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants