Skip to content

Commit 97b7cfa

Browse files
committed
JULIA_CONDAPKG_LIBSTDCXX_VERSION_BOUND -> JULIA_PYTHONCALL_LIBSTDCXX_VERSION_BOUND
1 parent daf0ff0 commit 97b7cfa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/src/pythoncall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ override this value, use:
292292

293293
```julia
294294
[PythonCall]
295-
ENV["JULIA_CONDAPKG_LIBSTDCXX_VERSION_BOUND"] = ">=3.4,<=12"
295+
ENV["JULIA_PYTHONCALL_LIBSTDCXX_VERSION_BOUND"] = ">=3.4,<=12"
296296
```
297297

298298
To figure out installed version, run

src/cpython/context.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function get_libstdcxx_version_bound()
6767
# the highest GCC version we know about, which should be a fairly safe choice.
6868
max_version = get(vers_mapping, loaded_libstdcxx_version.patch, vers_mapping[maximum(keys(vers_mapping))])
6969
cxx_version = ">=3.4,<=$(max_version.major).$(max_version.minor)"
70-
get(ENV, "JULIA_CONDAPKG_LIBSTDCXX_VERSION_BOUND", cxx_version)
70+
get(ENV, "JULIA_PYTHONCALL_LIBSTDCXX_VERSION_BOUND", cxx_version)
7171
end
7272

7373
function init_context()

test/context.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@testitem "libstdc++ version" begin
2-
ENV["JULIA_CONDAPKG_LIBSTDCXX_VERSION_BOUND"] = ">=3.4,<=12"
2+
ENV["JULIA_PYTHONCALL_LIBSTDCXX_VERSION_BOUND"] = ">=3.4,<=12"
33

44
cxxversion = PythonCall.C.get_libstdcxx_version_bound()
55
@test cxxversion == ">=3.4,<=12"

0 commit comments

Comments
 (0)