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

cpython: bump dependencies & modernize #10706

Closed
wants to merge 2 commits into from

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented May 9, 2022

Specify library name and version: lib/1.0

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@ghost
Copy link

ghost commented May 9, 2022

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.

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.

LGTM

This was referenced May 12, 2022
@uilianries
Copy link
Member

I just relaunched this PR with those fixed docker images.

@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
Copy link
Collaborator

Failure in build 6 (2f3fe9bc7c2e7dbb0c726da6bedbee8cc311b64b):

  • cpython/3.9.7@:
    CI failed to create some packages (All logs)

    Logs for packageID 26c0f7e94689b05ba3a55495e466e08eb7139548:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=11.0
    os=Macos
    [options]
    cpython:shared=True
    
    [...]
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for the Android API level... not Android
    checking for --with-suffix... 
    checking for case-insensitive build directory... yes
    checking LIBRARY... libpython$(VERSION)$(ABIFLAGS).a
    checking LINKCC... $(PURIFY) $(MAINCC)
    checking EXPORTSYMS... 
    checking for GNU ld... no
    checking for --enable-shared... yes
    checking for --enable-profiling... no
    checking LDLIBRARY... libpython$(LDVERSION).dylib
    checking for ar... ar
    checking for readelf... no
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for a thread-safe mkdir -p... source_subfolder/install-sh -c -d
    checking for --with-pydebug... no
    checking for --with-trace-refs... no
    checking for --with-assertions... no
    checking for --enable-optimizations... no
    checking PROFILE_TASK... -m test --pgo
    checking for --with-lto... no
    checking for llvm-profdata... no
    configure: llvm-profdata found via xcrun: /usr/bin/xcrun llvm-profdata
    checking for -Wextra... yes
    checking whether gcc accepts and needs -fno-strict-aliasing... no
    checking if we can turn off gcc unused result warning... yes
    checking if we can turn off gcc unused parameter warning... yes
    checking if we can turn off gcc missing field initializers warning... yes
    checking if we can turn on gcc mixed sign comparison warning... yes
    checking if we can turn on gcc unreachable code warning... yes
    checking if we can turn on gcc strict-prototypes warning... yes
    checking if we can make implicit function declaration an error in gcc... yes
    checking if we can use visibility in gcc... yes
    checking which compiler should be used... gcc
    checking which MACOSX_DEPLOYMENT_TARGET to use... 11.6
    checking if specified universal architectures work... no
    cpython/3.9.7: 
    configure: WARNING: unrecognized options: --without-gcc
    Configured with: --prefix=/Applications/conan/xcode/11/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/conan/xcode/11/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
    configure: error: check config.log and use the '--with-universal-archs' option
    cpython/3.9.7: ERROR: Package '26c0f7e94689b05ba3a55495e466e08eb7139548' build failed
    cpython/3.9.7: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@7/.conan/data/cpython/3.9.7/_/_/build/26c0f7e94689b05ba3a55495e466e08eb7139548
    ERROR: cpython/3.9.7: Error in build() method, line 429
    	autotools = self._configure_autotools()
    while calling '_configure_autotools', line 264
    	autotools.configure(args=conf_args, configure_dir=self._source_subfolder, build=build)
    	ConanException: Error 1 while executing source_subfolder/configure '--enable-shared=yes' '--with-doc-strings=yes' '--with-pymalloc=yes' '--with-system-expat' '--with-system-ffi' '--enable-optimizations=no' '--with-lto=no' '--with-pydebug=no' '--with-system-libmpdec' '--with-openssl=/Users/jenkins/w/prod/BuildSingleReference@7/.conan/data/openssl/1.1.1o/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47' '--enable-loadable-sqlite-extensions=yes' '--without-gcc' '--with-tcltk-includes=-I/Users/jenkins/w/prod/BuildSingleReference@7/.conan/data/tcl/8.6.10/_/_/package/eb50d18a5a5d59bd0c332464a4c348ab65e353bf/include -I/Users/jenkins/w/prod/BuildSingleReference@7/.conan/data/tk/8.6.10/_/_/package/538d4e45e1936cab65a74f89ce34673f4165eebd/include -I/Users/jenkins/w/prod/BuildSingleReference@7/.conan/data/zlib/1.2.12/_/_/package/f74366f76f700cc6e991285892ad7a23c30e6d47/include' '--with-tcltk-libs=-ltdbcmysql1.1.1 -litcl4.2.0 -litclstub4.2.0 -ltdbcodbc1.1.1 -ltdbcpostgres1.1.1 -ltdbc1.1.1 -ltdbcstub1.1.1 -lthread2.8.5 -lsqlite3.30.1.2 -ltcl8.6 -ltclstub8.6 -ltk8.6 -ltkstub8.6 -lz' '--prefix=/Users/jenkins/w/prod/BuildSingleReference@7/.conan/data/cpython/3.9.7/_/_/package/26c0f7e94689b05ba3a55495e466e08eb7139548' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' 
    
  • cpython/3.10.0@:
    Didn't run or was cancelled before finishing

  • cpython/3.8.12@:
    Didn't run or was cancelled before finishing

  • cpython/3.7.12@:
    Didn't run or was cancelled before finishing

  • cpython/2.7.18@:
    Didn't run or was cancelled before finishing


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.

@stale
Copy link

stale bot commented Jul 30, 2022

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 Jul 30, 2022
@ghost ghost mentioned this pull request Aug 10, 2022
4 tasks
@ghost ghost mentioned this pull request Aug 23, 2022
4 tasks
@stale
Copy link

stale bot commented Sep 8, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Sep 8, 2022
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.

4 participants