-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Enforce openjdk <=21 for all non-deprecated hmftools #52260
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 0 | ||
number: 1 | ||
run_exports: | ||
- {{ pin_subpackage("hmftools-cobalt", max_pin="x.x") }} | ||
|
||
requirements: | ||
run: | ||
- openjdk >=8 | ||
- openjdk >=8,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification OpenJDK version constraints are inconsistent across hmftools packages The verification reveals inconsistencies in OpenJDK version constraints across hmftools packages:
These inconsistencies should be addressed to maintain uniform version constraints across all hmftools packages. 🔗 Analysis chainLGTM: OpenJDK version constraint aligns with project requirements The addition of
Let's verify this change is consistent across other hmftools packages: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify OpenJDK constraints in other hmftools packages
# Expected: All non-deprecated hmftools should have the same OpenJDK constraint
# Search for OpenJDK requirements in hmftools recipes
echo "Checking OpenJDK constraints in hmftools recipes:"
fd "meta.yaml$" recipes/hmftools- --exec grep -H "openjdk" {}
Length of output: 277 Script: #!/bin/bash
# Let's try a different approach using ripgrep to find hmftools recipes
echo "Checking OpenJDK constraints in hmftools recipes:"
rg "openjdk" recipes/hmftools-.*?/meta.yaml
Length of output: 225 Script: #!/bin/bash
# First, let's find all hmftools recipes
echo "Finding hmftools recipes:"
fd "meta.yaml$" recipes | grep "hmftools-"
echo -e "\nChecking OpenJDK constraints in these recipes:"
fd "meta.yaml$" recipes | grep "hmftools-" | xargs grep -H "openjdk"
Length of output: 2345 |
||
- bioconductor-copynumber | ||
- r-dplyr | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 0 | ||
number: 1 | ||
run_exports: | ||
- {{ pin_subpackage('hmftools-isofox', max_pin="x.x") }} | ||
|
||
requirements: | ||
run: | ||
- openjdk >=8 | ||
- openjdk >=8,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification OpenJDK constraints are inconsistent across hmftools packages Several hmftools packages have different OpenJDK version constraints:
These inconsistencies should be addressed to maintain uniformity across the hmftools suite. 🔗 Analysis chainVerify OpenJDK constraint consistency across hmftools packages. The OpenJDK constraint update to Let me try a different search pattern to locate the hmftools recipes correctly. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify OpenJDK constraint consistency across hmftools packages
# Expected: All non-deprecated hmftools should use the same OpenJDK constraint
# Check OpenJDK constraints in all hmftools recipes
echo "Checking OpenJDK constraints in hmftools recipes:"
fd "meta.yaml$" recipes/hmftools- --exec grep -H "openjdk" {}
# Identify any inconsistencies in constraints
echo -e "\nChecking for inconsistent constraints:"
fd "meta.yaml$" recipes/hmftools- --exec grep -H "openjdk" {} | grep -v ">=8,<=21" || echo "No inconsistencies found"
Length of output: 619 Script: #!/bin/bash
# Description: Verify OpenJDK constraint consistency across hmftools packages
# First, let's find all hmftools recipes correctly
echo "Finding all hmftools recipes:"
fd "meta.yaml$" | grep "hmftools-"
echo -e "\nChecking OpenJDK constraints in hmftools recipes:"
fd "meta.yaml$" | grep "hmftools-" | xargs grep -H "openjdk"
echo -e "\nChecking for inconsistent constraints:"
fd "meta.yaml$" | grep "hmftools-" | xargs grep -H "openjdk" | grep -v ">=8,<=21" || echo "No inconsistencies found"
Length of output: 2834 |
||
|
||
test: | ||
commands: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,13 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 1 | ||
number: 2 | ||
run_exports: | ||
- {{ pin_subpackage('hmftools-linx', max_pin="x") }} | ||
|
||
requirements: | ||
run: | ||
- openjdk >=8 | ||
- openjdk >=8,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification OpenJDK version constraints are inconsistent across hmftools packages Several hmftools packages have different OpenJDK version constraints:
These inconsistencies should be addressed to maintain uniform version constraints across the hmftools suite. 🔗 Analysis chainVerify OpenJDK version constraint across hmftools packages. The addition of Let me try a different approach to search for the hmftools recipes. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify OpenJDK constraints in other hmftools recipes
# Expected: All non-deprecated hmftools should have the same OpenJDK constraint
# Search for all hmftools recipes and their OpenJDK requirements
echo "Checking OpenJDK constraints in hmftools recipes:"
fd --type f "meta.yaml" recipes/hmftools- --exec grep -H "openjdk" {}
# Check if any recipes have different version constraints
echo -e "\nChecking for inconsistent OpenJDK constraints:"
fd --type f "meta.yaml" recipes/hmftools- --exec grep -H "openjdk" {} | grep -v ">=8,<=21" || echo "All constraints are consistent"
Length of output: 659 Script: #!/bin/bash
# Description: Verify OpenJDK constraints in other hmftools recipes
# Using a more reliable pattern to find hmftools recipes
# Search for all hmftools recipes and their OpenJDK requirements
echo "Checking OpenJDK constraints in hmftools recipes:"
fd "meta.yaml" | grep "hmftools-" | xargs grep -H "openjdk"
# Check if any recipes have different version constraints
echo -e "\nChecking for inconsistent OpenJDK constraints:"
fd "meta.yaml" | grep "hmftools-" | xargs grep -H "openjdk" | grep -v ">=8,<=21" || echo "All constraints are consistent"
Length of output: 1953 |
||
- xorg-libxtst | ||
- r-tidyr | ||
- r-dplyr | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 0 | ||
number: 1 | ||
run_exports: | ||
- {{ pin_subpackage("hmftools-neo", max_pin="x.x") }} | ||
|
||
requirements: | ||
run: | ||
- openjdk >=8 | ||
- openjdk >=8,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Inconsistent OpenJDK constraints found across hmftools packages Several hmftools packages have different OpenJDK version constraints that need to be aligned:
All other packages correctly use 🔗 Analysis chainLGTM: OpenJDK constraint aligns with project requirements The OpenJDK version constraint
Let's verify this change is consistent across other hmftools packages: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify OpenJDK constraints in other hmftools packages
# Expected: All non-deprecated hmftools should have the same constraint
# Search for openjdk requirements in hmftools recipes
echo "Checking OpenJDK constraints in hmftools recipes:"
rg "openjdk.*[><=]" recipes/hmftools-*/meta.yaml
# Check if any hmftools recipes are missing the constraint
echo -e "\nChecking for hmftools recipes without the new constraint:"
rg -L "openjdk.*>=8,<=21" recipes/hmftools-*/meta.yaml
Length of output: 4103 |
||
|
||
test: | ||
commands: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 0 | ||
number: 1 | ||
run_exports: | ||
- {{ pin_subpackage("hmftools-peach", max_pin="x.x") }} | ||
|
||
requirements: | ||
run: | ||
- openjdk >=8 | ||
- openjdk >=8,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification OpenJDK constraint needs to be updated in several hmftools packages The verification revealed inconsistent OpenJDK version constraints across hmftools packages. The following packages need to be updated to use
🔗 Analysis chainVerify consistent OpenJDK constraints across hmftools The OpenJDK version constraint looks good and aligns with the PR objectives. Let's verify this constraint is consistently applied across all non-deprecated hmftools packages. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check OpenJDK version constraints across all hmftools recipes
# Expected: All non-deprecated hmftools should use >=8,<=21
# Search for all hmftools meta.yaml files and their openjdk constraints
echo "Checking OpenJDK constraints in hmftools recipes:"
fd "meta.yaml$" recipes/hmftools- --exec grep -H "openjdk" {}
# Look for any inconsistent constraints
echo -e "\nChecking for inconsistent constraints:"
fd "meta.yaml$" recipes/hmftools- --exec grep -L "openjdk >=8,<=21" {}
Length of output: 550 Script: #!/bin/bash
# Let's try a different approach using ripgrep to find hmftools recipes
echo "Searching for hmftools recipes and their OpenJDK constraints:"
rg -p "openjdk" "recipes/hmftools.*meta.yaml"
echo -e "\nListing all hmftools meta.yaml files to check coverage:"
rg --files "recipes" | grep "hmftools.*meta.yaml"
Length of output: 1204 Script: #!/bin/bash
# Now that we have the correct paths, let's check the OpenJDK constraints
echo "Checking OpenJDK constraints in all hmftools recipes:"
for file in recipes/hmftools-*/meta.yaml; do
echo "=== $file ==="
grep -A1 "requirements:" "$file" | grep "openjdk"
done
Length of output: 4943 Script: #!/bin/bash
# Let's try a different approach with more context lines and direct file content inspection
echo "Checking OpenJDK constraints in all hmftools recipes:"
for file in recipes/hmftools-*/meta.yaml; do
echo "=== $file ==="
grep -B2 -A2 "openjdk" "$file" || echo "No openjdk requirement found"
done
Length of output: 6022 |
||
|
||
test: | ||
commands: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,14 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 3 | ||
number: 4 | ||
run_exports: | ||
- {{ pin_subpackage('hmftools-sage', max_pin="x") }} | ||
|
||
requirements: | ||
run: | ||
- zlib | ||
- openjdk >=9 | ||
- openjdk >=9,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification OpenJDK version constraint inconsistency detected The OpenJDK version constraint
🔗 Analysis chainVerify OpenJDK version constraint consistency While the OpenJDK version constraint change aligns with the PR objectives, let's verify:
Let me try with the correct path pattern. Let me try one more time with the correct path pattern. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check OpenJDK constraints across hmftools packages
# Expected: All non-deprecated hmftools should have consistent constraints
# Check OpenJDK constraints in all hmftools meta.yaml files
echo "Checking OpenJDK constraints in hmftools packages:"
fd "meta.yaml$" recipes/hmftools- --exec grep -H "openjdk" {}
# Check if any hmftools packages specify different Java version requirements in their documentation
echo -e "\nChecking for Java version requirements in package documentation:"
fd "meta.yaml$" recipes/hmftools- --exec grep -H "java" {} || true
Length of output: 597 Script: #!/bin/bash
# Description: Check OpenJDK constraints across hmftools packages
# Expected: All non-deprecated hmftools should have consistent constraints
# Check OpenJDK constraints in all hmftools meta.yaml files
echo "Checking OpenJDK constraints in hmftools packages:"
fd "meta.yaml$" --glob "recipes/hmftools-*" --exec grep -H "openjdk" {}
# Check if any hmftools packages specify different Java version requirements in their documentation
echo -e "\nChecking for Java version requirements in package documentation:"
fd "meta.yaml$" --glob "recipes/hmftools-*" --exec grep -H "java" {} || true
Length of output: 619 Script: #!/bin/bash
# Description: Check OpenJDK constraints across hmftools packages
# Expected: All non-deprecated hmftools should have consistent constraints
# Check OpenJDK constraints in all hmftools meta.yaml files
echo "Checking OpenJDK constraints in hmftools packages:"
find recipes -type f -name "meta.yaml" -path "*/hmftools-*" -exec grep -H "openjdk" {} \;
# Check if any hmftools packages specify different Java version requirements in their documentation
echo -e "\nChecking for Java version requirements in package documentation:"
find recipes -type f -name "meta.yaml" -path "*/hmftools-*" -exec grep -H "java" {} \;
Length of output: 1719 |
||
- bioconductor-variantannotation | ||
- bioconductor-genomicranges | ||
- r-dplyr | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ source: | |
|
||
build: | ||
noarch: generic | ||
number: 0 | ||
number: 1 | ||
run_exports: | ||
- {{ pin_subpackage("hmftools-virus-interpreter", max_pin="x.x") }} | ||
|
||
requirements: | ||
run: | ||
- openjdk >=8 | ||
- openjdk >=8,<=21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification OpenJDK constraint inconsistency found in several hmftools packages Several hmftools packages are missing the upper bound constraint
Additionally, hmftools-sage has a different lower bound:
Consider updating these packages to maintain consistency with the 🔗 Analysis chainLGTM: OpenJDK constraint aligns with project requirements. The addition of the upper bound 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify OpenJDK constraint consistency across hmftools packages
# Expected: All non-deprecated hmftools should use "openjdk >=8,<=21"
echo "Checking OpenJDK constraints in hmftools recipes..."
fd '^meta.yaml$' recipes/hmftools- --exec grep -H 'openjdk' {} \;
Length of output: 286 Script: #!/bin/bash
# Let's try a different approach to find hmftools recipes
echo "Searching for hmftools meta.yaml files..."
fd -t f '^meta.yaml$' recipes | grep 'hmftools-' | xargs grep -H 'openjdk'
Length of output: 1450 |
||
|
||
test: | ||
commands: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
OpenJDK version constraints are inconsistent across hmftools packages
The verification revealed inconsistencies in OpenJDK version constraints across hmftools packages:
>=8,<=21
: amber, bam-tools, chord, cobalt, cuppa, esvee, isofox, lilac, linx, neo, orange, pave, peach, purple, redux, sigs, virus-interpreter>=8
: gripss, mark-dups, protect, rose, sv-prep>=9,<=21
: sage🔗 Analysis chain
Verify OpenJDK version constraint across hmftools packages.
The OpenJDK version constraint change aligns with the PR objectives. Let's verify consistency across other hmftools packages.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 169
Script:
Length of output: 884
Script:
Length of output: 3608