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

Reference to non-existing field in VersionBound #750

Closed
andreasnoack opened this issue Sep 17, 2018 · 2 comments
Closed

Reference to non-existing field in VersionBound #750

andreasnoack opened this issue Sep 17, 2018 · 2 comments

Comments

@andreasnoack
Copy link
Member

VersionBound doesn't have a lo field (or property),

t::NTuple{3,UInt32}
n::Int

so

julia> Pkg.Types.isjoinable(Pkg.Types.VersionBound(), Pkg.Types.VersionBound())
ERROR: type VersionBound has no field lo
Stacktrace:
 [1] getproperty(::Any, ::Symbol) at ./sysimg.jl:18
 [2] isjoinable(::Pkg.Types.VersionBound, ::Pkg.Types.VersionBound) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/versions.jl:69
 [3] top-level scope at none:0

fails as pointed out in JuliaLang/METADATA.jl#18063 (comment).

bors bot added a commit that referenced this issue Sep 17, 2018
752: fix type in isjoinable r=KristofferC a=KristofferC

Fixes #750

Co-authored-by: Kristoffer Carlsson <[email protected]>
@bors bors bot closed this as completed in #752 Sep 17, 2018
@bjarthur
Copy link
Contributor

bjarthur commented May 9, 2019

why was this issue closed? i get the same error when trying to use ">=" in a [compat] section and julia 7:

(v0.7) pkg> activate test
[ Info: new environment will be placed at /Users/arthurb/test

(test) pkg> dev Gadfly
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Updating git-repo `https://github.com/GiovineItalia/Gadfly.jl.git`
[ Info: Path `/Users/arthurb/.julia/dev/Gadfly` exists and looks like the correct package, using existing path instead of cloning
 Resolving package versions...
ERROR: type VersionBound has no field lo
Stacktrace:
 [1] getproperty(::Any, ::Symbol) at ./sysimg.jl:18
 [2] isjoinable(::Pkg.Types.VersionBound, ::Pkg.Types.VersionBound) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/versions.jl:69
 [3] union!(::Array{Pkg.Types.VersionRange,1}) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/versions.jl:159

@fredrikekre
Copy link
Member

You are on Julia 0.7 which is EoL.

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

No branches or pull requests

3 participants