Skip to content

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

@oschulz

Description

@oschulz

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions