# What is preventing these packages from upgrading

**URL:** https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618
**Category:** General Usage
**Tags:** question, package-manager
**Created:** [October 5, 2023, 3:18pm UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618 "2023-10-05T15:18:16Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)
#### Post date: [October 5, 2023, 3:18pm UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/1 "2023-10-05T15:18:16Z")

</div>

I have been experiencing a lot of package downgrades and version conflicts after adding FunctionZeros.jl to one of my projects. To investigate the matter further, I add FunctionZeros to a separate environment and examined what is outdaed:

```julia
(functionzeros) pkg> st -m --outdated
Status `~/.julia/dev/sandbox/functionzeros/Manifest.toml`
⌅ [92d709cd] IrrationalConstants v0.1.1 (<v0.2.2): SpecialFunctions
⌅ [f2b01f46] Roots v1.4.1 (<v2.0.20): FunctionZeros
⌅ [efcf1570] Setfield v0.8.2 (<v1.1.1): Roots
⌅ [276daf66] SpecialFunctions v1.8.8 (<v2.3.1): FunctionZeros

```

I looked through the Project.toml files of each package and didn’t notice anything unusual. However, to be honest, I’m not certain I know what to look for. In either case, these downgrades are having downstream implications for other dependencies. Is there anything that can be done to upgrade the dependencies above?

---

<div class="post-metadata">

### Author: ![skleinbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skleinbo/32/36080_2.png) [@skleinbo](https://discourse.julialang.org/u/skleinbo)
#### Post date: [October 5, 2023, 3:46pm UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/2 "2023-10-05T15:46:50Z")

</div>

The output above says `FunctionZeros` is holding back `Roots` and `SpecialFunctions`, which in turn hold back `Setfield` and `IrrationalConstants` respectively.

The currently registered version of `FunctionZeros` isn’t up to date with its dependencies:

> <https://github.com/JuliaMath/FunctionZeros.jl/blob/v0.2.0/Project.toml#L10-L13>

However, newer compat bounds _are_ merged into master.

> <https://github.com/JuliaMath/FunctionZeros.jl/blob/master/Project.toml#L10-L13>

Let’s ask the (last) maintainer @jlapeyre if a new release can be tagged 🙂

---

<div class="post-metadata">

### Author: ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)
#### Post date: [October 5, 2023, 3:53pm UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/3 "2023-10-05T15:53:27Z")

</div>

Thanks! I missed the fact that the current Project.toml and most recent registered versions are so different.

---

<div class="post-metadata">

### Author: ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)
#### Post date: [October 6, 2023, 4:37am UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/4 "2023-10-06T04:37:13Z")

</div>

> Error while trying to register: Changing package repo URL not allowed, please submit a pull request with the URL change to the target registry and retry.

Anyone know how to do this? Is there a procedure, or I try something ad hoc?

I moved the repo to JuliaMath, so the URL has changed.

---

<div class="post-metadata">

### Author: ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)
#### Post date: [October 6, 2023, 5:25am UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/5 "2023-10-06T05:25:41Z")

</div>

Sounds like you need to update the URL in the general registry directly, by creating a PR to it with the new URL. Once the URL is updated, registrations should work.

---

<div class="post-metadata">

### Author: ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)
#### Post date: [October 6, 2023, 11:00am UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/6 "2023-10-06T11:00:01Z")

</div>

@jlapeyre, thank you for releasing a new version. If the advice provided by jishnub doesn’t work, you might try asking for assistance in the Slack channel #pkg-registration.

---

<div class="post-metadata">

### Author: ![skleinbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skleinbo/32/36080_2.png) [@skleinbo](https://discourse.julialang.org/u/skleinbo)
#### Post date: [October 6, 2023, 11:24am UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/7 "2023-10-06T11:24:56Z")

</div>

> **[GitHub - JuliaRegistries/General: The official registry of general Julia...](https://github.com/JuliaRegistries/General#how-do-i-transfer-a-package-to-an-organization-or-another-user)**
>
> The official registry of general Julia packages. Contribute to JuliaRegistries/General development by creating an account on GitHub.

is what the docs say.

---

<div class="post-metadata">

### Author: ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)
#### Post date: [October 6, 2023, 1:47pm UTC](https://discourse.julialang.org/t/what-is-preventing-these-packages-from-upgrading/104618/8 "2023-10-06T13:47:37Z")

</div>

Thanks for the replies. I meant to try a PR last night before many people got a chance to reply. But I started cloning the General registry and then got sidetracked while waiting. Cloning is done, so I will give it a shot.

UPDATE: [Change url for FunctionZeros to JuliaMath org by jlapeyre · Pull Request #92925 · JuliaRegistries/General · GitHub](https://github.com/JuliaRegistries/General/pull/92925)

UPDATE: [Release v0.3.0 · JuliaMath/FunctionZeros.jl · GitHub](https://github.com/JuliaMath/FunctionZeros.jl/releases/tag/v0.3.0)
