Giter Club home page Giter Club logo

Comments (11)

fredrikekre avatar fredrikekre commented on June 11, 2024 2

In YAML, you have to use the string "1.10", otherwise it is the floating point value 1.1.

from documenter.jl.

ctkelley avatar ctkelley commented on June 11, 2024

I compared this failure with a success for another packages and saw this with version 1.1 for the failure and 1.9.4 for the success. This just started happening within the last couple days. How could the two packages be different in this way?

Run julia-actions/setup-julia@latest
  with:
    version: 1.1
    include-all-prereleases: false
    arch: X64
    show-versioninfo: false
/usr/bin/tar xf /home/runner/work/_temp/5638152d-32da-45b4-b3f1-0c07fd6c433c --strip-components=1 -C /opt/hostedtoolcache/julia/1.1.1/x64
/opt/hostedtoolcache/julia/1.1.1/x64/bin/julia --version
julia version 1.1.1

from documenter.jl.

ctkelley avatar ctkelley commented on June 11, 2024

The problem was that in the .github/workflows/docs.yml file the entry

julia-version: [1.10]

seemed to have loaded version 1.1. When I changed it to the one in the working repo

julia-version: [1.9]

the problem went away. Is this supposed to happen? I'd been using that docs.yml file for weeks with no problems until today.

from documenter.jl.

goerz avatar goerz commented on June 11, 2024

REPL possible versions are: 1.1.1 or uninstalled

That seems weird. Maybe REPL got moved out of the stdlib and now has a lower version number than it used to be?

Documenter may have to change its compat spec for REPL to β€œ1”

You might have better luck asking about this on Slack or Discourse

from documenter.jl.

ctkelley avatar ctkelley commented on June 11, 2024

I asked here because it seemed that it was a problem or bug with Documenter. In hindsight, Discourse might have been better.

from documenter.jl.

goerz avatar goerz commented on June 11, 2024

julia-version: [1.10] seemed to have loaded version 1.1.

That sounds to me maybe like a bug in Pkg?

from documenter.jl.

goerz avatar goerz commented on June 11, 2024

I asked here because it seemed that it was a problem or bug with Documenter. In hindsight, Discourse might have been better.

I’d still ask in a more general forum. This is either an issue with the Julia 1.10 release as the first one with a double digit minor version or an issue with the move of stdlib moving to independent versioning. It would be good to get to the bottom of this, even if it’s not directly Documenter-related. I actually think I have seen this problem before in some other context.

from documenter.jl.

ctkelley avatar ctkelley commented on June 11, 2024

Just tried

julia-version: ["1.10"]

and that worked. Those of us who pattern match on other people's YAML files will get surprised by this. It suspect that's most users of Julia.

from documenter.jl.

goerz avatar goerz commented on June 11, 2024

In YAML, you have to use the string "1.10", otherwise it is the floating point value 1.1.

Ah, I didn't account for the possibility that CI was actually running Julia 1.1! Good catch! πŸ‘

from documenter.jl.

goerz avatar goerz commented on June 11, 2024

@ctkelley If you can confirm that putting quotes around 1.10 solves the problem, I think we can close this issue

Edit: ah, you already did. Great!

from documenter.jl.

goerz avatar goerz commented on June 11, 2024

Those of us who pattern match on other people's YAML files will get surprised by this.

I wonder if the julia-actions/setup-julia action can detect this. Actually, there's already an issue for it: julia-actions/setup-julia#204

from documenter.jl.

Related Issues (20)

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.