# \#compatibility

**URL:** https://discourse.julialang.org/tag/compatibility/458.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Dependabot and compat entries for tests (and docs)](https://discourse.julialang.org/t/dependabot-and-compat-entries-for-tests-and-docs/138548)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [July 31, 2026, 2:31pm UTC](https://discourse.julialang.org/t/dependabot-and-compat-entries-for-tests-and-docs/138548 "2026-07-31T14:31:54Z")

</div>

I have started using Dependabot in place of Compathelper for my packages. It tries adding compat bounds for tests (and docs if applicable). I am wondering if this is good practice — yes, I can see the value in it, but a…

---

## [Is Compat.jl worth it for the \`public\` keyword?](https://discourse.julialang.org/t/is-compat-jl-worth-it-for-the-public-keyword/119041)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 37\
**Last updated:** [February 11, 2025, 9:10pm UTC](https://discourse.julialang.org/t/is-compat-jl-worth-it-for-the-public-keyword/119041 "2025-02-11T21:10:10Z")

</div>

With the introduction of public by @Lilith, many packages will want to mark their unexported public symbols that way. Since public is only available in Julia 1.11, the current recommended way to do this in 1.10 is with t…

---

## [Compat requirements for stdlibs](https://discourse.julialang.org/t/compat-requirements-for-stdlibs/123014)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 0\
**Last updated:** [November 24, 2024, 11:54am UTC](https://discourse.julialang.org/t/compat-requirements-for-stdlibs/123014 "2024-11-24T11:54:03Z")

</div>

Since PSA: Compat requirements in the General registry are changing is locked, I’ll open a new thread here. I have a few questions: Is that linked post still the most up to date information on how to add compat bounds…

---

## [Determining lower bound of compat statement](https://discourse.julialang.org/t/determining-lower-bound-of-compat-statement/117248)

<div class="topic-metadata">

**Author:** [@bclyons12](https://discourse.julialang.org/u/bclyons12)\
**Replies:** 1\
**Last updated:** [August 19, 2024, 1:45pm UTC](https://discourse.julialang.org/t/determining-lower-bound-of-compat-statement/117248 "2024-08-19T13:45:19Z")

</div>

Is there a way to test the lower bound compatibility of a package systematically, say by doing a binary search to find the lowest version for which tests pass? When adding a new compat entry to a Project.toml, CompatHelp…

---

## [Why are \`seed!\` and \`default\_rng\` not public?](https://discourse.julialang.org/t/why-are-seed-and-default-rng-not-public/117125)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 6:51am UTC](https://discourse.julialang.org/t/why-are-seed-and-default-rng-not-public/117125 "2024-07-17T06:51:29Z")

</div>

julia\> VERSION v"1.11.0-rc1" julia\> using Random julia\> Base.ispublic(Random, :seed!), Base.ispublic(Random, :default\_rng) (false, false) Does this mean that one should avoid using these functions if the code should b…

---

## [AMDGPU.jl and AMD Instinct MI300A APUs](https://discourse.julialang.org/t/amdgpu-jl-and-amd-instinct-mi300a-apus/114850)

<div class="topic-metadata">

**Author:** [@cameg27](https://discourse.julialang.org/u/cameg27)\
**Replies:** 1\
**Last updated:** [May 28, 2024, 4:18pm UTC](https://discourse.julialang.org/t/amdgpu-jl-and-amd-instinct-mi300a-apus/114850 "2024-05-28T16:18:28Z")

</div>

Hi everyone, At my research institute, we’re considering purchasing a server equipped with four AMD Instinct MI300A APUs. Our numerical code is entirely written in Julia and currently runs smoothly on NVIDIA GPUs using C…

---

## [Unclear error message when trying to install package with incompatible julia version](https://discourse.julialang.org/t/unclear-error-message-when-trying-to-install-package-with-incompatible-julia-version/114632)

<div class="topic-metadata">

**Author:** [@iago-lito](https://discourse.julialang.org/u/iago-lito)\
**Replies:** 3\
**Last updated:** [May 27, 2024, 10:00pm UTC](https://discourse.julialang.org/t/unclear-error-message-when-trying-to-install-package-with-incompatible-julia-version/114632 "2024-05-27T22:00:42Z")

</div>

Our package’s Project.toml states the following: \[compat\] julia = "1.10" As a consequence, issuing the following from a previous version of julia fails: $ ../julia-1.6.7/bin/julia --project=. \_ \_ …

---

## [How to verify the compatibility under different Julia versions for a package that is in development?](https://discourse.julialang.org/t/how-to-verify-the-compatibility-under-different-julia-versions-for-a-package-that-is-in-development/114096)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 8\
**Last updated:** [May 10, 2024, 5:27pm UTC](https://discourse.julialang.org/t/how-to-verify-the-compatibility-under-different-julia-versions-for-a-package-that-is-in-development/114096 "2024-05-10T17:27:22Z")

</div>

When developing a package, one has responsibility to check its compatibility under different Julia versions (6. Compatibility · Pkg.jl (julialang.org)). But how to implement this? Specifically, MyPackage.jl was created …

---

## [Compat bounds for stdlib and empty intersection issue on CI](https://discourse.julialang.org/t/compat-bounds-for-stdlib-and-empty-intersection-issue-on-ci/105898)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 3\
**Last updated:** [November 7, 2023, 3:17pm UTC](https://discourse.julialang.org/t/compat-bounds-for-stdlib-and-empty-intersection-issue-on-ci/105898 "2023-11-07T15:17:14Z")

</div>

I was trying to do a patch release for Franklin but the registry stopped me from doing this indicating that a bunch of stdlib libraries (Dates, Logging, Random, …) did not have compat bounds and that they should. So I ad…

---

## [How Does Compat Requirement Changes for General Registry Affect Package Maintainers?](https://discourse.julialang.org/t/how-does-compat-requirement-changes-for-general-registry-affect-package-maintainers/104960)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 17\
**Last updated:** [October 30, 2023, 3:21pm UTC](https://discourse.julialang.org/t/how-does-compat-requirement-changes-for-general-registry-affect-package-maintainers/104960 "2023-10-30T15:21:38Z")

</div>

Hi folks! This is a post about the recent announcement: I was curious about a few things here: How does this impact packages that support testing of older Julia versions which did not have this segmentation of stan…

---

## [Methods for maintaining backwards compatibility](https://discourse.julialang.org/t/methods-for-maintaining-backwards-compatibility/105227)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 2:06pm UTC](https://discourse.julialang.org/t/methods-for-maintaining-backwards-compatibility/105227 "2023-10-20T14:06:53Z")

</div>

I’ve just improved some of the code in a package of mine, and found (from my unit testing) that it throws an error in v1.6 of Julia. I’d like to maintain compatibility with Julia 1.6 since this is the most recent LTS rel…

---

## [New stdlib compat requirements - CompatHelper.jl to the rescue?!](https://discourse.julialang.org/t/new-stdlib-compat-requirements-compathelper-jl-to-the-rescue/104966)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 2\
**Last updated:** [October 14, 2023, 9:31pm UTC](https://discourse.julialang.org/t/new-stdlib-compat-requirements-compathelper-jl-to-the-rescue/104966 "2023-10-14T21:31:09Z")

</div>

In response to Will GitHub - JuliaRegistries/CompatHelper.jl: Automatically update the \[compat\] entries for your Julia package's dependencies do The Right Thing and add new compat bounds for stdlibs automatically? If n…

---

## [Can't see why OpenSSL\_jll@v3.0.11 is incompatible with Plots.jl](https://discourse.julialang.org/t/cant-see-why-openssl-jll-v3-0-11-is-incompatible-with-plots-jl/104702)

<div class="topic-metadata">

**Author:** [@wheeheee](https://discourse.julialang.org/u/wheeheee)\
**Replies:** 1\
**Last updated:** [October 8, 2023, 12:06am UTC](https://discourse.julialang.org/t/cant-see-why-openssl-jll-v3-0-11-is-incompatible-with-plots-jl/104702 "2023-10-08T00:06:11Z")

</div>

Using st -m --outdated shows that OpenSSL\_jll is held back by FFMPEG\_jll, but looking in the compat sections of FFMPEG\_jll’s and Plots’ project files doesn’t turn up anything. Where should I look to understand what compa…

---

## [Does bumping a dependency's compat lower bound require a breaking release?](https://discourse.julialang.org/t/does-bumping-a-dependencys-compat-lower-bound-require-a-breaking-release/103804)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 4\
**Last updated:** [September 14, 2023, 2:30pm UTC](https://discourse.julialang.org/t/does-bumping-a-dependencys-compat-lower-bound-require-a-breaking-release/103804 "2023-09-14T14:30:03Z")

</div>

That’s it. That’s the question.

---

## [Package compatibility constraints](https://discourse.julialang.org/t/package-compatibility-constraints/103217)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 8\
**Last updated:** [August 29, 2023, 6:00am UTC](https://discourse.julialang.org/t/package-compatibility-constraints/103217 "2023-08-29T06:00:41Z")

</div>

I put the following line into a Project.toml for a package and am trying to figure out what consequences it has: \[compat\] julia = "1.0 - 1.7" When I try to add this package in another package from Julia 1.9.3 it is acc…

---

## [Custom Compat.jl Block](https://discourse.julialang.org/t/custom-compat-jl-block/101328)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 8:15pm UTC](https://discourse.julialang.org/t/custom-compat-jl-block/101328 "2023-07-07T20:15:02Z")

</div>

I wrote a function to collect an iterator into a tuple: collect\_tuple(itr) = \_collect\_tuple(Iterators.peel(itr)) \_collect\_tuple(peel\_return) = \_collect\_tuple(peel\_return...) \_collect\_tuple(::Nothing) = () \_collect\_tuple…

---

## [How to cross-compile using PackageCompiler?](https://discourse.julialang.org/t/how-to-cross-compile-using-packagecompiler/100551)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 14\
**Last updated:** [June 21, 2023, 1:15am UTC](https://discourse.julialang.org/t/how-to-cross-compile-using-packagecompiler/100551 "2023-06-21T01:15:25Z")

</div>

Hi all! I am trying to use PackageCompiler to build a stand-alone app. Since I need to potentially ship it to different host systems, I need to cross-compile my project. The PackageCompiler’s docs say nothing about it (…

---

## [Symmetry & SOS Optimization Compatibility Issues?](https://discourse.julialang.org/t/symmetry-sos-optimization-compatibility-issues/98057)

<div class="topic-metadata">

**Author:** [@ilovemath](https://discourse.julialang.org/u/ilovemath)\
**Replies:** 6\
**Last updated:** [June 5, 2023, 8:29pm UTC](https://discourse.julialang.org/t/symmetry-sos-optimization-compatibility-issues/98057 "2023-06-05T20:29:12Z")

</div>

Hello all, I am trying to implement rotational symmetry for an SOS problem. In particular, I followed the example problem here: Dihedral symmetry of the Robinson form · SumOfSquares. My goal is to use a cyclic group i…

---

## [Weird behavior for types within type definitions](https://discourse.julialang.org/t/weird-behavior-for-types-within-type-definitions/99581)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 3\
**Last updated:** [June 3, 2023, 12:26am UTC](https://discourse.julialang.org/t/weird-behavior-for-types-within-type-definitions/99581 "2023-06-03T00:26:03Z")

</div>

Minimal example: struct A struct B end end. This puts both A and B into the global scope, A without constructors and B with a constructor. Why would B be put into global scope even though no global keyword was used? Mor…

---

## [Unclear where compatibility requirements are coming from](https://discourse.julialang.org/t/unclear-where-compatibility-requirements-are-coming-from/98681)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 7\
**Last updated:** [May 23, 2023, 12:01pm UTC](https://discourse.julialang.org/t/unclear-where-compatibility-requirements-are-coming-from/98681 "2023-05-23T12:01:05Z")

</div>

I’m trying to develop on a fork of the ForwardDiff.jl package (current master commit). When I try to add the repo to my dependencies I get the following compatibility error: (@v1.9) pkg\> dev /Users/olly/.julia/dev/Forwa…

---

## [\`StatsBase\` restricted from upgrading due to compatability constraints](https://discourse.julialang.org/t/statsbase-restricted-from-upgrading-due-to-compatability-constraints/98211)

<div class="topic-metadata">

**Author:** [@Debartha\_Paul](https://discourse.julialang.org/u/Debartha_Paul)\
**Replies:** 7\
**Last updated:** [May 4, 2023, 6:46pm UTC](https://discourse.julialang.org/t/statsbase-restricted-from-upgrading-due-to-compatability-constraints/98211 "2023-05-04T18:46:03Z")

</div>

I noticed that StatsBase received a version bump to 0.34.0 from 0.33.21 (was earlier from 0.33.22). I tried to update all of my packages to the latest release, but StatsBase didn’t get updated. Here’s my \]st after updati…

---

## [Unsatisfiable requirements error between my personal packages](https://discourse.julialang.org/t/unsatisfiable-requirements-error-between-my-personal-packages/95802)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 5\
**Last updated:** [March 9, 2023, 4:32pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-error-between-my-personal-packages/95802 "2023-03-09T16:32:42Z")

</div>

I wrote a package ASME\_SectionVIII\_Division3\_Edition2021 which depends on two other packages that I wrote, KM620 and KD232, plus some other public packages. (None of my packages have real version numbers because I don’t …

---

## [Compatibility specification with version number and package location?](https://discourse.julialang.org/t/compatibility-specification-with-version-number-and-package-location/78343)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 7\
**Last updated:** [March 24, 2022, 2:57pm UTC](https://discourse.julialang.org/t/compatibility-specification-with-version-number-and-package-location/78343 "2022-03-24T14:57:15Z")

</div>

If I’m developing PkgA and have a dependency to a package that I’ve forked from github (and exists in the general registry) and I add this package to my Project.toml with pkg\>add http://github.com/ForkedPackage.jl How …

---

## [Why is this Project.toml compat not enforced?](https://discourse.julialang.org/t/why-is-this-project-toml-compat-not-enforced/72419)

<div class="topic-metadata">

**Author:** [@diederikb](https://discourse.julialang.org/u/diederikb)\
**Replies:** 2\
**Last updated:** [December 2, 2021, 1:36am UTC](https://discourse.julialang.org/t/why-is-this-project-toml-compat-not-enforced/72419 "2021-12-02T01:36:42Z")

</div>

Hi everyone, I have trouble understanding the following behavior that I tested on Julia 1.6.4 and 1.7.0. If I create an empty project and \] add PotentialFlow, this package cannot be imported because of the following err…

---

## [Error with CompatHelper - Error Code 1](https://discourse.julialang.org/t/error-with-compathelper-error-code-1/68446)

<div class="topic-metadata">

**Author:** [@tiago](https://discourse.julialang.org/u/tiago)\
**Replies:** 2\
**Last updated:** [September 20, 2021, 11:26am UTC](https://discourse.julialang.org/t/error-with-compathelper-error-code-1/68446 "2021-09-20T11:26:07Z")

</div>

Hello, I developed a package and I’m having issues with the CompatHelper. Recently I’ve changed my CI to GitHub Actions and noticed that the CompatHelper jobs are failing: I don’t know if this is connected with my n…

---

## [\[Article\] Dear Google Cloud: Your Deprecation Policy is Killing You](https://discourse.julialang.org/t/article-dear-google-cloud-your-deprecation-policy-is-killing-you/45019)

<div class="topic-metadata">

**Author:** [@anon67531922](https://discourse.julialang.org/u/anon67531922)\
**Replies:** 57\
**Last updated:** [December 14, 2020, 11:51am UTC](https://discourse.julialang.org/t/article-dear-google-cloud-your-deprecation-policy-is-killing-you/45019 "2020-12-14T11:51:30Z")

</div>

This article is a work of art: Dear Google Cloud: Your Deprecation Policy is Killing You I never really thought much about this topic, but this article picqued my curiosity. Are we (Julia community) doing enough think…
