TestEnv.jl icon indicating copy to clipboard operation
TestEnv.jl copied to clipboard

TypeError on v1.8.0-RC1 when TestEnv is in default environment

Open oschulz opened this issue 3 years ago • 2 comments

On Julia v1.8.0-RC1 I run into this (using the release-1.8 branch of TestEnv) when TestEnv is in my default "v1.8" instead of my active environment:

julia> TestEnv.activate()
ERROR: TypeError: in typeassert, expected Pkg.Types.PackageSpec, got a value of type Nothing
Stacktrace:
 [1] current_pkg_name
   @ /user/.julia/packages/TestEnv/FG4R3/src/common.jl:10 [inlined]
 [2] activate()
   @ TestEnv /user/.julia/packages/TestEnv/FG4R3/src/activate_set.jl:10
 [3] top-level scope
   @ REPL[5]:1

julia> versioninfo()
Julia Version 1.8.0-rc1
Commit 6368fdc656 (2022-05-27 18:33 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: 16 × Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)

oschulz avatar Jun 23 '22 19:06 oschulz

maybe same as #35

nickrobinson251 avatar Jun 27 '22 22:06 nickrobinson251