Skip to content
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

Create Downgrade-CI and bump lower compat bounds #391

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
806e7f6
Create Downgrade-CI
simsurace Feb 12, 2024
8603053
Fix workflow file
simsurace Feb 12, 2024
94117dd
Fix it more
simsurace Feb 12, 2024
ad06384
Fix condition
simsurace Feb 12, 2024
c1c21ef
Use setting for `two`
simsurace Feb 12, 2024
8b63d77
Change if statement
simsurace Feb 12, 2024
2d5f212
Use explicit package name
simsurace Feb 12, 2024
ba5ae90
Update lower bounds
simsurace Feb 12, 2024
29b0020
Remove compat bounds from test project
simsurace Feb 12, 2024
958f9f9
Add current package instead of master
simsurace Feb 12, 2024
62ce473
Do one more bisection
simsurace Feb 12, 2024
3eba982
Do one more bisection
simsurace Feb 12, 2024
e4f94f3
Do one more bisection
simsurace Feb 12, 2024
0203cff
Remove MLDataUtils in example 2
simsurace Feb 12, 2024
3c95a1b
Condition on tag
simsurace Feb 13, 2024
8bf2ff3
Fix version specification
simsurace Feb 13, 2024
6b69104
Fix version number spec once more
simsurace Feb 13, 2024
ce3cb8f
Fix arch specification
simsurace Feb 13, 2024
2bd3dda
Skip stdlibs
simsurace Feb 13, 2024
59109d0
Skip LinearAlgebra as well
simsurace Feb 13, 2024
c2419b9
Skip Test
simsurace Feb 13, 2024
e2f112c
Relax compat for StatsBase
simsurace Feb 13, 2024
036fd1a
Revert to previous compats
simsurace Feb 13, 2024
a0a9289
Bump
simsurace Feb 13, 2024
4a09f04
Bump lower bounds
simsurace Feb 13, 2024
4a6a0b6
Do bisection
simsurace Feb 13, 2024
5dc61cb
Do one more bisection
simsurace Feb 13, 2024
cc2a83c
Bisect Distributions compat
simsurace Feb 13, 2024
f340b15
Use normal syntax to avoid warnings
simsurace Feb 13, 2024
298fdd7
Fix command
simsurace Feb 13, 2024
9e421cf
Bump version
simsurace Feb 13, 2024
2a1ae67
Copy over compats to test project
simsurace Feb 13, 2024
2f0b8e4
Put back additional compats in test environment
simsurace Feb 13, 2024
bacc546
Disable both algorithms by default
simsurace Feb 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/workflows/Downgrade-CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Downgrade CI

on:
push:
branches:
- master
pull_request:

jobs:
generate-matrix:
if: contains(github.event.pull_request.labels.*.name, 'downgrade-ci')
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.genmat.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
arch: x64
- run: julia -e 'import Pkg; Pkg.add("CompatHelperLocal")'
- run: julia -e 'import Pkg; Pkg.add(path=".")'
- if: ${{ always() }}
id: genmat
run: |
echo '::echo::on'
julia -e 'import CompatHelperLocal as CHL; import AbstractGPs; projfile = joinpath(pathof(AbstractGPs) |> dirname |> dirname, "Project.toml"); println(CHL.compats_combinations_to_gha_string(CHL.get_compats_combinations(projfile, only_resolveable=true)))'
test:
needs: generate-matrix
runs-on: ubuntu-latest
strategy:
matrix: ${{fromJSON(needs.generate-matrix.outputs.matrix)}}
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
arch: x64
- run: julia -e 'import Pkg; Pkg.add("CompatHelperLocal")'
- run: julia -e 'import Pkg; Pkg.add(path=".")'
- run: julia -e 'import CompatHelperLocal as CHL; import AbstractGPs; CHL.test_compats_combinations(AbstractGPs, [${{ matrix.compats }}])'
test-simple:
if: contains(github.event.pull_request.labels.*.name, 'downgrade-ci')
runs-on: ubuntu-latest
strategy:
matrix:
version:
- '1'
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: cjdoris/julia-downgrade-compat-action@v1
with:
skip: Pkg,TOML,Statistics,Random,LinearAlgebra,Test
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
16 changes: 8 additions & 8 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AbstractGPs"
uuid = "99985d1d-32ba-4be9-9821-2ec096f28918"
authors = ["JuliaGaussianProcesses Team"]
version = "0.5.19"
version = "0.5.20"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand All @@ -19,17 +19,17 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
ChainRulesCore = "1"
Distributions = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25"
ChainRulesCore = "1.16"
Distributions = "0.25.53"
FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 1"
IrrationalConstants = "0.1, 0.2"
KernelFunctions = "0.9, 0.10"
IrrationalConstants = "0.1.1, 0.2"
KernelFunctions = "0.10.39"
LinearAlgebra = "1"
PDMats = "0.11"
Random = "1"
RecipesBase = "1"
Reexport = "0.2, 1"
RecipesBase = "1.3.1"
Reexport = "1"
Statistics = "1"
StatsBase = "0.33, 0.34"
StatsBase = "0.33.19, 0.34"
Test = "1"
julia = "1.6"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
[![DOI](https://zenodo.org/badge/254674526.svg)](https://zenodo.org/badge/latestdoi/254674526)



AbstractGPs.jl is a package that defines a low-level API for working with Gaussian processes (GPs), and basic functionality for working with them in the simplest cases. As such it is aimed more at developers and researchers who are interested in using it as a building block than end-users of GPs. You may want to go through the main [API design documentation](https://juliagaussianprocesses.github.io/AbstractGPs.jl/stable/api/).

![GP](gp.gif)
Expand Down
2 changes: 0 additions & 2 deletions examples/2-deep-kernel-learning/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
KernelFunctions = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
MLDataUtils = "cc2ba9b6-d476-5e6d-8eaf-a92d5412d41d"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

Expand All @@ -15,7 +14,6 @@ Distributions = "0.25"
Flux = "0.12, 0.13, 0.14"
KernelFunctions = "0.10"
Literate = "2"
MLDataUtils = "0.5"
Plots = "1"
Zygote = "0.6"
julia = "1.3"
4 changes: 2 additions & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Distributions = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25"
Distributions = "0.25.53"
Documenter = "1"
FillArrays = "0.11, 0.12, 0.13, 1"
FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 1"
FiniteDifferences = "0.9.6, 0.10, 0.11, 0.12"
LinearAlgebra = "1"
PDMats = "0.11"
Expand Down
Loading