diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 00000000..01ff8cad --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,29 @@ +name: Downgrade +on: + pull_request: + branches: + - master + paths-ignore: + - 'docs/**' + push: + branches: + - master + 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 }} + - uses: cjdoris/julia-downgrade-compat-action@v1 +# if: ${{ matrix.version == '1.6' }} + with: + skip: Pkg,TOML + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file diff --git a/Project.toml b/Project.toml index ea55089d..82b0a555 100644 --- a/Project.toml +++ b/Project.toml @@ -10,7 +10,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" MonteCarloIntegration = "4886b29c-78c9-11e9-0a6e-41e1f4161f7b" QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" -Requires = "ae029012-a4dd-5104-9daa-d747884805df" SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" [weakdeps] @@ -33,27 +32,26 @@ IntegralsZygoteExt = ["Zygote", "ChainRulesCore"] [compat] Aqua = "0.8" Arblib = "1" -ChainRulesCore = "0.10.7, 1" -CommonSolve = "0.2" -Cuba = "2" -Cubature = "1" -Distributions = "0.23, 0.24, 0.25" +ChainRulesCore = "1.16" +CommonSolve = "0.2.4" +Cuba = "2.2" +Cubature = "1.5" +Distributions = "0.25.87" FastGaussQuadrature = "0.5" -FiniteDiff = "2" -ForwardDiff = "0.10" -HCubature = "1.4" +FiniteDiff = "2.12" +ForwardDiff = "0.10.19" +HCubature = "1.5" LinearAlgebra = "1.9" -MonteCarloIntegration = "0.0.1, 0.0.2, 0.0.3, 0.1" +MonteCarloIntegration = "0.0.3, 0.1" Pkg = "1" QuadGK = "2.9" -Reexport = "0.2, 1.0" -Requires = "1" +Reexport = "1.0" SafeTestsets = "0.1" SciMLBase = "2.6" -SciMLSensitivity = "7" +SciMLSensitivity = "7.41" StaticArrays = "1" Test = "1" -Zygote = "0.4.22, 0.5, 0.6" +Zygote = "0.6.60" julia = "1.9" [extras] diff --git a/src/Integrals.jl b/src/Integrals.jl index 2c7eaabd..47faddc2 100644 --- a/src/Integrals.jl +++ b/src/Integrals.jl @@ -9,7 +9,6 @@ using Reexport, MonteCarloIntegration, QuadGK, HCubature using LinearAlgebra include("common.jl") -include("init.jl") include("algorithms.jl") include("infinity_handling.jl") include("quadrules.jl") diff --git a/src/init.jl b/src/init.jl deleted file mode 100644 index fb12ef32..00000000 --- a/src/init.jl +++ /dev/null @@ -1,13 +0,0 @@ -@static if !isdefined(Base, :get_extension) - function __init__() - @require ForwardDiff="f6369f11-7733-5829-9624-2563aa707210" begin - include("../ext/IntegralsForwardDiffExt.jl") - end - @require Zygote="e88e6eb3-aa80-5325-afca-941959d7151f" begin - include("../ext/IntegralsZygoteExt.jl") - end - @require FastGaussQuadrature="442a2c76-b920-505d-bb47-c5924d526838" begin - include("../ext/IntegralsFastGaussQuadratureExt.jl") - end - end -end