From abc9b4e8334e08e83abb347c0518956da844e71a Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:21:51 +0100 Subject: [PATCH 01/10] Create test Project.toml --- test/Project.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/Project.toml diff --git a/test/Project.toml b/test/Project.toml new file mode 100644 index 00000000..5fa12cbf --- /dev/null +++ b/test/Project.toml @@ -0,0 +1,21 @@ +[deps] +CmdStan = "5.2.3, 6.0" +DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" +MCMCChains = "0.3.15, 0.4, 1.0, 2.0, 3.0, 4.0, 5.0" +MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca" +PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" +PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee" +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +SampleChains = "754583d1-7fc4-4dab-93b5-5eaca5c9622e" +SampleChainsDynamicHMC = "6d9fd711-e8b2-4778-9c70-c1dfb499d4c4" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[compat] +CmdStan = "5.2.3, 6.0" +DataFrames = "0.20, 0.21, 0.22, 1.0" +MCMCChains = "0.3.15, 0.4, 1.0, 2.0, 3.0, 4.0, 5.0" +MonteCarloMeasurements = "0.6.4, 0.7, 0.8, 1" +PyCall = "1.91.2" +PyPlot = "2.8.2" +SampleChains = "0.5" +SampleChainsDynamicHMC = "0.3" From bd85bc809d07c2dc3328e902209be282cd8a168f Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:22:52 +0100 Subject: [PATCH 02/10] Remove all optional dependencies --- Project.toml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Project.toml b/Project.toml index d84e47d1..2d34ee89 100644 --- a/Project.toml +++ b/Project.toml @@ -17,30 +17,13 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" [compat] -CmdStan = "5.2.3, 6.0" Conda = "1.0" DataFrames = "0.20, 0.21, 0.22, 1.0" LogExpFunctions = "0.2.0, 0.3" -MCMCChains = "0.3.15, 0.4, 1.0, 2.0, 3.0, 4.0, 5.0" -MonteCarloMeasurements = "0.6.4, 0.7, 0.8, 1" NamedTupleTools = "0.11.0, 0.12, 0.13" PSIS = "0.2" PyCall = "1.91.2" PyPlot = "2.8.2" Requires = "0.5.2, 1.0" -SampleChains = "0.5" -SampleChainsDynamicHMC = "0.3" StatsBase = "0.32, 0.33" julia = "^1" - -[extras] -CmdStan = "593b3428-ca2f-500c-ae53-031589ec8ddd" -MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d" -MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca" -Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -SampleChains = "754583d1-7fc4-4dab-93b5-5eaca5c9622e" -SampleChainsDynamicHMC = "6d9fd711-e8b2-4778-9c70-c1dfb499d4c4" -Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" - -[targets] -test = ["CmdStan", "MCMCChains", "MonteCarloMeasurements", "Random", "SampleChains", "SampleChainsDynamicHMC", "Test"] From 6c1670688097f486b2b5be78ad0b48b61b94bdbb Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:23:36 +0100 Subject: [PATCH 03/10] Run CI on earliest version allowing test/Project.toml, latest release, and latest version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82ab969d..8729e0c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - julia-version: [1.0, 1] + julia-version: ["1.2", "1.6", "1"] os: [ubuntu-latest] steps: - uses: actions/checkout@v2 From 783f02b5d39709a73389cb30997a5db92f4450fc Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:23:54 +0100 Subject: [PATCH 04/10] Use v2 of actions/checkout --- .github/workflows/format_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index 313f3652..8d00cb35 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -15,7 +15,7 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: 1 - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Install JuliaFormatter run: | using Pkg From 2802c830b22cc7fef927c0c0e230afc04e7bb961 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:24:06 +0100 Subject: [PATCH 05/10] Use latest version of github-script --- .github/workflows/VersionVigilante.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/VersionVigilante.yml b/.github/workflows/VersionVigilante.yml index 02f5332d..816a4b64 100644 --- a/.github/workflows/VersionVigilante.yml +++ b/.github/workflows/VersionVigilante.yml @@ -22,16 +22,16 @@ jobs: - name: ✅ Un-Labeller (if success) if: (steps.versionvigilante_main.outputs.compare_versions == 'success') && (success() || failure()) continue-on-error: true - uses: actions/github-script@0.3.0 + uses: actions/github-script@5 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.issues.removeLabel({...context.issue, name: 'needs version bump'}) + github.rest.issues.removeLabel({...context.issue, name: 'needs version bump'}) - name: ❌ Labeller (if failure) if: (steps.versionvigilante_main.outputs.compare_versions == 'failure') && (success() || failure()) continue-on-error: true - uses: actions/github-script@0.3.0 + uses: actions/github-script@5 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.issues.addLabels({...context.issue, labels: ['needs version bump']}) + github.rest.issues.addLabels({...context.issue, labels: ['needs version bump']}) From a6dca1b03bcf9441b5eb30c142129d7e0e9758c2 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:29:42 +0100 Subject: [PATCH 06/10] Use correct version syntax --- .github/workflows/VersionVigilante.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/VersionVigilante.yml b/.github/workflows/VersionVigilante.yml index 816a4b64..e928dffa 100644 --- a/.github/workflows/VersionVigilante.yml +++ b/.github/workflows/VersionVigilante.yml @@ -22,7 +22,7 @@ jobs: - name: ✅ Un-Labeller (if success) if: (steps.versionvigilante_main.outputs.compare_versions == 'success') && (success() || failure()) continue-on-error: true - uses: actions/github-script@5 + uses: actions/github-script@v5 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -30,7 +30,7 @@ jobs: - name: ❌ Labeller (if failure) if: (steps.versionvigilante_main.outputs.compare_versions == 'failure') && (success() || failure()) continue-on-error: true - uses: actions/github-script@5 + uses: actions/github-script@v5 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | From 1000ba683cebb2a70794a65f64b31cd4ba4f3f92 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:38:45 +0100 Subject: [PATCH 07/10] Explicitly set arguments folowing octokit API --- .github/workflows/VersionVigilante.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/VersionVigilante.yml b/.github/workflows/VersionVigilante.yml index e928dffa..44dca890 100644 --- a/.github/workflows/VersionVigilante.yml +++ b/.github/workflows/VersionVigilante.yml @@ -26,7 +26,12 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.rest.issues.removeLabel({...context.issue, name: 'needs version bump'}) + github.rest.issues.removeLabel({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + name: 'needs version bump' + }) - name: ❌ Labeller (if failure) if: (steps.versionvigilante_main.outputs.compare_versions == 'failure') && (success() || failure()) continue-on-error: true @@ -34,4 +39,9 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.rest.issues.addLabels({...context.issue, labels: ['needs version bump']}) + github.rest.issues.addLabels({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + labels: ['needs version bump'] + }) From 979a038c67d82dd0d86e1557e0c51bcd58c916cf Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:40:06 +0100 Subject: [PATCH 08/10] Add back UUIDs --- test/Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 5fa12cbf..8c57045b 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,7 +1,7 @@ [deps] -CmdStan = "5.2.3, 6.0" +CmdStan = "593b3428-ca2f-500c-ae53-031589ec8ddd" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" -MCMCChains = "0.3.15, 0.4, 1.0, 2.0, 3.0, 4.0, 5.0" +MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d" MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca" PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee" From ae0485435326e1549be482c37a74f6bdd5511ebe Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:40:43 +0100 Subject: [PATCH 09/10] Bump version number --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 2d34ee89..e5649d27 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ArviZ" uuid = "131c737c-5715-5e2e-ad31-c244f01c1dc7" authors = ["Seth Axen "] -version = "0.5.9" +version = "0.5.10" [deps] Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d" From fa16a2937686348470fb457c8fc7d7d2fadfa4b3 Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Tue, 18 Jan 2022 10:50:41 +0100 Subject: [PATCH 10/10] Bump oldest tested version to 1.6 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8729e0c5..aeae3537 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - julia-version: ["1.2", "1.6", "1"] + julia-version: ["1.6", "1"] os: [ubuntu-latest] steps: - uses: actions/checkout@v2