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

python-packaging 24.0 #23091

Closed

Conversation

ericLemanissier
Copy link
Contributor

@ericLemanissier ericLemanissier commented Mar 14, 2024

Specify library name and version: python-packaging/24.0


@conan-center-bot

This comment has been minimized.

@ericLemanissier
Copy link
Contributor Author

The build is now finished. You can take a look at the results here

@conan-center-bot

This comment has been minimized.

@ericLemanissier
Copy link
Contributor Author

The build is now finished. You can take a look at the results here

@uilianries
Copy link
Member

I have a branch with this package here: https://github.com/uilianries/conan-center-index/tree/package/python-packaging/recipes/python-packaging

Still under study with the Conan team. Please, be patient, there are many points to be considered.

@conan-center-bot

This comment has been minimized.

@ericLemanissier ericLemanissier marked this pull request as draft March 14, 2024 13:16
@conan-center-bot

This comment has been minimized.

@ericLemanissier
Copy link
Contributor Author

The build is now finished. You can take a look at the results here

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 6 (2f928f2f58ff5c4a9f6b45a7da4bc77711052827):

  • python_packaging/24.0:
    CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    [...]
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    python_packaging/24.0: Forced build from source
    Installing package: python_packaging/24.0
    Requirements
        python_packaging/24.0 from local cache - Cache
    Packages
        python_packaging/24.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Build
    
    Installing (downloading, building) binaries...
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    python_packaging/24.0: Configuring sources in /home/conan/workspace/prod-v1/bsr/246/befcc/.conan/data/python_packaging/24.0/_/_/source/src
    python_packaging/24.0: 
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    python_packaging/24.0: Building your package in /home/conan/workspace/prod-v1/bsr/246/befcc/.conan/data/python_packaging/24.0/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    python_packaging/24.0: Generator txt created conanbuildinfo.txt
    python_packaging/24.0: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    python_packaging/24.0: Calling build()
    python_packaging/24.0: Package '5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9' built
    python_packaging/24.0: Build folder /home/conan/workspace/prod-v1/bsr/246/befcc/.conan/data/python_packaging/24.0/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/build-release
    python_packaging/24.0: Generated conaninfo.txt
    python_packaging/24.0: Generated conanbuildinfo.txt
    python_packaging/24.0: Generating the package
    python_packaging/24.0: Package folder /home/conan/workspace/prod-v1/bsr/246/befcc/.conan/data/python_packaging/24.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    python_packaging/24.0: Calling package()
    python_packaging/24.0: Copied 1 file: LICENSE
    python_packaging/24.0: Copied 14 '.py' files
    python_packaging/24.0: Copied 1 '.typed' file: py.typed
    [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
    [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
    [HOOK - conan-center.py] post_package(): [STATIC ARTIFACTS (KB-H074)] OK
    [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK
    [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
    [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK
    [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK
    [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK
    [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK
    [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Empty package (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014-MATCHING-CONFIGURATION) 
    [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Linux, compiler=gcc (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014-MATCHING-CONFIGURATION) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    

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.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 6 (2f928f2f58ff5c4a9f6b45a7da4bc77711052827):

  • python_packaging/24.0:
    An unexpected error happened and has been reported

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.



class PackageConan(ConanFile):
name = "python_packaging"
Copy link
Contributor

Choose a reason for hiding this comment

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

We should have consistence naming. #23098 used a hypen instead of underscore.
Personally, I would prefer a hypen. It is also closer to how we handle double package names.

Copy link
Contributor

Choose a reason for hiding this comment

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

I used a hyphen to stay as close as possible to how Linux distributions manage Python packages, fyi.



class PackageConan(ConanFile):
name = "python_packaging"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
name = "python_packaging"
name = "python-packaging"

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.

Python packages are not allowed in CCI for now. Still under discussion with Conan team to have a better insight. Thank you for investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants