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

confu_json: support for c++17 #15199

Merged
merged 16 commits into from
Jan 30, 2023
Merged

confu_json: support for c++17 #15199

merged 16 commits into from
Jan 30, 2023

Conversation

werto87
Copy link
Contributor

@werto87 werto87 commented Jan 10, 2023

Specify library name and version: confu_json/1.0.0

removed c++20 dependency. This lib should now compile with c++17


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@ghost
Copy link

ghost commented Jan 22, 2023

I detected other pull requests that are modifying confu_json/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

AbrilRBS
AbrilRBS previously approved these changes Jan 27, 2023
Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for your patience, sorry that this took so long to get reviewed, we're hard at work for the 2.0 launch. We really appreciate the time you took to implement this.

I can only see one small issue here to help with Conan2 compatibility, but otherwise looks great.

recipes/confu_json/all/conanfile.py Outdated Show resolved Hide resolved
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

recipes/confu_json/all/conanfile.py Outdated Show resolved Hide resolved
recipes/confu_json/all/conanfile.py Outdated Show resolved Hide resolved
werto87 and others added 3 commits January 28, 2023 08:48
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 15 (14c4e45e92c7dd1666418dd66bc0cd9bf50eafd2):

  • confu_json/0.0.5@:
    All packages built successfully! (All logs)

  • confu_json/0.0.9@:
    All packages built successfully! (All logs)

  • confu_json/0.0.10@:
    All packages built successfully! (All logs)

  • confu_json/1.0.0@:
    All packages built successfully! (All logs)


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 15 (14c4e45e92c7dd1666418dd66bc0cd9bf50eafd2):

  • confu_json/1.0.0@:
    Error running command conan graph info --requires confu_json/1.0.0@#dfacc648e8bd2b8e686c41b6509e7e6d -f json -pr:h /home/conan/w/prod-v2_cci_PR-15199/15/910f3c92-f80b-4c62-8c0c-cc3209a59e2c/profile_linux_11_libstdcpp11_gcc_release_64..txt -pr:b /home/conan/w/prod-v2_cci_PR-15199/15/910f3c92-f80b-4c62-8c0c-cc3209a59e2c/profile_linux_11_libstdcpp11_gcc_release_64..txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    
    -------- Computing dependency graph --------
    boost/1.81.0: Not found in local cache, looking in remotes...
    boost/1.81.0: Checking remote: conan-center-v2
    boost/1.81.0: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    boost/1.81.0: Downloaded recipe revision 0aca3d1f3a8d8b2f46886c7c26da599d
    zlib/1.2.13: Not found in local cache, looking in remotes...
    zlib/1.2.13: Checking remote: conan-center-v2
    zlib/1.2.13: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center-v2
    bzip2/1.0.8: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008
    libbacktrace/cci.20210118: Not found in local cache, looking in remotes...
    libbacktrace/cci.20210118: Checking remote: conan-center-v2
    libbacktrace/cci.20210118: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conan_export.tgz
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    libbacktrace/cci.20210118: Downloaded recipe revision 83410de09fe2b7785ee8953e2be8db33
    b2/4.9.3: Not found in local cache, looking in remotes...
    b2/4.9.3: Checking remote: conan-center-v2
    b2/4.9.3: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conan_export.tgz
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    b2/4.9.3: Downloaded recipe revision c721ad9d71f6b114ed03a94887c973b6
    magic_enum/0.8.0: Not found in local cache, looking in remotes...
    magic_enum/0.8.0: Checking remote: conan-center-v2
    magic_enum/0.8.0: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    magic_enum/0.8.0: Downloaded recipe revision 329970e8eafd435ddf568958530ebca2
    Graph root
        virtual
    Requirements
        boost/1.81.0#0aca3d1f3a8d8b2f46886c7c26da599d - Downloaded (conan-center-v2)
        bzip2/1.0.8#464be69744fa6d48ed01928cfe470008 - Downloaded (conan-center-v2)
        confu_json/1.0.0#dfacc648e8bd2b8e686c41b6509e7e6d - Cache
        libbacktrace/cci.20210118#83410de09fe2b7785ee8953e2be8db33 - Downloaded (conan-center-v2)
        magic_enum/0.8.0#329970e8eafd435ddf568958530ebca2 - Downloaded (conan-center-v2)
        zlib/1.2.13#13c96f538b52e1600c40b88994de240f - Downloaded (conan-center-v2)
    Build requirements
        b2/4.9.3#c721ad9d71f6b114ed03a94887c973b6 - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: confu_json/1.0.0: Error in package_id() method, line 80
    	self.info.header_only()
    	AttributeError: 'ConanInfo' object has no attribute 'header_only'
    
  • confu_json/0.0.9@:
    Error running command conan graph info --requires confu_json/0.0.9@#e9057e87a8e76ce036872e973f1c5bc7 -f json -pr:h /home/conan/w/prod-v2_cci_PR-15199/15/3db331d5-eba9-4ec7-b9f8-1cd723658f05/profile_windows_192_release_static_msvc_release_64..txt -pr:b /home/conan/w/prod-v2_cci_PR-15199/15/3db331d5-eba9-4ec7-b9f8-1cd723658f05/profile_windows_192_release_static_msvc_release_64..txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.runtime=static
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.runtime=static
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    
    
    -------- Computing dependency graph --------
    confu_json/0.0.9: WARN: confu_json recipe lacks information about the msvc compiler support.
    boost/1.81.0: Not found in local cache, looking in remotes...
    boost/1.81.0: Checking remote: conan-center-v2
    boost/1.81.0: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    boost/1.81.0: Downloaded recipe revision 0aca3d1f3a8d8b2f46886c7c26da599d
    zlib/1.2.13: Not found in local cache, looking in remotes...
    zlib/1.2.13: Checking remote: conan-center-v2
    zlib/1.2.13: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center-v2
    bzip2/1.0.8: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conan_export.tgz
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008
    b2/4.9.3: Not found in local cache, looking in remotes...
    b2/4.9.3: Checking remote: conan-center-v2
    b2/4.9.3: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    b2/4.9.3: Downloaded recipe revision c721ad9d71f6b114ed03a94887c973b6
    magic_enum/0.8.0: Not found in local cache, looking in remotes...
    magic_enum/0.8.0: Checking remote: conan-center-v2
    magic_enum/0.8.0: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conan_export.tgz
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    magic_enum/0.8.0: Downloaded recipe revision 329970e8eafd435ddf568958530ebca2
    Graph root
        virtual
    Requirements
        boost/1.81.0#0aca3d1f3a8d8b2f46886c7c26da599d - Downloaded (conan-center-v2)
        bzip2/1.0.8#464be69744fa6d48ed01928cfe470008 - Downloaded (conan-center-v2)
        confu_json/0.0.9#e9057e87a8e76ce036872e973f1c5bc7 - Cache
        magic_enum/0.8.0#329970e8eafd435ddf568958530ebca2 - Downloaded (conan-center-v2)
        zlib/1.2.13#13c96f538b52e1600c40b88994de240f - Downloaded (conan-center-v2)
    Build requirements
        b2/4.9.3#c721ad9d71f6b114ed03a94887c973b6 - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: confu_json/0.0.9: Error in package_id() method, line 80
    	self.info.header_only()
    	AttributeError: 'ConanInfo' object has no attribute 'header_only'
    
  • confu_json/0.0.10@:
    Error running command conan graph info --requires confu_json/0.0.10@#185552efeef12f9adec111438a94a14a -f json -pr:h /home/conan/w/prod-v2_cci_PR-15199/15/f57efa74-d794-4630-a98b-c4a68ce2fb4d/profile_windows_192_release_static_msvc_release_64..txt -pr:b /home/conan/w/prod-v2_cci_PR-15199/15/f57efa74-d794-4630-a98b-c4a68ce2fb4d/profile_windows_192_release_static_msvc_release_64..txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.runtime=static
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.runtime=static
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    
    
    -------- Computing dependency graph --------
    confu_json/0.0.10: WARN: confu_json recipe lacks information about the msvc compiler support.
    boost/1.81.0: Not found in local cache, looking in remotes...
    boost/1.81.0: Checking remote: conan-center-v2
    boost/1.81.0: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    boost/1.81.0: Downloaded recipe revision 0aca3d1f3a8d8b2f46886c7c26da599d
    zlib/1.2.13: Not found in local cache, looking in remotes...
    zlib/1.2.13: Checking remote: conan-center-v2
    zlib/1.2.13: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center-v2
    bzip2/1.0.8: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008
    b2/4.9.3: Not found in local cache, looking in remotes...
    b2/4.9.3: Checking remote: conan-center-v2
    b2/4.9.3: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conan_export.tgz
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    b2/4.9.3: Downloaded recipe revision c721ad9d71f6b114ed03a94887c973b6
    magic_enum/0.8.0: Not found in local cache, looking in remotes...
    magic_enum/0.8.0: Checking remote: conan-center-v2
    magic_enum/0.8.0: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    magic_enum/0.8.0: Downloaded recipe revision 329970e8eafd435ddf568958530ebca2
    Graph root
        virtual
    Requirements
        boost/1.81.0#0aca3d1f3a8d8b2f46886c7c26da599d - Downloaded (conan-center-v2)
        bzip2/1.0.8#464be69744fa6d48ed01928cfe470008 - Downloaded (conan-center-v2)
        confu_json/0.0.10#185552efeef12f9adec111438a94a14a - Cache
        magic_enum/0.8.0#329970e8eafd435ddf568958530ebca2 - Downloaded (conan-center-v2)
        zlib/1.2.13#13c96f538b52e1600c40b88994de240f - Downloaded (conan-center-v2)
    Build requirements
        b2/4.9.3#c721ad9d71f6b114ed03a94887c973b6 - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: confu_json/0.0.10: Error in package_id() method, line 80
    	self.info.header_only()
    	AttributeError: 'ConanInfo' object has no attribute 'header_only'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work :)

@conan-center-bot conan-center-bot merged commit 5fafbab into conan-io:master Jan 30, 2023
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* new version. support for c++17

* hook feedback

* replaced missing property with magic number.

* new line

* new line

* imports

* import

* import

* import

* bug fix comparing

* msvc version check

* Update recipes/confu_json/all/conanfile.py

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>

* Update recipes/confu_json/all/conanfile.py

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* Update recipes/confu_json/all/conanfile.py

Co-authored-by: Uilian Ries <uilianries@gmail.com>

* missing include. new sha because of rerelease

* gcc is only supported in versions greater than or equal 1.0.0.

---------

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
Co-authored-by: Uilian Ries <uilianries@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants