Git Product home page Git Product logo

julia-downgrade-compat-action's People

Contributors

cjdoris avatar joshualampert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

julia-downgrade-compat-action's Issues

Dealing with unresolvable versions

Say your compat looks like this:

[compat]
A = "1.5"
B = "2.2"

but package B's compat is

[compat]
A = "1.6"

Does applying this action yield unresolvable package versions?

I think this may be the issue that I'm having here, for A=ForwardDiff and B=SpecialFunctions.

Downgrade Project files in test and lib folders

Some Julia packages organize their tests using a Project file in the test folder, e.g.:
https://github.com/SciML/Optimization.jl/blob/master/test/Project.toml
If I understand this action correctly, the additional Project file will not be downgraded.

Similarly, there are sometimes additional Project files in the lib folder, e.g.:
https://github.com/SciML/Optimization.jl/blob/master/lib/OptimizationBBO/Project.toml

I think it would be a useful option to jointly downgraded all these Project files before testing.

Standard libraries?

How can I get this to work with standard libraries?

For example, I have this in my compat:

Statistics = "1.7"
julia = "1.7"

But I get this error from this action:

ERROR: LoadError: Unsatisfiable requirements detected for package Statistics [10745b16]:
 Statistics [10745b16] log:
 ├─possible versions are: 1.10.0 or uninstalled
 └─restricted to versions 1.7 by RestrictedBoltzmannMachines [12e6b396] — no versions left
   └─RestrictedBoltzmannMachines [12e6b396] log:
     ├─possible versions are: 3.2.7 or uninstalled
     └─RestrictedBoltzmannMachines [12e6b396] is fixed to version 3.2.7-DEV

See https://github.com/cossio/RestrictedBoltzmannMachines.jl/actions/runs/7862238592/job/21451486203.

apply downgrade locally

This action is really helpful. Can I apply the downgrade locally in a branch, in order to to test it before activating the CI on github?

In case, its not locally accessible yet, I suggest to ask ufechner, if it can be implemented at PkgHelpers.jl.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.