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] openldap/2.6.0: conan v2 API compatibility #16749

Closed
grabowski-d opened this issue Mar 28, 2023 · 1 comment
Closed

[package] openldap/2.6.0: conan v2 API compatibility #16749

grabowski-d opened this issue Mar 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@grabowski-d
Copy link

Description

There should be fixed imports in recipe according to conan API changes.

I wish to solve this issue by myself.

Package and Environment Details

  • Package Name/Version: openldap/2.6.1
  • Operating System+version: Linux Ubuntu 22.04
  • Compiler+version: GCC 11.3
  • Conan version: conan 2.0.2
  • Python version: Python 3.10.6

Conan profile

Host profile:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

Build profile:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

Steps to reproduce

conan download -r conancenter openldap/2.6.1

Logs

Click to expand log

conan download -r conancenter openldap/2.6.1
Downloading recipe 'openldap/2.6.1#88cdc33679e1c0e6e3b2d5fc208880c1'
Decompressing conan_export.tgz
ERROR: Error loading conanfile at '/home/work/.conan2/p/openlf39aff6d5434b/e/conanfile.py': Unable to load conanfile in /home/work/.conan2/p/openlf39aff6d5434b/e/conanfile.py
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/work/.conan2/p/openlf39aff6d5434b/e/conanfile.py", line 2, in
from conans import ConanFile, AutoToolsBuildEnvironment, tools
ImportError: cannot import name 'ConanFile' from 'conans' (/usr/local/lib/python3.10/dist-packages/conans/init.py)

@grabowski-d grabowski-d added the bug Something isn't working label Mar 28, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Mar 29, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Mar 29, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Mar 29, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Mar 30, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Apr 4, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Apr 11, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Apr 11, 2023
grabowski-d added a commit to grabowski-d/conan-center-index that referenced this issue Apr 11, 2023
@uilianries
Copy link
Member

Fixed by #18800. Please, feel free to re-open this issue in case finding an error when using the new package revision with Conan 2.x support.

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
Development

No branches or pull requests

2 participants