Skip to content

Commit cabe73f

Browse files
mhaurupenelopeysm
andauthored
Temporarily change tests to use 1.11 (#2685)
* Temporarily change tests to use 1.11 * Allow v1.12 tests to fail * Remove v1 and pre tests * bump Optimization to 5 * [skip ci] bump patch --------- Co-authored-by: Penelope Yong <[email protected]>
1 parent d8fbe78 commit cabe73f

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

.github/workflows/Tests.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,23 @@ jobs:
3535
- name: "everything else"
3636
args: "--skip mcmc/gibbs.jl mcmc/Inference.jl ad.jl"
3737
runner:
38+
# TODO(mhauru) All the ones below that run on 1.11 should actually be run on 1.
39+
# The current setup is a temporary arrangement to deal with issues where Mooncake
40+
# and Libtask are broken on 1.12.
3841
# Default
39-
- version: '1'
42+
- version: '1.11'
4043
os: ubuntu-latest
4144
num_threads: 1
4245
# Multithreaded
43-
- version: '1'
46+
- version: '1.11'
4447
os: ubuntu-latest
4548
num_threads: 2
4649
# Windows
47-
- version: '1'
50+
- version: '1.11'
4851
os: windows-latest
4952
num_threads: 1
5053
# macOS
51-
- version: '1'
54+
- version: '1.11'
5255
os: macos-latest
5356
num_threads: 1
5457
# Minimum supported Julia version
@@ -59,10 +62,11 @@ jobs:
5962
- version: 'min'
6063
os: ubuntu-latest
6164
num_threads: 2
65+
# TODO(mhauru) Start running 'pre' again once it differs from '1'.
6266
# Pre-release Julia version
63-
- version: 'pre'
64-
os: ubuntu-latest
65-
num_threads: 1
67+
# - version: 'pre'
68+
# os: ubuntu-latest
69+
# num_threads: 1
6670

6771
steps:
6872
- name: Print matrix variables

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.40.5
2+
3+
Bump Optimization.jl compatibility to include v5.
4+
15
# 0.40.4
26

37
Fixes a bug where `initial_state` was not respected for NUTS if `resume_from` was not also specified.

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Turing"
22
uuid = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
3-
version = "0.40.4"
3+
version = "0.40.5"
44

55
[deps]
66
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -73,7 +73,7 @@ LogDensityProblems = "2"
7373
MCMCChains = "5, 6, 7"
7474
NamedArrays = "0.9, 0.10"
7575
Optim = "1"
76-
Optimization = "3, 4"
76+
Optimization = "3, 4, 5"
7777
OptimizationOptimJL = "0.1, 0.2, 0.3, 0.4"
7878
OrderedCollections = "1"
7979
Printf = "1"

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ LogDensityProblemsAD = "1.4"
6363
MCMCChains = "7.3.0"
6464
NamedArrays = "0.9.4, 0.10"
6565
Optim = "1"
66-
Optimization = "3, 4"
66+
Optimization = "3, 4, 5"
6767
OptimizationBBO = "0.1, 0.2, 0.3, 0.4"
6868
OptimizationNLopt = "0.1, 0.2, 0.3"
6969
OptimizationOptimJL = "0.1, 0.2, 0.3, 0.4"

0 commit comments

Comments
 (0)