Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still incompatible with Julia <1.7 #156

Closed
MilesCranmer opened this issue Mar 16, 2024 · 2 comments · Fixed by #157
Closed

Still incompatible with Julia <1.7 #156

MilesCranmer opened this issue Mar 16, 2024 · 2 comments · Fixed by #157

Comments

@MilesCranmer
Copy link
Member

cc @maleadt unfortunately this package is still broken on Julia <1.7. Could you instead set the bounds of the Julia versions according to what Julia you have actually tested against? Otherwise when I try to submit bug report for an earlier Julia version, it just downloads the current BugReporting.jl (which appears incompatible with older Julia versions), despite the [compat] saying julia = "1.3":

julia = "1.3"

If the [compat] is given correctly then it will download the older version of BugReporting which would let me successfully submit a bug report.

The next bug is that errormonitor does not yet exist in Julia 1.6:

ERROR: UndefVarError: errormonitor not defined
Stacktrace:
  [1] get_upload_params()
    @ BugReporting ~/.julia/packages/BugReporting/NFHSR/src/BugReporting.jl:632
  [2] (::BugReporting.var"#20#22"{Vector{String}})(trace_dir::String)
    @ BugReporting ~/.julia/packages/BugReporting/NFHSR/src/BugReporting.jl:551
  [3] mktempdir(fn::BugReporting.var"#20#22"{Vector{String}}, parent::String; prefix::String)
    @ Base.Filesystem ./file.jl:729
  [4] mktempdir (repeats 2 times)
    @ ./file.jl:727 [inlined]
  [5] make_interactive_report(report_arg::String, ARGS::Vector{String})
    @ BugReporting ~/.julia/packages/BugReporting/NFHSR/src/BugReporting.jl:547
  [6] #invokelatest#2
    @ ./essentials.jl:708 [inlined]
  [7] invokelatest
    @ ./essentials.jl:706 [inlined]
  [8] report_bug(kind::String)
    @ InteractiveUtils /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/InteractiveUtils/src/InteractiveUtils.jl:391
  [9] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:233
 [10] _start()
    @ Base ./client.jl:485
@MilesCranmer
Copy link
Member Author

I was able to get it working with BugReporting.jl version 0.2.7

It looks like every version since then, i.e., v0.2.8-0.3.3, are all incompatible with Julia <1.7 (or 1.7 as well; but I've only tested 1.6 thus far).

@maleadt Because of this incompatibility, could those compatibilities be yanked from the registry for Julia <1.7? Otherwise you would need to know specifically what BugReporting.jl version to install, and couldn't rely on --bug-report=rr to get a working one.

@maleadt
Copy link
Member

maleadt commented Mar 17, 2024

I'd rather we fix the current version. I'll have a better look next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants