JuliaRegistries / CompatHelper.jl

Automatically update the [compat] entries for your Julia package's dependencies
https://JuliaRegistries.github.io/CompatHelper.jl/dev/
MIT License
139 stars 39 forks source link

[FR] Ignore a given package #404

Open theogf opened 2 years ago

theogf commented 2 years ago

When CompatHelper is used for subdirs, e.g. docs or eventual examples, one wants to use the latest commit version of the current PR or of master/main from the parent repo/package. Therefore putting a compat for the parent package does not makes sense. A solution would be to pass a list of packages to ignore when running CompatHelper.jl, maybe a blacklist keyword?

DilumAluthge commented 2 years ago

As a short-term workaround, if you put a compat entry of the form e.g.

[compat]
Foo = ">= 1.2.3"

Then CompatHelper won't make any PRs to modify the compat entry for Foo.

theogf commented 2 years ago

My problem is that I would like to not put any compact so that the GH actions for creating the docs and other things use the dev version of the package.

lucaferranti commented 11 months ago

a blacklist keyword would indeed be nice.

The propoesd workaround does not set an uper-bound and hence would not work if I don't want to support a new breaking version of a dependency (for lack of bandwidth to upgrade or other reasons).

A few options off the top of my head: