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

Some 2.0 modernizations to Cpython #18064

Closed
wants to merge 2 commits into from

Conversation

memsharded
Copy link
Member

Specify library name and version: cpython


@conan-center-bot

This comment has been minimized.

@tannerbitz
Copy link
Contributor

@memsharded would you like some help with this? I would be happy to help get the cpython recipe working with conanv2

@samuel-emrys
Copy link
Contributor

samuel-emrys commented Jul 15, 2023

@memsharded would you like some help with this? I would be happy to help get the cpython recipe working with conanv2

@tannerbitz If you'd like to help, it would be useful to help make sure all of the dependencies have been migrated to conan 2 - I'm not sure how far this recipe will get without them.

@ghost
Copy link

ghost commented Jul 15, 2023

I detected other pull requests that are modifying cpython/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.

@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 ❌

Failure in build 2 (75028f27191de181558025427280f8970c0767ba):

  • cpython/3.10.0@:
    Error running command conan info cpython/3.10.0@#9099355cbff0035a9d49a781c59de855 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=False
    
    ...
    WARN: tcl/8.6.10: requirement zlib/1.2.13 overridden by tk/8.6.10 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement expat/2.5.0 overridden by tk/8.6.10 to expat/2.4.1 
    WARN: freetype/2.13.0: requirement zlib/[>=1.2 <1.3] overridden by fontconfig/2.13.93 to zlib/1.2.11 
    WARN: libpng/1.6.40: requirement zlib/1.2.13 overridden by freetype/2.13.0 to zlib/1.2.11 
    ERROR: At least two recipes provides the same functionality:
     - 'libuuid' provided by 'libuuid/1.0.3', 'util-linux-libuuid/2.39'
    
  • cpython/3.9.7@:
    Error running command conan info cpython/3.9.7@#450d6989ccac79c9c4a68550c77c6f09 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=False
    
    ...
    WARN: tcl/8.6.10: requirement zlib/1.2.13 overridden by tk/8.6.10 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement expat/2.5.0 overridden by tk/8.6.10 to expat/2.4.1 
    WARN: freetype/2.13.0: requirement zlib/[>=1.2 <1.3] overridden by fontconfig/2.13.93 to zlib/1.2.11 
    WARN: libpng/1.6.40: requirement zlib/1.2.13 overridden by freetype/2.13.0 to zlib/1.2.11 
    ERROR: At least two recipes provides the same functionality:
     - 'libuuid' provided by 'libuuid/1.0.3', 'util-linux-libuuid/2.39'
    
  • cpython/3.7.12@:
    Error running command conan info cpython/3.7.12@#1c862e880cb16e3dec55f4799944cd43 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=False
    
    ...
    WARN: tcl/8.6.10: requirement zlib/1.2.13 overridden by tk/8.6.10 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement expat/2.5.0 overridden by tk/8.6.10 to expat/2.4.1 
    WARN: freetype/2.13.0: requirement zlib/[>=1.2 <1.3] overridden by fontconfig/2.13.93 to zlib/1.2.11 
    WARN: libpng/1.6.40: requirement zlib/1.2.13 overridden by freetype/2.13.0 to zlib/1.2.11 
    ERROR: At least two recipes provides the same functionality:
     - 'libuuid' provided by 'libuuid/1.0.3', 'util-linux-libuuid/2.39'
    
  • cpython/3.8.12@:
    Error running command conan info cpython/3.8.12@#4971d7534be7af90e2d413d1b14e6dfa --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=False
    
    ...
    WARN: tcl/8.6.10: requirement zlib/1.2.13 overridden by tk/8.6.10 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement expat/2.5.0 overridden by tk/8.6.10 to expat/2.4.1 
    WARN: freetype/2.13.0: requirement zlib/[>=1.2 <1.3] overridden by fontconfig/2.13.93 to zlib/1.2.11 
    WARN: libpng/1.6.40: requirement zlib/1.2.13 overridden by freetype/2.13.0 to zlib/1.2.11 
    ERROR: At least two recipes provides the same functionality:
     - 'libuuid' provided by 'libuuid/1.0.3', 'util-linux-libuuid/2.39'
    
  • cpython/2.7.18@:
    Error running command conan info cpython/2.7.18@#52f0ff62c7e7cbf953863a7b54ff00e9 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    cpython:shared=False
    
    ...
    WARN: tcl/8.6.10: requirement zlib/1.2.13 overridden by tk/8.6.10 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement expat/2.5.0 overridden by tk/8.6.10 to expat/2.4.1 
    WARN: freetype/2.13.0: requirement zlib/[>=1.2 <1.3] overridden by fontconfig/2.13.93 to zlib/1.2.11 
    WARN: libpng/1.6.40: requirement zlib/1.2.13 overridden by freetype/2.13.0 to zlib/1.2.11 
    ERROR: At least two recipes provides the same functionality:
     - 'libuuid' provided by 'libuuid/1.0.3', 'util-linux-libuuid/2.39'
    

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 may be required once they are on the v2 ready list

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 2 (75028f27191de181558025427280f8970c0767ba):

  • cpython/3.10.0@:
    Error running command conan export --name cpython --version 3.10.0 recipes/cpython/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py", line 8, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • cpython/3.9.7@:
    Error running command conan export --name cpython --version 3.9.7 recipes/cpython/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py", line 8, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • cpython/3.8.12@:
    Error running command conan export --name cpython --version 3.8.12 recipes/cpython/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py", line 8, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • cpython/3.7.12@:
    Error running command conan export --name cpython --version 3.7.12 recipes/cpython/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py", line 8, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • cpython/2.7.18@:
    Error running command conan export --name cpython --version 2.7.18 recipes/cpython/all/conanfile.py:

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod-v2_cci_PR-18064/recipes/cpython/all/conanfile.py", line 8, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

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.

@ghost ghost mentioned this pull request Sep 1, 2023
3 tasks
@ghost ghost mentioned this pull request Sep 13, 2023
3 tasks
@AndreyMlashkin
Copy link
Contributor

@memsharded , what should be used instead AutoToolsBuildEnvironment?

Also, please consider merging my PR to your draft

@stale
Copy link

stale bot commented Oct 15, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 15, 2023
@AndreyMlashkin
Copy link
Contributor

That's sad :(

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Mar 21, 2024
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