Replies: 22 comments
-
Oh yes definitely. I wonder why CompatHelper didn't pick it up. Care to open a PR? |
Beta Was this translation helpful? Give feedback.
-
Because I wanted to extend it downwards to |
Beta Was this translation helpful? Give feedback.
-
In any case, since DifferentiationInterface wil (hopefully) be wide used, maybe we could use https://github.com/julia-actions/julia-downgrade-compat to keep the dependency version bounds wide, but in a safe manner? |
Beta Was this translation helpful? Give feedback.
-
Sounds like a great idea, thanks! |
Beta Was this translation helpful? Give feedback.
-
While a good idea in principle, downgrade compat testing is more tricky than it looks because I perform Pkg operations inside the DI test suite. The DI test suite is split into one CI workflow per AD backend, and each of those workflows activates a custom environment like |
Beta Was this translation helpful? Give feedback.
-
This could possibly be handled through the # Comma-separated list of Julia projects to modify. The Project.toml files in all of
# these directories will be modified.
# Example: ., test, docs
# Default: .
projects: '' |
Beta Was this translation helpful? Give feedback.
-
I don't think so because the individual |
Beta Was this translation helpful? Give feedback.
-
Maybe we could add the packages of |
Beta Was this translation helpful? Give feedback.
-
Could you point me to the location where the |
Beta Was this translation helpful? Give feedback.
-
And a separate mechanism is at work for adding
because otherwise Pkg will try to grab it from the general registry |
Beta Was this translation helpful? Give feedback.
-
To the best of my understanding, the way If we first activate |
Beta Was this translation helpful? Give feedback.
-
No because compat bounds of environments deeper in the
Side note: activating one then the other is not enough, we need to push the former into the |
Beta Was this translation helpful? Give feedback.
-
I thought it was cleaner to store this stuff in a |
Beta Was this translation helpful? Give feedback.
-
See #381, if tests pass on this one you can rebase #380 on it afterwards @adrhill |
Beta Was this translation helpful? Give feedback.
-
#380 reveals some annoying properties of the For example, the tests on #380 fail because ERROR: LoadError: Unsatisfiable requirements detected for package SparseMatrixColorings [0a514795]:
SparseMatrixColorings [0a514795] log:
├─possible versions are: 0.1.0-0.3.5 or uninstalled
├─restricted to versions 0.3.0 by DifferentiationInterface [a0c0ee7d], leaving only versions 0.3.0
│ └─DifferentiationInterface [a0c0ee7d] log:
│ ├─possible versions are: 0.5.9 or uninstalled
│ └─DifferentiationInterface [a0c0ee7d] is fixed to version 0.5.9
└─restricted by compatibility requirements with DocStringExtensions [ffbed154] to versions: 0.1.0 or uninstalled — no versions left
└─DocStringExtensions [ffbed154] log:
├─possible versions are: 0.4.6-0.9.3 or uninstalled
└─restricted to versions 0.8.0 by DifferentiationInterface [a0c0ee7d], leaving only versions 0.8.0
└─DifferentiationInterface [a0c0ee7d] log: see above So these tests might be a headache in the future. |
Beta Was this translation helpful? Give feedback.
-
Oh yeah I remember that discussion, essentially it tries to resolve all lower bounds at the same time. |
Beta Was this translation helpful? Give feedback.
-
@adrhill can you modify #380 by
|
Beta Was this translation helpful? Give feedback.
-
I bet that doing this will just reveal another dependency conflict. I suggest we keep #379 (which @oschulz needs) and don't use
|
Beta Was this translation helpful? Give feedback.
-
Or maybe not, that's my hope. If that's the only problem, gdalle/SparseMatrixColorings.jl#31 should be enough to fix it for good |
Beta Was this translation helpful? Give feedback.
-
If not, then that's pure luck. We'll encounter the same problem of having to manually resolve lower compat bounds every time we need to modify lower bounds. And that's going to happen every time we require a new feature from a new release of any dependency. |
Beta Was this translation helpful? Give feedback.
-
While we should test lower compat bounds, julia-downgrade-compat doesn't seem to be the answer for DI. We tried using it in #380, but it currently requires manual resolving of dependencies, which should ideally be handled by Pkg rather than a human. This problem was discussed on Discourse as well. A proposal to add |
Beta Was this translation helpful? Give feedback.
-
The current
DocStringExtensions = "0.9.3"
makes DifferentiationInterface incompatible with some packages that are still stuck on DocStringExtensions v0.8. Would it be possible to relax the version bound?Beta Was this translation helpful? Give feedback.
All reactions