# Status of CompatHelperLocal

**URL:** <https://discourse.julialang.org/t/status-of-compathelperlocal/85792>\
**Category:** General Usage\
**Tags:** question, package, compathelperlocal\
**Created:** [August 15, 2022, 8:08pm UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792 "2022-08-15T20:08:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 15, 2022, 8:08pm UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/1 "2022-08-15T20:08:09Z")

</div>

What is the status of this package: [Alexander Plavin / CompatHelperLocal.jl · GitLab](https://gitlab.com/aplavin/compathelperlocal.jl)

I find it very useful, but it is not well maintained and I did not find a way to submit an issue. Anybody else able to submit issues on GitLab?

---

<div class="post-metadata">

**Author:** ![dilumaluthge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dilumaluthge/32/29283_2.png) [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Post date:** [August 15, 2022, 8:32pm UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/2 "2022-08-15T20:32:39Z")

</div>

This doesn’t answer your original question, but if you want a nice interface for setting `[compat]` entries locally, check out PackageCompatUI.jl.

> **[GitHub - GunnarFarneback/PackageCompatUI.jl: Terminal UI for \[compat\] section...](https://github.com/GunnarFarneback/PackageCompatUI.jl)**
>
> Terminal UI for \[compat\] section of Julia Project.toml files. - GitHub - GunnarFarneback/PackageCompatUI.jl: Terminal UI for \[compat\] section of Julia Project.toml files.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 15, 2022, 8:46pm UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/3 "2022-08-15T20:46:25Z")

</div>

Well, what I want is this: [Automatically add `compat` entries according to current installed versions · Issue #2463 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/2463)

Or this: [Add automatically compat entry when adding a package · Issue #776 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/776)

But it is not yet implemented…

For manually editing entries you can also use the `compat` command in the pkg modus of Julia in version 1.8 … 😃

---

<div class="post-metadata">

**Author:** ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Post date:** [August 16, 2022, 12:14am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/4 "2022-08-16T00:14:21Z")

</div>

Author here. My hope for CompatHelperLocal is that it becomes superseded by more “official” tools at some point - such as CompatHelper getting the ability to run locally. This hasn’t happened for a few years though…

The core functionality of CompatHelperLocal is to automatically check that compat entries are present and up to date. As suggested in the README, just add it to `runtests.jl`, and when compats become outdated you get reminders + copy-pastable compat section contents.  
This is different from manual interactive compat interfaces mentioned in posts above. I personally rarely use them (mostly the built-in `]compat`), but always put `CompatHelperLocal` into tests of all my packages.

> [@ufechner7](#):
>
> but it is not well maintained

Do you find any specific issue with it not working correctly? I consider the core functionality effectively “done”. There are some non-registered experimental features, but that’s a different story.

> [@ufechner7](#):
>
> I did not find a way to submit an issue

Issues are definitely enabled for the repo. It should be possible to submit one through the regular gitlab interface.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 16, 2022, 6:02am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/5 "2022-08-16T06:02:01Z")

</div>

> [@aplavin](#):
>
> Do you find any specific issue with it not working correctly?

Yes, the compat section of your package is outdated and if I install it when using Julia 1.8-rc3 it downgrades what I have installed.

```julia-auto
(tmp) pkg> add CompatHelperLocal
   Resolving package versions...
    Updating `~/repos/tmp/Project.toml`
  [5224ae11] + CompatHelperLocal v0.1.20
    Updating `~/repos/tmp/Manifest.toml`
  [5224ae11] + CompatHelperLocal v0.1.20
⌅ [ffbed154] ↓ DocStringExtensions v0.9.1 ⇒ v0.8.6
        Info Packages marked with ⌅ have new versions available but cannot be upgraded. To see why use `status --outdated -m`

```

```julia-auto
(tmp) pkg> status --outdated -m
Status `~/repos/tmp/Manifest.toml`
⌅ [34da2185] Compat v3.45.0 (<v4.1.0): DataFrames
⌅ [ffbed154] DocStringExtensions v0.8.6 (<v0.9.1): CompatHelperLocal

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 16, 2022, 6:03am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/6 "2022-08-16T06:03:55Z")

</div>

> [@aplavin](#):
>
> It should be possible to submit one through the regular gitlab interface.

Can you provide a screenshot? I don’t find it.

---

<div class="post-metadata">

**Author:** ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Post date:** [August 17, 2022, 3:46am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/7 "2022-08-17T03:46:54Z")

</div>

Indeed, you are right!  
I haven’t registered new versions of CompatHelperLocal in General for some time. The most recent version with updated compat will appear there when the Registrator PR [https://github.com/JuliaRegistries/General/pull/66316](https://github.com/JuliaRegistries/General/pull/66316) gets merged.

Just in case: note that in typical use, you only need CompatHelperLocal in your test environment, so it doesn’t affect your package dependencies at all.

---

<div class="post-metadata">

**Author:** ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Post date:** [August 17, 2022, 3:51am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/8 "2022-08-17T03:51:21Z")

</div>

> [@ufechner7](#):
>
> Can you provide a screenshot? I don’t find it.

Issues should be right there:  
[![Imgur](https://global.discourse-cdn.com/julialang/original/3X/2/b/2b5eb32f4a1f6da60b44c7b2c7eb2adfc98db670.png "imgur.com") ](https://imgur.com/4FmwECs)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 17, 2022, 5:52am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/9 "2022-08-17T05:52:55Z")

</div>

Thanks, I found it. My problem was if I first searched for your project and then logged in your project disappeared. I have to first log in and then search for your project…

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 17, 2022, 5:56am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/10 "2022-08-17T05:56:56Z")

</div>

Well, it will not get merged. See: “Does not meet sequential version number guideline: version 0.1.24 skips over 0.1.21”.

So you have to change the version number and try again…

---

<div class="post-metadata">

**Author:** ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Post date:** [August 17, 2022, 6:45am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/11 "2022-08-17T06:45:24Z")

</div>

The sequential version is only a requirement for AutoMerge, the bot comment explicitly says that:

> Note that the guidelines are only required for the pull request to be merged automatically.  
> …  
> If you do not want to fix the AutoMerge issues, please post a comment explaining why you would like this pull request to be manually merged.

And I do exactly this - post a comment that the version is fine. There are already a couple of intermediate versions not registered in General, I cannot use earlier numbers.

That PR was just merged, probably DilumAluthge saw this discussion. The new version should be available from General now.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 17, 2022, 7:31am UTC](https://discourse.julialang.org/t/status-of-compathelperlocal/85792/12 "2022-08-17T07:31:21Z")

</div>

Great! Thank you!
