From 29f5ff9e5231ad24b27de288e7be52dd314f825b Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Thu, 19 Sep 2024 17:36:08 +0200 Subject: [PATCH 1/4] Add Downgrade CI --- .github/workflows/Downgrade.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/Downgrade.yml diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 00000000..8e335a29 --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,32 @@ +name: Downgrade +on: + pull_request: + branches: + - main + - dev + paths-ignore: + - 'docs/**' + push: + branches: + - main + - dev + paths-ignore: + - 'docs/**' +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + version: ['1'] + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + - name: registry_add + run: julia add_registries.jl + - uses: julia-actions/julia-downgrade-compat@v1 + with: + skip: Pkg,TOML + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 From 9a1a86f81af95d900dc39953a7c92022056d0798 Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Thu, 19 Sep 2024 17:40:08 +0200 Subject: [PATCH 2/4] Adjust `[compat]` entries for stdlibs --- Project.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Project.toml b/Project.toml index ccf1451a..9ed33fa6 100644 --- a/Project.toml +++ b/Project.toml @@ -42,8 +42,8 @@ LegendDataManagementPlotsExt = ["RecipesBase", "Plots"] LegendDataManagementSolidStateDetectorsExt = "SolidStateDetectors" [compat] -Dates = "1" -Distributed = "1" +Dates = "<0.0.1, 1" +Distributed = "<0.0.1, 1" Format = "1" Glob = "1" IntervalSets = "0.6, 0.7" @@ -51,13 +51,13 @@ JSON = "0.21, 1" LegendDataTypes = "0.1.13" LRUCache = "1.5" LegendHDF5IO = "0.1.14" -LinearAlgebra = "1" +LinearAlgebra = "<0.0.1, 1" MIMEs = "0.1" -Markdown = "1" +Markdown = "<0.0.1, 1" Measurements = "2" Pkg = "1" -Plots = "1" -Printf = "1" +Plots = "<0.0.1, 1" +Printf = "<0.0.1, 1" ProgressMeter = "1" PropDicts = "0.2.4" PropertyDicts = "0.2" @@ -65,10 +65,10 @@ PropertyFunctions = "0.2.1" RecipesBase = "1" SolidStateDetectors = "0.8, 0.9, 0.10" StaticStrings = "0.2" -Statistics = "1" +Statistics = "<0.0.1, 1" StructArrays = "0.4, 0.5, 0.6" Tables = "0.2, 1.0" TypedTables = "1.4" -UUIDs = "1" +UUIDs = "<0.0.1, 1" Unitful = "1" julia = "1.10" From 1753dd7413b115f22c742978b660cd9941b43abd Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Thu, 19 Sep 2024 17:43:09 +0200 Subject: [PATCH 3/4] Adjust `[compat]` entries of all other packages --- Project.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index 9ed33fa6..a94783f5 100644 --- a/Project.toml +++ b/Project.toml @@ -45,29 +45,29 @@ LegendDataManagementSolidStateDetectorsExt = "SolidStateDetectors" Dates = "<0.0.1, 1" Distributed = "<0.0.1, 1" Format = "1" -Glob = "1" +Glob = "1.3" IntervalSets = "0.6, 0.7" JSON = "0.21, 1" LegendDataTypes = "0.1.13" -LRUCache = "1.5" LegendHDF5IO = "0.1.14" LinearAlgebra = "<0.0.1, 1" +LRUCache = "1.5" MIMEs = "0.1" Markdown = "<0.0.1, 1" -Measurements = "2" +Measurements = "2.2.1" Pkg = "1" Plots = "<0.0.1, 1" Printf = "<0.0.1, 1" -ProgressMeter = "1" +ProgressMeter = "1.2" PropDicts = "0.2.4" PropertyDicts = "0.2" PropertyFunctions = "0.2.1" RecipesBase = "1" -SolidStateDetectors = "0.8, 0.9, 0.10" +SolidStateDetectors = "0.8.1, 0.9, 0.10" StaticStrings = "0.2" Statistics = "<0.0.1, 1" -StructArrays = "0.4, 0.5, 0.6" -Tables = "0.2, 1.0" +StructArrays = "0.5, 0.6" +Tables = "1" TypedTables = "1.4" UUIDs = "<0.0.1, 1" Unitful = "1" From 1069ab9257795b981132793e47ca17583f2480db Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Thu, 19 Sep 2024 18:08:10 +0200 Subject: [PATCH 4/4] Adjust `[compat]` entries to prevent tests from failing * PropSelFunction --> PropertyFunctions@0.2.2 * PropertyDict(::Dict) --> PropertyDicts@0.2.1 --- Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index a94783f5..a7d68e17 100644 --- a/Project.toml +++ b/Project.toml @@ -60,8 +60,8 @@ Plots = "<0.0.1, 1" Printf = "<0.0.1, 1" ProgressMeter = "1.2" PropDicts = "0.2.4" -PropertyDicts = "0.2" -PropertyFunctions = "0.2.1" +PropertyDicts = "0.2.1" +PropertyFunctions = "0.2.2" RecipesBase = "1" SolidStateDetectors = "0.8.1, 0.9, 0.10" StaticStrings = "0.2"