Skip to content

Pin Thor to < 1.3.0 to fix test failures related to aliases#6815

Merged
clintoncwolfe merged 1 commit into
mainfrom
vj/pin-thor-version
Oct 23, 2023
Merged

Pin Thor to < 1.3.0 to fix test failures related to aliases#6815
clintoncwolfe merged 1 commit into
mainfrom
vj/pin-thor-version

Conversation

@Vasu1105

@Vasu1105 Vasu1105 commented Oct 20, 2023

Copy link
Copy Markdown
Contributor

Description

In Thor's recent release version 1.3.0 they introduced changes related to aliases here rails/thor#800
that started breaking the inspec test for aliases. This PR pins the version of Thor to be < 1.3.0 and then we can identify the impact of the Thor changes in InSpec and then remove the pinning.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

Checklist:

  • I have read the CONTRIBUTING document.

@Vasu1105 Vasu1105 requested a review from a team as a code owner October 20, 2023 08:11
@Vasu1105 Vasu1105 requested review from Nik08 and ahasunos October 20, 2023 08:11
@netlify

netlify Bot commented Oct 20, 2023

Copy link
Copy Markdown

Deploy Preview for chef-inspec canceled.

Name Link
🔨 Latest commit 7583474
🔍 Latest deploy log https://app.netlify.com/sites/chef-inspec/deploys/653677da4706af0008d983e0

@ahasunos ahasunos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is one of the potential fix which fixes the CI test. Thor 1.3.0 released recently breaks our current test.

If we are sure that fixing only the test is not going to affect our other functionality, we can go ahead and fix the test and remove the constraint to use thor below 1.3.0

@ahasunos

Copy link
Copy Markdown
Contributor

This will require a backport to inspec-5 and inspec-4

…) which started breaking the test. Till we find if recent release is stable and don't break any functionality we are pinning thor to < 1.3.0

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
@Vasu1105 Vasu1105 force-pushed the vj/pin-thor-version branch from d7a6ea9 to 7583474 Compare October 23, 2023 13:40
@clintoncwolfe clintoncwolfe merged commit e161ee8 into main Oct 23, 2023
@clintoncwolfe clintoncwolfe deleted the vj/pin-thor-version branch October 23, 2023 17:00
chef-expeditor Bot pushed a commit that referenced this pull request Oct 23, 2023
Obvious fix; these changes are the result of automation not creative thinking.
Nik08 pushed a commit that referenced this pull request Sep 13, 2024
…) which started breaking the test. Till we find if recent release is stable and don't break any functionality we are pinning thor to < 1.3.0 (#6815)

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Nik08 pushed a commit that referenced this pull request Sep 13, 2024
Obvious fix; these changes are the result of automation not creative thinking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants