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

[package] ISL/0.24 lacks support for Conan 2.0 #14915

Closed
System-Arch opened this issue Dec 23, 2022 · 1 comment · Fixed by #21153
Closed

[package] ISL/0.24 lacks support for Conan 2.0 #14915

System-Arch opened this issue Dec 23, 2022 · 1 comment · Fixed by #21153
Labels
bug Something isn't working

Comments

@System-Arch
Copy link
Contributor

Description

Uses old-style imports

Package and Environment Details

isl/0.24

Conan profile

Any

Steps to reproduce

conan-2.0 build -pr:b tools.jinja -pr:h tools.jinja --name isl --version 0.24 .

Logs

Click to expand log
conan-2.0 build -pr:b tools.jinja -pr:h tools.jinja --name isl --version 0.24 .

-------- Input profiles --------
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
[options]
cmake*:bootstrap=True
[tool_requires]
!openssl*: cmake/3.24.2

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
[options]
cmake*:bootstrap=True
[tool_requires]
!openssl*: cmake/3.24.2

ERROR: Error loading conanfile at '/tmp/tmp.UuQlL1yi0W/isl/conanfile.py': Unable to load conanfile in /tmp/tmp.UuQlL1yi0W/isl/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmp/tmp.UuQlL1yi0W/isl/conanfile.py", line 1, in <module>
    from conans import AutoToolsBuildEnvironment, ConanFile, tools
ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/mathworks/devel/sandbox/marc/conan-2.0/conan-io/conans/__init__.py)
@System-Arch System-Arch added the bug Something isn't working label Dec 23, 2022
@System-Arch
Copy link
Contributor Author

Will submit a fix shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant