# Package problems during CI testing (github actions)

**URL:** <https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439>\
**Category:** Package Management\
**Tags:** question, github-actions\
**Created:** [May 3, 2022, 5:29pm UTC](https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439 "2022-05-03T17:29:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gus\_Hart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gus_hart/32/6987_2.png) [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Post date:** [May 3, 2022, 5:29pm UTC](https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439/1 "2022-05-03T17:29:20Z")

</div>

I’ve setup continuous integration for several packages that I’ve written. For a new package, I’m getting an error that I can’t debug (see image). (Here is the new packjage: [GitHub - glwhart/Spacey.jl: Spacegroup finder utility for crystals (useful for density functional theory codes and computational materials science)](https://github.com/glwhart/Spacey.jl))

The new package requires `MinkowskiReduction.jl` (a registered package that I wrote). The error message seems to suggest that all versions of Minkowski reduction are incompatible with the Julia versions compatible with the new package (but it works just fine by itself, including the CI testing).

`MinkowskiReduction.jl` is compatible (according to my `Project.toml`) with julia v1.2 and above. And that is the version of julia in my project.toml for the new package as well. Perhaps I’m misreading the error messages. Can anyone help me understand what is wrong?

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/3/2380e92c6d568fc5993ad0b8e746aae6029215be.png)

Project.toml of new package:

```julia
...
[compat]
julia = "1.2"

```

Project.toml of `MinkowskiReduction.jl` package

```julia
...
[compat]
julia = "1.2"
...

```

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 3, 2022, 6:20pm UTC](https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439/2 "2022-05-03T18:20:11Z")

</div>

> [@Gus\_Hart](#):
>
> Project.toml of `MinkowskiReduction.jl` package
> 
> ```julia
> ...
> [compat]
> julia = "1.2"
> ...
> 
> ```

The registry doesn’t agree: here it says `MinkowskiReduction.jl` requires Julia v1.5:

> <https://github.com/JuliaRegistries/General/blob/8583715cabb1b8867079225659655e028224ad12/M/MinkowskiReduction/Compat.toml#L2>

And for example this is the content of your `Project.toml` on v1.1.0:

> <https://github.com/glwhart/MinkowskiReduction.jl/blob/v1.1.0/Project.toml#L11>

---

<div class="post-metadata">

**Author:** ![Gus\_Hart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gus_hart/32/6987_2.png) [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Post date:** [May 3, 2022, 8:24pm UTC](https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439/3 "2022-05-03T20:24:32Z")

</div>

Thanks Mosè. I must have changed it and not done a new tag. I was just trying to be generous with older versions. If I tag a new version of MinkowskiReduction, with a lower version of julia, that won’t cause problems, right?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 3, 2022, 9:17pm UTC](https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439/4 "2022-05-03T21:17:19Z")

</div>

Yes, that should be fine. In general, narrowing the range of supported versions of Julia requires a bump of the minor version, I don’t know if there are rules for widening the range, that’s probably a less common case, but if you want to stay safe and avoid having the bot yelling at you, you can bump also in this case the minor version number.

---

<div class="post-metadata">

**Author:** ![Gus\_Hart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gus_hart/32/6987_2.png) [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Post date:** [May 3, 2022, 10:12pm UTC](https://discourse.julialang.org/t/package-problems-during-ci-testing-github-actions/80439/5 "2022-05-03T22:12:15Z")

</div>

I was never able to get the tests to pass, even after changing both repos back to julia v1.5 in the project.toml…UNTIL I bumped the minor version of MinkowskiReduction.jl. Now the the pkgBuild part of the CI unit tests are working in Spacey.jl. Thank you for your help.
