Skip to content

Conversation

@visr
Copy link
Member

@visr visr commented Jul 7, 2025

This is a draft since 1.12 is still in beta, but I wanted to have a branch that I can easily test things out as they soon will be.

For PackageCompiler I used this branch which has two open PRs to hopefully run on 1.12. I see TeamCity still times out building though.

It might be related to the way we currently use one Manifest by specifying the manifest path in the Project.toml. That method is deprecated with the introduction of workspaces. So this PR switches to using nested workspaces. Rather than relying on [extras] in the core, the core test folder has its own Project.toml, and is no longer a temporary environment that is created on demand, but something you can open and run runtests.jl for and it will work.

visr added a commit that referenced this pull request Jul 8, 2025
Fixes #2015. I had a look whether #2440 would fix it as well but it
didn't.
Then I figured, we don't actively use this anywhere, we might as well
remove it. Developers can still use it if they add it to their base
project.

This sheds quite some weight, and hopefully speeds up some CI or other
operations:

```
(root) pkg> rm CairoMakie
    Updating `C:\ProgramData\DevDrives\repo\ribasim\Ribasim\Project.toml`
  [13f3f980] - CairoMakie v0.15.2
    Updating `C:\ProgramData\DevDrives\repo\ribasim\Ribasim\Manifest.toml`
  [621f4979] - AbstractFFTs v1.5.0
  [35492f91] - AdaptivePredicates v1.2.0
  [66dad0bd] - AliasTables v1.1.3
  [27a7e980] - Animations v0.4.2
  [67c07d97] - Automa v1.1.0
  [13072b0f] - AxisAlgorithms v1.1.0
  [39de3d68] - AxisArrays v0.4.7
  [18cc8868] - BaseDirs v1.3.0
  [fa961155] - CEnum v0.5.0
  [96374032] - CRlibm v1.0.2
  [159f3aea] - Cairo v1.1.1
  [13f3f980] - CairoMakie v0.15.2
  [a2cac450] - ColorBrewer v0.4.1
  [35d6a980] - ColorSchemes v3.29.0
  [c3611d14] - ColorVectorSpace v0.11.0
  [95dc2771] - ComputePipeline v0.1.1
  [d38c429a] - Contour v0.6.3
  [927a84f5] - DelaunayTriangulation v1.6.4
  [31c24e10] - Distributions v0.25.120
  [429591f6] - ExactPredicates v2.2.8
  [411431e0] - Extents v0.1.6
  [7a1cc6ca] - FFTW v1.9.0
  [8fc22ac5] - FilePaths v0.8.3
  [1fa38f19] - Format v1.3.7
  [b38be410] - FreeType v4.1.1
  [663a7486] - FreeTypeAbstraction v0.10.8
  [68eda718] - GeoFormatTypes v0.4.4
  [cf35fbd7] - GeoInterface v1.4.1
  [5c1252a2] - GeometryBasics v0.5.9
  [a2bd30eb] - Graphics v1.1.3
  [3955a311] - GridLayoutBase v0.11.1
  [42e2da0e] - Grisu v1.0.2
  [34004b35] - HypergeometricFunctions v0.3.28
  [2803e5a7] - ImageAxes v0.6.12
  [c817782e] - ImageBase v0.1.7
  [a09fc81d] - ImageCore v0.10.5
  [82e4d734] - ImageIO v0.6.9
  [bc367c6b] - ImageMetadata v0.9.10
  [9b13fd28] - IndirectArrays v1.0.0
  [a98d9a8b] - Interpolations v0.15.1
  [d1acc4aa] - IntervalArithmetic v0.22.36
  [8197267c] - IntervalSets v0.7.11
  [f1662d9f] - Isoband v0.1.1
  [b835a17e] - JpegTurbo v0.1.6
  [5ab0869b] - KernelDensity v0.6.9
  [8cdb02fc] - LazyModules v0.3.1
  [ee78f7c6] - Makie v0.24.2
  [dbb5928d] - MappedArrays v0.4.2
  [0a4f8689] - MathTeXEngine v0.6.5
  [e94cdb99] - MosaicViews v0.3.4
  [f09324ee] - Netpbm v1.1.1
  [510215fc] - Observables v0.5.5
  [6fe1bfb0] - OffsetArrays v1.17.0
  [52e1d378] - OpenEXR v0.3.3
  [90014a1f] - PDMats v0.11.35
  [f57f5aa1] - PNGFiles v0.4.4
  [19eb6ba3] - Packing v0.5.1
  [5432bcbf] - PaddedViews v0.5.12
  [eebad327] - PkgVersion v0.3.3
  [995b91a9] - PlotUtils v1.4.3
  [647866c9] - PolygonOps v0.1.2
  [92933f4c] - ProgressMeter v1.10.4
  [43287f4e] - PtrArrays v1.3.0
  [4b34888f] - QOI v1.0.1
  [1fd47b50] - QuadGK v2.11.2
  [b3c3ace0] - RangeArrays v0.3.2
  [c84ed2f1] - Ratios v0.4.5
  [79098fc4] - Rmath v0.8.0
  [5eaf0fd0] - RoundingEmulator v0.2.1
  [fdea26ae] - SIMD v3.7.1
  [65257c39] - ShaderAbstractions v0.5.0
  [992d4aef] - Showoff v1.0.3
  [73760f76] - SignedDistanceFields v0.4.0
  [45858cf5] - Sixel v0.1.5
  [860ef19b] - StableRNGs v1.0.3
  [cae243ae] - StackViews v0.1.2
  [82ae8749] - StatsAPI v1.7.1
  [2913bbd2] - StatsBase v0.34.5
  [4c63d2b9] - StatsFuns v1.5.0
  [62fd8b95] - TensorCore v0.1.1
  [731e570b] - TiffImages v0.11.4
  [981d1d27] - TriplotBase v0.1.0
  [1cfade01] - UnicodeFun v0.4.1
  [1986cc42] - Unitful v1.23.1
  [e3aaa7dc] - WebP v0.1.3
  [efce3f68] - WoodburyMatrices v1.0.0
  [4e9b3aee] - CRlibm_jll v1.0.1+0
  [83423d85] - Cairo_jll v1.18.5+0
  [5ae413db] - EarCut_jll v2.2.4+0
  [2e619515] - Expat_jll v2.6.5+0
  [b22a6f82] - FFMPEG_jll v6.1.2+0
  [f5851436] - FFTW_jll v3.3.11+0
  [a3f928ae] - Fontconfig_jll v2.16.0+0
  [d7e528f0] - FreeType2_jll v2.13.4+0
  [559328eb] - FriBidi_jll v1.0.17+0
  [b0724c58] - GettextRuntime_jll v0.22.4+0
  [59f7168a] - Giflib_jll v5.2.3+0
  [7746bdde] - Glib_jll v2.84.3+0
  [3b182d85] - Graphite2_jll v1.3.15+0
  [2e76f6c2] - HarfBuzz_jll v8.5.1+0
  [905a6f67] - Imath_jll v3.1.11+0
  [aacddb02] - JpegTurbo_jll v3.1.1+0
  [c1c5ebd0] - LAME_jll v3.100.2+0
  [88015f11] - LERC_jll v4.0.1+0
  [1d63c593] - LLVMOpenMP_jll v18.1.8+0
  [dd4b983a] - LZO_jll v2.10.3+0
  [e9f186c6] - Libffi_jll v3.4.7+0
  [7e76a0d4] - Libglvnd_jll v1.7.1+1
  [94ce4f54] - Libiconv_jll v1.18.0+0
  [4b2f31a3] - Libmount_jll v2.41.0+0
  [89763e89] - Libtiff_jll v4.7.1+0
  [38a345b3] - Libuuid_jll v2.41.0+0
  [e7412a2a] - Ogg_jll v1.3.5+1
  [6cdc7f73] - OpenBLASConsistentFPCSR_jll v0.3.29+0
  [18a262bb] - OpenEXR_jll v3.2.4+0
  [458c3c95] - OpenSSL_jll v3.5.0+0
  [91d4177d] - Opus_jll v1.3.3+0
  [36c8627f] - Pango_jll v1.56.3+0
  [30392449] - Pixman_jll v0.44.2+0
  [f50d1b31] - Rmath_jll v0.5.1+0
  [ffd25f8a] - XZ_jll v5.8.1+0
  [4f6342f7] - Xorg_libX11_jll v1.8.12+0
  [0c0b7dd1] - Xorg_libXau_jll v1.0.13+0
  [a3789734] - Xorg_libXdmcp_jll v1.1.6+0
  [1082639a] - Xorg_libXext_jll v1.3.7+0
  [ea2f1a96] - Xorg_libXrender_jll v0.9.12+0
  [c7cfdc94] - Xorg_libxcb_jll v1.17.1+0
  [c5fb5394] - Xorg_xtrans_jll v1.6.0+0
  [9a68df92] - isoband_jll v0.2.3+0
  [a4ae2306] - libaom_jll v3.11.0+0
  [0ac62f75] - libass_jll v0.15.2+0
  [f638f0a6] - libfdk_aac_jll v2.0.3+0
  [b53b4c65] - libpng_jll v1.6.49+0
  [075b6546] - libsixel_jll v1.10.5+0
  [f27f6e37] - libvorbis_jll v1.3.7+2
  [c5f90fcd] - libwebp_jll v1.5.0+0
  [1270edf5] - x264_jll v10164.0.1+0
  [dfaa095f] - x265_jll v3.6.0+0
  [8bf52ea8] - CRC32c v1.11.0
  [4607b0f0] - SuiteSparse
  [efcefdf7] - PCRE2_jll v10.42.0+1
```
@visr visr closed this Oct 9, 2025
@visr visr deleted the workspace branch October 9, 2025 14:45
visr added a commit that referenced this pull request Oct 13, 2025
Supersedes #2440.

Let's see about the tests. From the original PR this point stands:

- One PR should give 1.12 compat since `julia_init` is removed there. We
need to update our [Rust
wrapper](https://github.com/Deltares/Ribasim/blob/ce73b6c358374477170d86e3c36195a72b9a5d04/build/cli/src/main.rs#L55-L57)
for that as well.

This may apply to `ribasim_api` package as well as the Rust wrapper.
See also https://github.com/JuliaLang/PackageCompiler.jl/pull/1047/files
and https://docs.julialang.org/en/v1/manual/embedding/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove bundled root project artifacts

2 participants